Age | Commit message (Collapse) | Author |
|
(INSTALL-ids-ops):
Renamed from INSTALL-hurdids-ops.
(SRCS):
hurdids.c renamed to ids.c.
(targets):
hurdids renamed to ids.
(addauth-LDLIBS, setauth-LDLIBS, su-LDLIBS):
New variables.
|
|
New variable.
(main):
Use ugids operations instead of doing [ug]id frobbing ourselves.
(options):
Remove uid/gid args.
<ugids.h>:
New include.
|
|
Add STATE argument, and pass it to callback functions.
<argp.h>:
New include.
|
|
Add STATE argument, and pass it to callback functions.
<argp.h>:
New include.
|
|
|
|
Functions removed.
(main):
Use PIDS_ARGP to select processes.
Use new forms of parse_ functions.
(lookup_user):
Take new STATE argument.
(options):
Rearranged to group similar options.
Process-selection options removed.
"pids.h":
New include.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(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.
|