Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-11-04 | Ignore extra groups that don't fit in the buffer passed to getgrouplist(3) | Jeremie Courreges-Anglas | |
Our kernel supports 16 groups (NGROUPS_MAX), but nothing prevents an admin from adding a user to more groups. With that tweak we'll keep on ignoring them instead of potentially reading past the buffer passed to getgrouplist(3). That behavior is explicitely described in initgroups(3). ok millert@ gilles@ | |||
2023-05-30 | fail when an argument is given on 'id -R' | Omar Polo | |
from Lucas (lucas [at] sexy [dot] is). ok millert@ | |||
2022-12-04 | userspace: remove vestigial '?' cases from top-level getopt(3) loops | Scott Soule Cheloha | |
getopt(3) returns '?' when it encounters a flag not present in the in the optstring or if a flag is missing its option argument. We can handle this case with the "default" failure case with no loss of legibility. Hence, remove all the redundant "case '?':" lines. Prompted by dlg@. With help from dlg@ and millert@. Link: https://marc.info/?l=openbsd-tech&m=167011979726449&w=2 ok naddy@ millert@ dlg@ | |||
2022-07-25 | If a command or interface first appeared in PWB/UNIX, UNIX System III or | Jonathan Gray | |
UNIX System V mention it. Only do so in manual pages with a pre-existing HISTORY section. Prompted by the comparison of System V and BSD commands and interfaces in Sun's "System V Enhancements Overview" document. checked against manuals on bitsavers, TUHS archive and CSRG archive CDs ok jmc@ schwarze@ | |||
2017-05-30 | usage and order tweaks from jmc | Ted Unangst | |
2017-05-30 | id -R: make current rdomain more easily accessible to the shell | Ted Unangst | |
ok benno deraadt | |||
2015-10-09 | Change all tame callers to namechange to pledge(2). | Theo de Raadt | |
2015-10-05 | tame "stdio getpw" right at the top; this runs the whole gamut of | Theo de Raadt | |
getpw/gr type functions allowed in that set. ok doug | |||
2015-10-05 | small KNF | Theo de Raadt | |
2015-05-19 | Add -c flag to display the user's login class. OK espie@ | Todd C. Miller | |
2015-01-16 | Replace <sys/param.h> with <limits.h> and other less dirty headers where | Theo de Raadt | |
possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol) | |||
2014-07-14 | Eliminate a warning from -Wformat=2 by using an additional 'prefix' | Philip Guenther | |
variable instead of using a variable format string for printf | |||
2013-09-06 | teach id(1) about whoami(1) and groups(1) run modes; removes shell wrappers | Okan Demirmen | |
OK millert@ | |||
2012-01-15 | Document what remains of the 2BSD heritage. | Ingo Schwarze | |
All facts found on the CSRG CD 1 in the 2bsd directory. Feedback and ok jmc@, ok sobrado@. Note the large number of 3BSD -> 2BSD changes. Kirk McKusick asked Cynthia Livingston (cael@, of USENIX, who converted most manuals from man(7) to mdoc(7) for the 4.3BSD-Net/2 release and added lots of historical information around that time) what happened in this respect, and she answered that she often wrote "appeared in 3BSD" when she was unsure of when a utility was added. Thanks to Kirk and Cynthia for that clarification. | |||
2010-09-03 | add an EXIT STATUS section for /usr/bin; | Jason McIntyre | |
2009-10-28 | rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and | Theo de Raadt | |
unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms | |||
2009-10-12 | source code can fit on a 80-column display, no binary change. | Igor Sobrado | |
2009-02-08 | bump the posix reference in STANDARDS to IEEE Std 1003.1-2008, with a few | Jason McIntyre | |
updates to follow; | |||
2009-01-04 | replace hardcoded exit values with .Ex macros; | Igor Sobrado | |
ok jmc@ | |||
2007-05-31 | convert to new .Dd format; | Jason McIntyre | |
2007-05-30 | - use a consistent text for STANDARDS | Jason McIntyre | |
- note which options are extensions to POSIX | |||
2004-11-16 | -p supports optional [user] arg; | Jason McIntyre | |
from matthew clarke; | |||
2004-07-19 | use strtonum with proper bounds instead of abusing strtoul; ok millert | Peter Valchev | |
2004-05-31 | zap unused variables, ok beck@ | Pedro Martelletto | |
2004-01-07 | Proper use of uid_t and did_t types instead of a generic int. | Thierry Deval | |
Lovingly baited by deraadt@. Ok himself, otto@ | |||
2003-07-14 | .Ic Nm -> .Ic | Jason McIntyre | |
2003-06-10 | mostly ansi cleanup; pval ok | Theo de Raadt | |
2003-06-03 | Remove the advertising clause in the UCB license which Berkeley | Todd C. Miller | |
rescinded 22 July 1999. Proofed by myself and Theo. | |||
2002-02-16 | Part one of userland __P removal. Done with a simple regexp with some minor ↵ | Todd C. Miller | |
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically. | |||
2001-11-19 | kill more registers | Mike Pechkin | |
millert@ ok | |||
2001-07-12 | first pass at a -Wall cleanup | Theo de Raadt | |
2001-06-20 | use exec | Paul Janzen | |
2001-06-05 | Remove unnecessary .Nm arguments; mpech@prosoft.org.lv | Aaron Campbell | |
2001-03-27 | Get rid of bogus .UC macro, likely an artifact of old mdoc conversions. | Aaron Campbell | |
2000-03-07 | Various cleanup. | Aaron Campbell | |
2000-03-04 | In Unix land we prefer "whitespace" to "white space" or "white-space". At | Aaron Campbell | |
least, this is the impression I get from looking at a lot of Perl docs. | |||
1999-09-25 | use exec | Paul Janzen | |
1999-08-18 | Fix a printf() so `id' and `id username' produce similar output; inspired by | Aaron Campbell | |
NetBSD, millert@ok. | |||
1999-07-23 | - Missing newline when euid != ruid; from FreeBSD | Aaron Campbell | |
- Also, sync the usage() to the man page (add -p syntax). | |||
1999-07-07 | The proper order of the ``introductory'' macros in a man page is .Dd/.Dt/.Os. | Aaron Campbell | |
Out of the approximately 1450 man pages, only about 90 of them were wrong. Thanks to kwesterback@home.com for coming up with a script and patch to repair this. The patch also inserted a .Os macro in the few man pages that were missing one. | |||
1999-07-04 | correct use of .Nm; some other formatting nits | Aaron Campbell | |
1999-07-02 | consistent .Dd usage; proper format is: .Dd Month DD, YYYY | Aaron Campbell | |
1999-06-05 | - remove trailing white space | Aaron Campbell | |
- remove arguments from .Os macros - remove arguments from .Nm macros, where appropriate - some more Dq/Sq/Ql insanity - still lots to do in the usr.bin tree... :/ | |||
1998-09-26 | usr.bin/ man page fixes, f-m. | Aaron Campbell | |
1997-07-25 | use err(3) | Michael Shalayeff | |
1997-07-25 | #if __STDC__ --> #ifdef __STDC__ | Michael Shalayeff | |
1997-06-30 | Wall, and seperate uid and gid types | Theo de Raadt | |
1997-05-30 | for i in `find . -name \*.[123456789] -exec grep '^.Dd ' {} /dev/null \; | \ | Theo de Raadt | |
grep '"' | cut -d':' -f1`; do sed -e '/^.Dd /s/"//g' -e '/^.Dd /s/\(^.Dd [A-Za-z]*\) \(.*\)$/\1, \2/' <$i >x cat x > $i done | |||
1997-04-27 | COPY -> INSTALL_COPY and STRIP -> INSTALL_STRIP | Todd C. Miller | |
This fixes namespace problems where STRIP is sometimes used as the name of the strip(1) to use and other times used as the flag to send install(1) when stripping (or not). COPY doesn't have this problem (yet) but was poorly named. | |||
1997-02-07 | I wrote these public domain versions. They are faster due to two optimizations | Theo de Raadt | |