diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2005-03-30 05:25:10 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2005-03-30 05:25:10 +0000 |
commit | bd3b936ce7a27e21cb1d205997a05753e7deb467 (patch) | |
tree | e323342f27ffcfca85281aa87c4004412e9eea67 | |
parent | 78abb1a7573d5a187630f2908183f9a5efa13ac7 (diff) | |
download | coreutils-bd3b936ce7a27e21cb1d205997a05753e7deb467.tar.xz |
who, pinky, uptime, and users now check for valid PIDs in supposed login
sessions.
-rw-r--r-- | ChangeLog | 14 |
1 files changed, 13 insertions, 1 deletions
@@ -1,7 +1,19 @@ -2005-03-29 Jim Meyering <jim@meyering.net> +2005-03-30 Paul Eggert <eggert@cs.ucla.edu> * Version 5.3.1. + * src/pinky.c (short_pinky): Adjust to read_utmp signature change. + * src/uptime.c (uptime): New arg OPTIONS. All uses changed. + * src/users.c (users): Likewise. + * src/who.c (who): Likewise. + * src/uptime.c (main): Check PIDs when invoked with zero arguments. + * src/users.c (main): Likewise. + * src/who.c (main): Likewise. Also with two arguments. + Omit duplicate code in 2-arg case. + (UT_PID): Moved to ../lib/readutmp.h. + +2005-03-29 Jim Meyering <jim@meyering.net> + * src/system.h (ptr_align): Declare `ptr' parameter to be a `const' pointer, since this function never writes through it. |