| Commit message (Collapse) | Author | Age | Files | Lines |
|\ |
|
| |
| |
| |
| | |
Remove now unused PWBUFSZ define
|
| |
| |
| |
| | |
While here check the return of calloc(3)
|
| |
| |
| |
| |
| | |
to strndup(3) duplicated the same mistake, actually strdup(3) is good enough
to allocate the new string.
|
| |
| |
| |
| | |
Check the return of strndup
|
| | |
|
| |
| |
| |
| | |
pwdb_check and simplify it accordingly
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
Remove useless "else"
|
| | |
|
| |
| |
| |
| | |
This reduces the depth of the if statements and improves clarity of the code
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
On reinstall (overwrite) install(1) does not handle chflags
Reported by: ian
|
| |
| |
| |
| |
| |
| | |
This allows to preserve schg when installed with -DNO_ROOT
MFC after: 1 week
|
| |\
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
manpages, libraries, and binaries
MFC after: 1 week
X-MFC with: r278135
Sponsored by: EMC / Isilon Storage Division
|
| | |
| | |
| | |
| | |
| | |
| | | |
uid and gid are never and should never be negative. The pw(8) manpage clearly
states the -u and -g arguments are for uids/gids, hence using negative values is
abusing a bug in former versions of pw(8)
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
was longer than the second's. There is no need to compute and compare the
member list lengths in a separate pass, since we now just return false when
comparing member names if the list lengths are not equal.
MFC after: 2 weeks
|
| | |
| | |
| | |
| | |
| | | |
PR: 196514
MFC after: 1 week
|
| | |
| | |
| | |
| | | |
Reduce overlinking
|
| |/
| |
| |
| | |
Reviewed by: bapt
|
|\| |
|
| |
| |
| |
| |
| |
| |
| | |
Add a regression test about it
PR: 194971
Submitted by: Freddy DISSAUX <bugzilla@dsx.bsdsx.fr>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add a regression test to pw(8) because the bug was discovered via using:
pw groupmod
PR: 187189
Reported by: mcdouga9@egr.msu.edu
Tested by: mcdouga9@egr.msu.edu
Patch by: Marc de la Gueronniere
|
| |
| |
| |
| |
| |
| | |
Check the uid passed is actually a number as early as possible
MFC after: 1 week
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Check that the -g argument is actually a number, if not report an error.
This argument is converted without checking with atoi(3) later so without this
check it converts any alpha entries into 0 meaning it deletes the group wheel
Add a regression test about it
PR: 90114
Reported by: bkoenig@cs.tu-berlin.de
MFC after: 1 week
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The user was perperly adding the to different groups from "list" but was not
removed from the other groups it could have belong to.
While here add a regression test about this bug
PR: 185666
Reported by: sub.mesa@gmail.com
MFC after: 1 week
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
In that case get the group information using the new name.
Add a regression test about this bug
PR: 193704
Reported by: az
|
| |
| |
| |
| |
| |
| | |
in r252688.
MFC after: 3 days
|
| |
| |
| |
| |
| | |
Reviewed by: will
MFC after: 1 month
|
| |\
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This change consists of two merges from projects/zfsd/head along with the
addition of an ATF test case for the new functionality.
sbin/devd/tests/Makefile
sbin/devd/tests/client_test.c
Add ATF test cases for reading events from both devd socket types.
r266519:
sbin/devd/devd.8
sbin/devd/devd.cc
Create a new socket, of type SOCK_SEQPACKET, for communicating with
clients. SOCK_SEQPACKET sockets preserve record boundaries,
simplying code in the client. The old SOCK_STREAM socket is retained
for backwards-compatibility with existing clients.
r269993:
sbin/devd/devd.8
Fix grammar bug.
CR: https://reviews.freebsd.org/rS266519
MFC after: 5 days
Sponsored by: Spectra Logic
|
| | |\ |
|
| | |\ \ |
|
| | |\ \ \
| | | | | |
| | | | | |
| | | | | | |
Approved by: ken (mentor)
|
| | |\ \ \ \ |
|
| | |\ \ \ \ \ |
|
| | |\ \ \ \ \ \ |
|
| | |\ \ \ \ \ \ \ |
|
| | |\ \ \ \ \ \ \ \ |
|
| | |\ \ \ \ \ \ \ \ \ |
|
| | |\ \ \ \ \ \ \ \ \ \ |
|
| | |\ \ \ \ \ \ \ \ \ \ \ |
|
| | |\ \ \ \ \ \ \ \ \ \ \ \ |
|
| | | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | |
Obtained from: OpenBSD (CVS rev. 1.7)
MFC after: 3 days
|
|\| | | | | | | | | | | | | | |
|