#
4624cd84 |
| 16-Sep-2011 |
joerg <joerg@NetBSD.org> |
Use __dead
|
#
10e84421 |
| 12-Apr-2009 |
lukem <lukem@NetBSD.org> |
fix sign-compare issues
|
#
98e5374c |
| 21-Jul-2008 |
lukem <lukem@NetBSD.org> |
Remove the \n and tabs from the __COPYRIGHT() strings. Tweak to use a consistent format.
|
#
02921c77 |
| 16-Nov-2007 |
jmmv <jmmv@NetBSD.org> |
Make syntax checking for id(1), groups(1) and whoami(1) commands stronger so that they conform to what the corresponding manual pages say. This makes all the tests I recently introduced for these ut
Make syntax checking for id(1), groups(1) and whoami(1) commands stronger so that they conform to what the corresponding manual pages say. This makes all the tests I recently introduced for these utilities pass.
pooka thinks this was time well spent ;-)
show more ...
|
#
cacc05fe |
| 16-Nov-2007 |
jmmv <jmmv@NetBSD.org> |
Drop trailing whitespace. On behalf of me.
|
#
db01b090 |
| 07-Jun-2006 |
liamjfoy <liamjfoy@NetBSD.org> |
Print the euid after the gid as demanded by POSIX.
from freebsd rev 1.27 ok christos, joerg
|
#
bc3a1c65 |
| 11-Mar-2006 |
christos <christos@NetBSD.org> |
PR/33054: Nicolas Joly: id(1) sometimes report a duplicate group when a user is not specified. This is because it prints getgid() and getgroups(). If the getgid() is in the getgroups() set, it was pr
PR/33054: Nicolas Joly: id(1) sometimes report a duplicate group when a user is not specified. This is because it prints getgid() and getgroups(). If the getgid() is in the getgroups() set, it was printed twice. This is now detected and the duplicate printing is avoided.
show more ...
|
#
9b39088e |
| 30-Aug-2005 |
drochner <drochner@NetBSD.org> |
id(1) didn't check the return value of getgrouplist(3) and used memory outside the group array in the case that a user is member of more than _SC_NGROUPS_MAX groups. (This is probably also the proble
id(1) didn't check the return value of getgrouplist(3) and used memory outside the group array in the case that a user is member of more than _SC_NGROUPS_MAX groups. (This is probably also the problem behind PR bin/31069 by Zafer Aydogan.) So check the return value and retry with sufficiently allocated memory in case the initial _SC_NGROUPS_MAX groups are not enough.
show more ...
|
#
cd2105a4 |
| 22-Nov-2004 |
peter <peter@NetBSD.org> |
Add some missing static/const.
ok wiz@
|
#
52f94719 |
| 22-Nov-2004 |
peter <peter@NetBSD.org> |
ANSIfy & KNF.
ok wiz@
|
#
3a0b5da4 |
| 22-Nov-2004 |
peter <peter@NetBSD.org> |
Print the correct usage message for whoami(1) and groups(1).
ok wiz@
|
#
e8ec0dc1 |
| 19-Nov-2004 |
peter <peter@NetBSD.org> |
id(1) -p supports optional [user] arg; from matthew clarke via OpenBSD
ok wiz@
|
#
c4aacce6 |
| 21-Oct-2003 |
fvdl <fvdl@NetBSD.org> |
Don't compare an integer to NULL.
|
#
89aaa1bb |
| 07-Aug-2003 |
agc <agc@NetBSD.org> |
Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22365, verified by myself.
|
#
a8ec668d |
| 19-Feb-2001 |
cgd <cgd@NetBSD.org> |
convert to use getprogname()
|
#
7d6cc9c5 |
| 05-Jan-2001 |
itohy <itohy@NetBSD.org> |
Add missing newline of "id -p" output.
|
#
85cbf55d |
| 09-Nov-1999 |
drochner <drochner@NetBSD.org> |
Since our gcc doesn't warn about NULL format strings anymore, we can fix the incorrect err(1, "%s", "") et al. Closes PR bin/7592 by cgd.
|
#
b6fad0e3 |
| 17-Aug-1999 |
mycroft <mycroft@NetBSD.org> |
Make the group list format consistent between `id' and `id userid'. Also make it look like what Solaris and Linux use (comma but no space between items).
|
#
6ccac2c3 |
| 19-Dec-1998 |
christos <christos@NetBSD.org> |
use sysconf to get the max number of groups instead of NGROUPS.
|
#
45671033 |
| 14-Oct-1998 |
thorpej <thorpej@NetBSD.org> |
Make this compile again, and fix some whitespace lossage.
|
#
a6e937b0 |
| 14-Oct-1998 |
wsanchez <wsanchez@NetBSD.org> |
Replace groups and whoami sh scripts with hard links to id.
|
#
7713adc8 |
| 12-Oct-1998 |
erh <erh@NetBSD.org> |
Add "-p" usage line.
|
#
f670fa10 |
| 25-Aug-1998 |
ross <ross@NetBSD.org> |
Add { and } to shut up egcs. Reformat the more questionable code.
|
#
e8ca1c7c |
| 19-Oct-1997 |
lukem <lukem@NetBSD.org> |
getopt returns -1 not EOF
|
#
f371ce2c |
| 19-Oct-1997 |
lukem <lukem@NetBSD.org> |
WARNSify, fix .Nm usage, deprecate register, use err() from <err.h>
|