summaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* Use src.opts.mk in preference to bsd.own.mk except where we need stuffWarner Losh2014-05-061-0/+51
* Simplify reading pw.conf(5) by using getline(3)Baptiste Daroussin2014-04-222-0/+504
* Fix pw(8) deletion of group "username" on userdel even if group "username"Devin Teske2014-03-131-1/+9
* Part 2 of bug 187310.. had to commit separately due to local confusion.Julian Elischer2014-03-061-15/+21
* Stop pw(8) from segfaulting when given certain inputJulian Elischer2014-03-061-6/+13
* mdoc: minor paragraph fixes.Joel Dahl2014-02-081-0/+485
* libutil: Use O_CLOEXEC for internal file descriptors from open().Jilles Tjoelker2013-08-281-0/+819
* Fall back to sha512 if passwd_format is not set.Dag-Erling Smørgrav2013-07-041-1/+1
* There is no reason to disallow setting the password or account expiryDag-Erling Smørgrav2013-07-031-4/+0
* Fix -Wunsequenced warningTim Kientzle2013-06-291-1/+1
* mdoc sweepJoel Dahl2013-05-131-0/+318
* commit correct tested fix for gr_util.cDiane Bruce2013-03-091-46/+58
* Cleanup gr_add() so it does not leak memDiane Bruce2013-03-072-53/+86
* Prevent a null pointer dereference in pw userdel when deletingDaniel Eischen2013-02-011-1/+1
* IFC @ r245509Neel Natu2013-01-172-19/+17
|\
| * Remove unused variablesEitan Adler2013-01-161-2/+0
| * libutil: fix typo in comment for gr_fini.Mateusz Guzik2013-01-131-1/+1
| * libutil: utilize strsep instead of strcat in a loop in gr_makeMateusz Guzik2013-01-131-6/+10
| * libutil: move group_line_format into the scop of its only user.Mateusz Guzik2013-01-131-2/+1
| * libutil: eliminate 'found' variable in gr_equalMateusz Guzik2013-01-131-8/+5
* | IFC @ r245178Neel Natu2013-01-091-0/+1
|\|
| * pw: free group returned by gr_addMateusz Guzik2013-01-061-0/+1
* | IFC @ r244983.Neel Natu2013-01-0410-230/+362
|\|
| * Simplify pointing dst after the end of all the gr_mem pointers in newgrBaptiste Daroussin2012-12-281-2/+1
| * errno = ENOMEM was supposed to be removed not return (NULL);Baptiste Daroussin2012-12-281-1/+1
| * malloc() sets errno to ENOMEM already.Baptiste Daroussin2012-12-281-5/+1
| * Do not leave parts of the new group uninitialized in gr_dup().Baptiste Daroussin2012-12-281-0/+4
| * avoid arithmetic on uintptr_tBaptiste Daroussin2012-12-271-1/+1
| * cast to uintptr_t to properly calculate offsetBaptiste Daroussin2012-12-271-1/+1
| * Add O_CLOEXEC to flopenBaptiste Daroussin2012-12-272-2/+2
| * Simplify vnextgrent and vnextpwent reusing pw_scan and gr_scan from libutil.Baptiste Daroussin2012-12-271-169/+67
| * gr_dup: simplify duplication of groupBaptiste Daroussin2012-12-271-21/+20
| * - Clean up previous gr_add use malloc instead of callocBaptiste Daroussin2012-12-272-5/+4
| * Fix a regression in "pw group show" introduced r242349:Baptiste Daroussin2012-12-271-1/+1
| * Simplify the code by using the new gr_add functionBaptiste Daroussin2012-12-271-15/+9
| * New gr_add function to provide a clean and safe method to append a new memberBaptiste Daroussin2012-12-272-0/+42
| * Use flopen(3) instead of open(2) + flock(2)Baptiste Daroussin2012-12-272-9/+4
| * Simplify copying of group members by using memcpyBaptiste Daroussin2012-12-261-2/+1
| * Fix off-by-one error in memory allocation: j entries, one new and a nullBaptiste Daroussin2012-12-261-1/+1
| * In case of the deletion of a user those whole database has to be regenerated,Baptiste Daroussin2012-12-261-1/+5
| * Fix creating a user and adding it to a groupBaptiste Daroussin2012-12-261-7/+8
| * Simplify string duplication: use strdup instead of malloc + strcpyEitan Adler2012-12-051-6/+5
| * Avoid overflowing the file bufferEitan Adler2012-12-051-0/+75
| * Use strdup instead of malloc + strcpyEitan Adler2012-12-051-6/+4
| * Avoid overflow of file bufferEitan Adler2012-12-051-1/+1
| * Remove useless check for NULL prior to free.Eitan Adler2012-12-052-2/+132
* | IFC @r243836Neel Natu2012-12-042-0/+5
|\|
| * In NIS mode first chmod(2) the temporary file and is succeed then rename(2)Baptiste Daroussin2012-11-201-2/+2
| * only rename(2) after chmod(2) has succeedBaptiste Daroussin2012-11-201-7/+3
| * Correctly set the password file mode after renaming in NIS modeBaptiste Daroussin2012-11-201-0/+2