Age | Commit message (Collapse) | Author |
|
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.
|
|
|
|
|
|
|
|
|
|
New declarations.
(DEFAULT_FMT_STRING):
Add %pid.
(_w_specs):
Use ps_cmp_unames for `Name'.
Use ps_nominal_string for `Name' and `From'.
|
|
|
|
New function.
(main):
Initialize dependencies field of USER_HOOKS to w_deps.
(_w_specs):
Add PS_FMT_FIELD_COLON_MOD to Idle's flags.
(w_fetch):
Set HAVE bits even if the values are `nominal'.
Correctly propagate PS->inapp bits.
|
|
|
|
Change --runs/-r to --block-list/-l.
(main):
Use STORE_INACTIVE flag to store_create.
(print_store):
Correctly print unknown flags.
Don't ever print STORE_INACTIVE flag.
Print runs in grub block-list format.
|
|
|
|
New function.
(name_to_option):
Correct test for malloc failure.
(main):
Calculate verbose output widths differently.
(main: FWIDTH):
New macro.
(fields):
Rename `cache *' fields to `memobj *', and reword doc strings.
Add `max' field.
(get_memobj_hit_ratio):
Renamed from get_cache_hit_ratio.
(VAL_MAX_MEM, VAL_MAX_SWAP, K, M, G): New macros.
|
|
|
|
Remove desc field, add doc field.
(fields):
Initialize doc field, and not desc.
(name_to_option):
New function.
(main):
Rearrange use of name, doc, and desc fields in struct field.
|