History log of /src/usr.bin/id/id.c |
Revision | | Date | Author | Comments |
1.32 |
| 16-Sep-2011 |
joerg | Use __dead
|
1.31 |
| 12-Apr-2009 |
lukem | fix sign-compare issues
|
1.30 |
| 21-Jul-2008 |
lukem | branches: 1.30.6; Remove the \n and tabs from the __COPYRIGHT() strings. Tweak to use a consistent format.
|
1.29 |
| 16-Nov-2007 |
jmmv | branches: 1.29.8; 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 ;-)
|
1.28 |
| 16-Nov-2007 |
jmmv | Drop trailing whitespace. On behalf of me.
|
1.27 |
| 07-Jun-2006 |
liamjfoy | branches: 1.27.10; Print the euid after the gid as demanded by POSIX.
from freebsd rev 1.27 ok christos, joerg
|
1.26 |
| 11-Mar-2006 |
christos | branches: 1.26.2; 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.
|
1.25 |
| 30-Aug-2005 |
drochner | 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.
|
1.24 |
| 22-Nov-2004 |
peter | branches: 1.24.2; Add some missing static/const.
ok wiz@
|
1.23 |
| 22-Nov-2004 |
peter | ANSIfy & KNF.
ok wiz@
|
1.22 |
| 22-Nov-2004 |
peter | Print the correct usage message for whoami(1) and groups(1).
ok wiz@
|
1.21 |
| 19-Nov-2004 |
peter | id(1) -p supports optional [user] arg; from matthew clarke via OpenBSD
ok wiz@
|
1.20 |
| 21-Oct-2003 |
fvdl | Don't compare an integer to NULL.
|
1.19 |
| 07-Aug-2003 |
agc | Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22365, verified by myself.
|
1.18 |
| 19-Feb-2001 |
cgd | convert to use getprogname()
|
1.17 |
| 05-Jan-2001 |
itohy | Add missing newline of "id -p" output.
|
1.16 |
| 09-Nov-1999 |
drochner | 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.
|
1.15 |
| 17-Aug-1999 |
mycroft | branches: 1.15.4; 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).
|
1.14 |
| 19-Dec-1998 |
christos | branches: 1.14.2; use sysconf to get the max number of groups instead of NGROUPS.
|
1.13 |
| 14-Oct-1998 |
thorpej | Make this compile again, and fix some whitespace lossage.
|
1.12 |
| 14-Oct-1998 |
wsanchez | Replace groups and whoami sh scripts with hard links to id.
|
1.11 |
| 12-Oct-1998 |
erh | Add "-p" usage line.
|
1.10 |
| 25-Aug-1998 |
ross | Add { and } to shut up egcs. Reformat the more questionable code.
|
1.9 |
| 19-Oct-1997 |
lukem | getopt returns -1 not EOF
|
1.8 |
| 19-Oct-1997 |
lukem | WARNSify, fix .Nm usage, deprecate register, use err() from <err.h>
|
1.7 |
| 28-Sep-1995 |
perry | Sync with 4.4BSD-Lite2
|
1.6 |
| 06-Oct-1994 |
mycroft | Fix RCS id format.
|
1.5 |
| 05-May-1994 |
cgd | update
|
1.4 |
| 01-Apr-1994 |
jtc | Getgroup's second argument is now a gid_t ptr.
|
1.3 |
| 09-Dec-1993 |
cgd | fix from piero@strider.st.dsi.unimi.it (Piero Serini) to get "id <login>" to dtrt with primary group name.
|
1.2 |
| 01-Aug-1993 |
mycroft | Add RCS identifiers.
|
1.1 |
| 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
1.1.1.4 |
| 28-Sep-1995 |
perry | imported from 44lite2
|
1.1.1.3 |
| 05-May-1994 |
cgd | oops
|
1.1.1.2 |
| 05-May-1994 |
cgd | new 'id'
|
1.1.1.1 |
| 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
1.14.2.1 |
| 09-Oct-1999 |
cgd | pull up rev 1.15 from trunk (requested by mycroft): Fix inconsistent format between `id' and `id userid'.
|
1.15.4.1 |
| 27-Dec-1999 |
wrstuden | Pull up to last week's -current.
|
1.24.2.1 |
| 12-Sep-2005 |
tron | Pull up following revision(s) (requested by drochner in ticket #772): usr.bin/id/id.c: revision 1.25 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.
|
1.26.2.1 |
| 19-Jun-2006 |
chap | Sync with head.
|
1.27.10.1 |
| 09-Jan-2008 |
matt | sync with HEAD
|
1.29.8.1 |
| 18-Sep-2008 |
wrstuden | Sync with wrstuden-revivesa-base-2.
|
1.30.6.1 |
| 13-May-2009 |
jym | Sync with HEAD.
Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
|