Commit message (Expand) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | | | | | | | | | | Stop pw(8) from segfaulting when given certain input | Julian Elischer | 2014-03-06 | 1 | -6/+13 | |
* | | | | | | | | | | | | mdoc: minor paragraph fixes. | Joel Dahl | 2014-02-08 | 1 | -0/+485 | |
| |_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | ||||||
* | | | | | | | | | | | libutil: Use O_CLOEXEC for internal file descriptors from open(). | Jilles Tjoelker | 2013-08-28 | 1 | -0/+819 | |
| |_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | ||||||
* | | | | | | | | | | Fall back to sha512 if passwd_format is not set. | Dag-Erling Smørgrav | 2013-07-04 | 1 | -1/+1 | |
* | | | | | | | | | | There is no reason to disallow setting the password or account expiry | Dag-Erling Smørgrav | 2013-07-03 | 1 | -4/+0 | |
* | | | | | | | | | | Fix -Wunsequenced warning | Tim Kientzle | 2013-06-29 | 1 | -1/+1 | |
* | | | | | | | | | | mdoc sweep | Joel Dahl | 2013-05-13 | 1 | -0/+318 | |
* | | | | | | | | | | commit correct tested fix for gr_util.c | Diane Bruce | 2013-03-09 | 1 | -46/+58 | |
* | | | | | | | | | | Cleanup gr_add() so it does not leak mem | Diane Bruce | 2013-03-07 | 2 | -53/+86 | |
| |_|_|_|_|_|_|_|/ |/| | | | | | | | | ||||||
* | | | | | | | | | Prevent a null pointer dereference in pw userdel when deleting | Daniel Eischen | 2013-02-01 | 1 | -1/+1 | |
* | | | | | | | | | IFC @ r245509 | Neel Natu | 2013-01-17 | 2 | -19/+17 | |
|\ \ \ \ \ \ \ \ \ | ||||||
| * | | | | | | | | | Remove unused variables | Eitan Adler | 2013-01-16 | 1 | -2/+0 | |
| * | | | | | | | | | libutil: fix typo in comment for gr_fini. | Mateusz Guzik | 2013-01-13 | 1 | -1/+1 | |
| * | | | | | | | | | libutil: utilize strsep instead of strcat in a loop in gr_make | Mateusz Guzik | 2013-01-13 | 1 | -6/+10 | |
| * | | | | | | | | | libutil: move group_line_format into the scop of its only user. | Mateusz Guzik | 2013-01-13 | 1 | -2/+1 | |
| * | | | | | | | | | libutil: eliminate 'found' variable in gr_equal | Mateusz Guzik | 2013-01-13 | 1 | -8/+5 | |
* | | | | | | | | | | IFC @ r245178 | Neel Natu | 2013-01-09 | 1 | -0/+1 | |
|\| | | | | | | | | | ||||||
| * | | | | | | | | | pw: free group returned by gr_add | Mateusz Guzik | 2013-01-06 | 1 | -0/+1 | |
* | | | | | | | | | | IFC @ r244983. | Neel Natu | 2013-01-04 | 10 | -230/+362 | |
|\| | | | | | | | | | ||||||
| * | | | | | | | | | Simplify pointing dst after the end of all the gr_mem pointers in newgr | Baptiste Daroussin | 2012-12-28 | 1 | -2/+1 | |
| * | | | | | | | | | errno = ENOMEM was supposed to be removed not return (NULL); | Baptiste Daroussin | 2012-12-28 | 1 | -1/+1 | |
| * | | | | | | | | | malloc() sets errno to ENOMEM already. | Baptiste Daroussin | 2012-12-28 | 1 | -5/+1 | |
| * | | | | | | | | | Do not leave parts of the new group uninitialized in gr_dup(). | Baptiste Daroussin | 2012-12-28 | 1 | -0/+4 | |
| * | | | | | | | | | avoid arithmetic on uintptr_t | Baptiste Daroussin | 2012-12-27 | 1 | -1/+1 | |
| * | | | | | | | | | cast to uintptr_t to properly calculate offset | Baptiste Daroussin | 2012-12-27 | 1 | -1/+1 | |
| * | | | | | | | | | Add O_CLOEXEC to flopen | Baptiste Daroussin | 2012-12-27 | 2 | -2/+2 | |
| * | | | | | | | | | Simplify vnextgrent and vnextpwent reusing pw_scan and gr_scan from libutil. | Baptiste Daroussin | 2012-12-27 | 1 | -169/+67 | |
| * | | | | | | | | | gr_dup: simplify duplication of group | Baptiste Daroussin | 2012-12-27 | 1 | -21/+20 | |
| * | | | | | | | | | - Clean up previous gr_add use malloc instead of calloc | Baptiste Daroussin | 2012-12-27 | 2 | -5/+4 | |
| * | | | | | | | | | Fix a regression in "pw group show" introduced r242349: | Baptiste Daroussin | 2012-12-27 | 1 | -1/+1 | |
| * | | | | | | | | | Simplify the code by using the new gr_add function | Baptiste Daroussin | 2012-12-27 | 1 | -15/+9 | |
| * | | | | | | | | | New gr_add function to provide a clean and safe method to append a new member | Baptiste Daroussin | 2012-12-27 | 2 | -0/+42 | |
| * | | | | | | | | | Use flopen(3) instead of open(2) + flock(2) | Baptiste Daroussin | 2012-12-27 | 2 | -9/+4 | |
| * | | | | | | | | | Simplify copying of group members by using memcpy | Baptiste Daroussin | 2012-12-26 | 1 | -2/+1 | |
| * | | | | | | | | | Fix off-by-one error in memory allocation: j entries, one new and a null | Baptiste Daroussin | 2012-12-26 | 1 | -1/+1 | |
| * | | | | | | | | | In case of the deletion of a user those whole database has to be regenerated, | Baptiste Daroussin | 2012-12-26 | 1 | -1/+5 | |
| * | | | | | | | | | Fix creating a user and adding it to a group | Baptiste Daroussin | 2012-12-26 | 1 | -7/+8 | |
| * | | | | | | | | | Simplify string duplication: use strdup instead of malloc + strcpy | Eitan Adler | 2012-12-05 | 1 | -6/+5 | |
| * | | | | | | | | | Avoid overflowing the file buffer | Eitan Adler | 2012-12-05 | 1 | -0/+75 | |
| * | | | | | | | | | Use strdup instead of malloc + strcpy | Eitan Adler | 2012-12-05 | 1 | -6/+4 | |
| * | | | | | | | | | Avoid overflow of file buffer | Eitan Adler | 2012-12-05 | 1 | -1/+1 | |
| * | | | | | | | | | Remove useless check for NULL prior to free. | Eitan Adler | 2012-12-05 | 2 | -2/+132 | |
| | |_|_|_|_|_|_|/ | |/| | | | | | | | ||||||
* | | | | | | | | | IFC @r243836 | Neel Natu | 2012-12-04 | 2 | -0/+5 | |
|\| | | | | | | | | ||||||
| * | | | | | | | | In NIS mode first chmod(2) the temporary file and is succeed then rename(2) | Baptiste Daroussin | 2012-11-20 | 1 | -2/+2 | |
| * | | | | | | | | only rename(2) after chmod(2) has succeed | Baptiste Daroussin | 2012-11-20 | 1 | -7/+3 | |
| * | | | | | | | | Correctly set the password file mode after renaming in NIS mode | Baptiste Daroussin | 2012-11-20 | 1 | -0/+2 | |
| * | | | | | | | | change mode the group file to 0644 after a successfull rename(2) | Baptiste Daroussin | 2012-11-20 | 1 | -1/+8 | |
* | | | | | | | | | IFC @ r243164 | Neel Natu | 2012-11-17 | 1 | -0/+305 | |
|\| | | | | | | | | ||||||
| * | | | | | | | | Avoid possible null deref if ypclnt_new returns null | Eitan Adler | 2012-11-15 | 1 | -0/+305 | |
* | | | | | | | | | IFC @ r242684 | Neel Natu | 2012-11-11 | 15 | -15/+2510 | |
|\| | | | | | | | |