summaryrefslogtreecommitdiff
path: root/usr.bin/id/id.c
AgeCommit message (Expand)Author
2017-05-30usage and order tweaks from jmcTed Unangst
2017-05-30id -R: make current rdomain more easily accessible to the shellTed Unangst
2015-10-09Change all tame callers to namechange to pledge(2).Theo de Raadt
2015-10-05tame "stdio getpw" right at the top; this runs the whole gamut ofTheo de Raadt
2015-10-05small KNFTheo de Raadt
2015-05-19Add -c flag to display the user's login class. OK espie@Todd C. Miller
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2014-07-14Eliminate a warning from -Wformat=2 by using an additional 'prefix'Philip Guenther
2013-09-06teach id(1) about whoami(1) and groups(1) run modes; removes shell wrappersOkan Demirmen
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2009-10-12source code can fit on a 80-column display, no binary change.Igor Sobrado
2004-11-16-p supports optional [user] arg;Jason McIntyre
2004-07-19use strtonum with proper bounds instead of abusing strtoul; ok millertPeter Valchev
2004-05-31zap unused variables, ok beck@Pedro Martelletto
2004-01-07Proper use of uid_t and did_t types instead of a generic int.Thierry Deval
2003-06-10mostly ansi cleanup; pval okTheo de Raadt
2003-06-03Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ...Todd C. Miller
2001-11-19kill more registersMike Pechkin
2001-07-12first pass at a -Wall cleanupTheo de Raadt
1999-08-18Fix a printf() so `id' and `id username' produce similar output; inspired byAaron Campbell
1999-07-23- Missing newline when euid != ruid; from FreeBSDAaron Campbell
1997-07-25use err(3)Michael Shalayeff
1997-07-25#if __STDC__ --> #ifdef __STDC__Michael Shalayeff
1997-06-30Wall, and seperate uid and gid typesTheo de Raadt
1997-01-15getopt(3) returns -1 when out of args, not EOF, whee!Todd C. Miller
1996-06-26rcsidTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt