Age | Commit message (Collapse) | Author |
|
|
|
* pids.c: Add #include <sys/mman.h> for munmap decl.
* showtrans.c: Likewise.
* login.c: Likewise.
* storeread.c: Likewise.
* msgport.c: Likewise.
|
|
* login.c (cat): Use munmap instead of vm_deallocate.
(check_owned): Likewise.
(kill_login): Likewise.
* storeread.c (main): Likewise.
* showtrans.c (main): Likewise.
* pids.c (add_fn_pids): Likewise.
* msgport.c (cmd_getenv): Likewise.
|
|
* Makefile (INSTALL-addauth-ops, INSTALL-setauth-ops,
INSTALL-su-ops): Removed. These programs don't have to be
installed suid-root anymore.
* frobauth-mod.c (frobauth_modify): Do not try to set the owner of
the processes we're frobbing. The process set their owner
themselves when we pass them their new authentication.
|
|
|
|
* login.c (main): For no-uids shell, default SH_ARG0 to informative
value. Use asprintf to construct it.
|
|
|
|
* ps.c (options): Doc fix.
|
|
|
|
* ps.c (output_fmts): Add %start and %time specs before %command
in "user" (ps -u) format.
|
|
* w.c (fetch_boot_time): New function. Use libps to get
task_basic_info for PID 1 (init); its creation_time is "boot time".
(uptime): Use it, instead of stat'ing /var/run/uptime.
|
|
|
|
* portinfo.c (parse_task): Fail with appropriate error message if the
fetched task is MACH_PORT_NULL.
|
|
|
|
* shd.c (run): Print child's PID when pausing before exec.
|
|
* login.c (add_utmp_entry): Properly call setutent and endutent
around the getutline call.
|
|
|
|
* portinfo.c (main): Grok -E and inhibit error msg for
print_xlated_port_info if set.
(options): #if 0 -q option until we implement it.
|
|
|
|
* mount.sh: Use `awk' instead of `gawk'.
|
|
* login.c (main): Correctly implement -f instead of always
acting as if it were set.
|
|
* login.c (main): When transitioning from no UID's to having UID's
create a new session like normal. Reported by Mark M. Kettenis
<kettenis@wins.uva.nl>.
|
|
* login.c (main): If no effective uid, really use first auxiliary
uid to use as password entry to get parameters from.
|
|
|
|
* syncfs.c: Replace -a/--asynchronous with -s/--synchronous.
Default is now asynchronous.
|
|
|
|
|
|
* Makefile (SRCS, targets, targets rule): Rename sync to syncfs.
* syncfs.c: Renamed from sync.c.
Take flags -a/--asynchronous and -c/--no-children,
and optional file arguments. Diagnose errors.
|
|
|
|
* Makefile (OBJS): Use % pattern instead of explicit list.
|
|
|
|
* msgport.c: Comments added.
(add_cmd): cmd_add renamed to add_cmd.
(parse_cmd_opt): cmd_parse_opt renamed to parse_cmd_opt.
|
|
* Makefile (msgport): Add dependency on libshouldbeinlibc.
|
|
|
|
* msgport.c: Fixed to deallocate ports.
|
|
|
|
* msgport.c: New file.
* Makefile (targets): Add `msgport'.
(SRCS): Add `msgport.c'.
(msgport): Add dependencies on parse.o and pids.o.
|
|
* ps.c (main): Fix return type to int, and use return.
* ids.c (main): Likewise.
* w.c (main): Likewise.
* login.c (main): Likewise.
* settrans.c (main): Likewise.
* showtrans.c (main): Likewise.
* fsysopts.c (main): Likewise.
* storeinfo.c (main): Likewise.
* unsu.c (main): Likewise.
* setauth.c (main): Likewise.
* rmauth.c (main): Likewise.
* addauth.c (main): Likewise.
|
|
|
|
|
|
* ps.c (main): Fix return type to int, and use return.
* ids.c (main): Likewise.
* w.c (main): Likewise.
* login.c (main): Likewise.
* settrans.c (main): Likewise.
* showtrans.c (main): Likewise.
* fsysopts.c (main): Likewise.
* storeinfo.c (main): Likewise.
* w.c (main): Avoid warning from `while (a = b)'.
|
|
* ps.c (main): Fix return type to int, and use return.
* ids.c (main): Likewise.
* w.c (main): Likewise.
* login.c (main): Likewise.
* settrans.c (main): Likewise.
* showtrans.c (main): Likewise.
* fsysopts.c (main): Likewise.
* storeinfo.c (main): Likewise.
|
|
|
|
|
|
* ping.c (MAXHOSTNAMELEN): Don't define.
(main): Delete variable `hnamebuf'. Store directly into properly
malloced `hostname' variable.
|
|
* ping.c: New file. Originally P.D. from US Army; then modified
by BSD, then added to Linux. Taken from Linux ping and adapted
for Hurd and submitted for inclusion by Kunihiro Ishiguro
(kunihiro@zebra.org).
* Makefile (targets): Add `ping'.
(SRCS): Add `ping.c'.
(ping-CPPFLAGS): New variable, to find <linux/icmp.h> in the
pfinet sources.
(INSTALL-ping-ops): Install ping suid root.
(ping): Depend on `../libthreads/libthreads.a'.
|
|
Add AUTHS & NUM_AUTHS parameters.
|
|
|
|
Remove DEFAULT_OUTPUT variable.
|
|
Add AUTHS & NUM_AUTHS parameters.
|