summaryrefslogtreecommitdiff
path: root/usr.bin/who/who.c
AgeCommit message (Expand)Author
2020-08-27unveil(_PATH_DEV, "r") when -T or -u is used: who(1) is using stat(2) for det...Sebastien Marie
2018-08-08pledge with "unveil" at the top, so that the various modes can unveilTheo de Raadt
2015-10-21Style fixes; from Ilya KalimanTodd C. Miller
2015-10-12ttyname() no longer does ioctl TIOCGETA, so pledge("tty") is no longerChristian Weisgerber
2015-10-11fix regression: ttyname() failure not handled rightTheo de Raadt
2015-10-10another pledge argument reorder for sake of re-auditTheo de Raadt
2015-10-09Change all tame callers to namechange to pledge(2).Theo de Raadt
2015-10-07from previous commit: "ioctl" is used for grab ttyname(0)Sebastien Marie
2015-10-07enable tame(2) in who(1).Sebastien Marie
2013-08-22Correct format string mismatches turned up by -Wformat=2Philip Guenther
2010-11-15show more of the host, but be careful not to go over 80 cols; ok krw@Otto Moerbeek
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2004-08-18- Xr w 1Jason McIntyre
2003-06-10mostly ansi cleanup; pval okTheo de Raadt
2003-06-03Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2003-04-14strlcat, but i memset 0 before to be safeTheo de Raadt
2003-04-07inlined strcpy, should be strncpy anyways; millert ok, from Hans-Joerg.Hoexer...Theo de Raadt
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-01-31move utmp to large format, usernames to 32 chars; downsjTheo de Raadt
2000-03-22Avoid the chdir entirely by prefixing _PATH_DEV to the tty name whenTodd C. Miller
2000-03-21only chdir() if needed. This affected having who reading different fileEric Jackson
1999-07-18indentTheo de Raadt
1997-08-20Add -q (quick), the only X/Open option I can work up enthusiasm to implement.denny
1997-07-281) Prototypes. pretty.flipk
1997-03-25correct string empty test; yokota@freebsdTheo de Raadt
1997-01-17r?index -> strr?chrTodd C. Miller
1996-06-26rcsidTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt