Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
(enum procsets): Type removed.
(struct output_fmt): New type.
(output_fmt): New variable.
(parse_enum): Function removed.
(main): Use new version of parse_enum & output_fmts variable.
|
|
Functions removed.
Include "parse.h".
|
|
Add parse.c.
(LCLHDRS):
Add parse.h.
Add dependencies on parse.o.
Change references to addu into ones to addauth.
|
|
Functions removed.
(main: verify_passwd):
Make user-in-group-0-can-use-his-own-password-to-su work.
Replace include of "psout.h" with one of "parse.h".
Renamed from addu.c.
|
|
Add user-in-group-0-can-use-his-own-password-to-su hack.
|
|
|
|
|
|
Use the parent process's auth port instead of the hurdids process's, because
hurdids is usually installed setuid.
|
|
* login.c (add_utmp_entry): Revert change of December 10, 1996.
|
|
* login.c (add_utmp_entry): ut_addr has changed to be an array;
stash the IP address in the first slot.
|
|
|
|
(INSTALL-hurdids-ops, INSTALL-addu-ops): New variables.
(SRCS): Add addu.c.
(targets): Add addu.
|
|
|
|
|
|
|
|
Initialize with "[PID]".
(main):
Get the ids from the auth port instead of using libc grot.
Support getting ids from other processes.
|
|
|
|
Support USER... args.
(add_utmp_procs):
Ignore unused utmp entries.
|
|
|
|
Open device read-only.
|
|
Fetch DEVICE_MASTER *before* we use it.
Use argp_failure instead of error.
|
|
|
|
|
|
Parse arguments before getting device master port.
|
|
|
|
Update to reflect some minor changes in the way argp works.
|
|
Deal with crypt failing.
|
|
|
|
Look for NOBODY in ARGS_DEFS too, and use a last ditch default if we can't
find it anywhere.
|
|
|
|
Don't use strlen on it if *HOST is 0.
|
|
Implement --bottom/--tail/-b.
(options):
Update doc for --top.
Add --head and --bottom/--tail/-b options.
|
|
|
|
Use last N processes if TOP is negative.
|
|
* psout.c (psout): Delete var REMOVE.
|
|
|
|
Use utmp.h functions for reading utmp.
(read_utmp_procs):
Function removed.
|
|
|
|
|
|
Remove header for run-time supplied fields.
(main):
And add it back here as a child header.
Replace PARENTS with CHILDREN, which uses the new argp_child structure.
|
|
|
|
Add --top/-h option.
|
|
Supply new TOP arg to psout.
|
|
Add TOP parameter.
|
|
|
|
|