| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Merge from head | Simon J. Gerraty | 2014-05-08 | 1 | -0/+51 |
| |\ | |||||
| | * | Use src.opts.mk in preference to bsd.own.mk except where we need stuff | Warner Losh | 2014-05-06 | 1 | -0/+51 |
| | | | | | | | | | from the latter. | ||||
| * | | Merge head | Simon J. Gerraty | 2014-04-28 | 5 | -21/+1031 |
| |\| | |||||
| * | | Merge head | Simon J. Gerraty | 2014-04-27 | 0 | -0/+0 |
| |\| | |||||
| | * | Simplify reading pw.conf(5) by using getline(3) | Baptiste Daroussin | 2014-04-22 | 2 | -0/+504 |
| | | | |||||
| | * | Fix pw(8) deletion of group "username" on userdel even if group "username" | Devin Teske | 2014-03-13 | 1 | -1/+9 |
| | | | | | | | | | | | | | | | | | | | | | | | | | is not associated with user "username". E.g., user "foo" has primary group "wheel" and is unassociated with group "foo", yet userdel would delete the group "foo" when deleting user "foo" (despite the fact that user "foo" is not associated with group "foo" in any way). Patch committed with minor style(9) changes. PR: bin/169471 Submitted by: Alexander Pyhalov <apyhalov@gmail.com> | ||||
| | * | Part 2 of bug 187310.. had to commit separately due to local confusion. | Julian Elischer | 2014-03-06 | 1 | -15/+21 |
| | | | | | | | | | | | | | | | | | Don't let pw crash when give certain input. PR: 187310 Submitted by: Kim Shrier MFC after: 1 week | ||||
| | * | Stop pw(8) from segfaulting when given certain input | Julian Elischer | 2014-03-06 | 1 | -6/+13 |
| | | | | | | | | | | | | | | | PR:187310 Submitted by: Kim Shrier Obtained from: bug MFC after: 1 week | ||||
| | * | mdoc: minor paragraph fixes. | Joel Dahl | 2014-02-08 | 1 | -0/+485 |
| | | | |||||
| * | | Merge from head | Simon J. Gerraty | 2013-09-05 | 3 | -6/+1139 |
| |\| | |||||
| | * | 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 |
| | | | | | | | | | MFC after: 3 days | ||||
| | * | There is no reason to disallow setting the password or account expiry | Dag-Erling Smørgrav | 2013-07-03 | 1 | -4/+0 |
| | | | | | | | | | | | | | date to the current date. MFC after: 3 days | ||||
| | * | Fix -Wunsequenced warning | Tim Kientzle | 2013-06-29 | 1 | -1/+1 |
| | | | | | | | | | Submitted by: dt71@gmx.com | ||||
| | * | mdoc sweep | Joel Dahl | 2013-05-13 | 1 | -0/+318 |
| | | | |||||
| * | | sync from head | Simon J. Gerraty | 2013-04-12 | 2 | -75/+120 |
| |\| | |||||
| | * | commit correct tested fix for gr_util.c | Diane Bruce | 2013-03-09 | 1 | -46/+58 |
| | | | | | | | | | Approved by: theraven | ||||
| | * | Cleanup gr_add() so it does not leak mem | Diane Bruce | 2013-03-07 | 2 | -53/+86 |
| | | | | | | | | | | | | | | | | | | | This is part of ongoing work on sbin/pw M libutil.h M gr_util.c Approved by: theraven | ||||
| * | | Sync with HEAD. | David E. O'Brien | 2013-02-08 | 13 | -250/+691 |
| |\| | |||||
| | * | Prevent a null pointer dereference in pw userdel when deleting | Daniel Eischen | 2013-02-01 | 1 | -1/+1 |
| | | | | | | | | | a user whose group != username. | ||||
| | * | IFC @ r245509 | Neel Natu | 2013-01-17 | 2 | -19/+17 |
| | |\ | |||||
| | | * | Remove unused variables | Eitan Adler | 2013-01-16 | 1 | -2/+0 |
| | | | | | | | | | | | | | | | | Approved by: cperciva MFC After: 3 days | ||||
| | | * | libutil: fix typo in comment for gr_fini. | Mateusz Guzik | 2013-01-13 | 1 | -1/+1 |
| | | | | | | | | | | | | | Submitted by: Christoph Mallon <christoph.mallon gmx.de> | ||||
| | | * | libutil: utilize strsep instead of strcat in a loop in gr_make | Mateusz Guzik | 2013-01-13 | 1 | -6/+10 |
| | | | | | | | | | | | | | Submitted by: Christoph Mallon <christoph.mallon gmx.de> | ||||
| | | * | libutil: move group_line_format into the scop of its only user. | Mateusz Guzik | 2013-01-13 | 1 | -2/+1 |
| | | | | | | | | | | | | | Submitted by: Christoph Mallon <christoph.mallon gmx.de> | ||||
| | | * | libutil: eliminate 'found' variable in gr_equal | Mateusz Guzik | 2013-01-13 | 1 | -8/+5 |
| | | | | | | | | | | | | | Submitted by: Christoph Mallon <christoph.mallon gmx.de> | ||||
| | * | | 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 |
| | | | | | | | | | | | | | | | | Submitted by: pjd Reviewed by: db | ||||
| | | * | errno = ENOMEM was supposed to be removed not return (NULL); | Baptiste Daroussin | 2012-12-28 | 1 | -1/+1 |
| | | | | | | | | | | | | | Submitted by: gcooper | ||||
| | | * | malloc() sets errno to ENOMEM already. | Baptiste Daroussin | 2012-12-28 | 1 | -5/+1 |
| | | | | | | | | | | | | | Submitted by: Christoph Mallon <christoph.mallon@gmx.de> | ||||
| | | * | Do not leave parts of the new group uninitialized in gr_dup(). | Baptiste Daroussin | 2012-12-28 | 1 | -0/+4 |
| | | | | | | | | | | | | | | | | Submitted by: Christoph Mallon <christoph.mallon@gmx.de> Reported by: pjd | ||||
| | | * | avoid arithmetic on uintptr_t | Baptiste Daroussin | 2012-12-27 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | Submitted by: pjd Reviewed by: jilles | ||||
| | | * | cast to uintptr_t to properly calculate offset | Baptiste Daroussin | 2012-12-27 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | Reported by: mdf Submitted by: db | ||||
| | | * | Add O_CLOEXEC to flopen | Baptiste Daroussin | 2012-12-27 | 2 | -2/+2 |
| | | | | | | | | | | | | | Requested by: jilles | ||||
| | | * | 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 |
| | | | | | | | | | | | | | Submitted by: db | ||||
| | | * | - Clean up previous gr_add use malloc instead of calloc | Baptiste Daroussin | 2012-12-27 | 2 | -5/+4 |
| | | | | | | | | | | | | | | | | | | | - Fix tinderbox error Submitted by: db | ||||
| | | * | Fix a regression in "pw group show" introduced r242349: | Baptiste Daroussin | 2012-12-27 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | print a newline after printing each group line. PR: bin/174731 Submitted by: Jan Beich <jbeich@tormail.org> | ||||
| | | * | 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 |
| | | | | | | | | | | | | | | | | | | | into an existing group. Submitted by: db | ||||
| | | * | 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 |
| | | | | | | | | | | | | | Submitted by: Christoph Mallon <christoph.mallon@gmx.de> | ||||
| | | * | Fix off-by-one error in memory allocation: j entries, one new and a null | Baptiste Daroussin | 2012-12-26 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | terminator is j + 2. Submitted by: Christoph Mallon <christoph.mallon@gmx.de> | ||||
| | | * | In case of the deletion of a user those whole database has to be regenerated, | Baptiste Daroussin | 2012-12-26 | 1 | -1/+5 |
| | | | | | | | | | | | | | | | | otherwise the user planned to be deleted remain in the pwd.db while removed from the plain text password file. | ||||
| | | * | Fix creating a user and adding it to a group | Baptiste Daroussin | 2012-12-26 | 1 | -7/+8 |
| | | | | | | | | | | | | | Reported by: "Sam Fourman Jr." <sfourman@gmail.com>, dim | ||||
| | | * | Simplify string duplication: use strdup instead of malloc + strcpy | Eitan Adler | 2012-12-05 | 1 | -6/+5 |
| | | | | | | | | | | | | | | | | | | | Submitted by: db Approved by: cperciva MFC after: 2 weeks | ||||
| | | * | Avoid overflowing the file buffer | Eitan Adler | 2012-12-05 | 1 | -0/+75 |
| | | | | | | | | | | | | | | | | | | | Submitted by: db Approved by: cperciva MFC after: 2 weeks | ||||
| | | * | Use strdup instead of malloc + strcpy | Eitan Adler | 2012-12-05 | 1 | -6/+4 |
| | | | | | | | | | | | | | | | | | | | Submitted by: db Approved by: cperciva MFC after: 2 weeks | ||||
