Age | Commit message (Collapse) | Author |
|
* frobauth-mod.c (frobauth_modify): Don't use MOVE_SEND in Hurd RPC.
* msgport.c (do_setfd, cmd_chcwdir, cmd_cdroot, cmd_chcrdir):
Likewise.
|
|
Remove the su utility, which is incompatible with traditional su
as provided by sh-utils and used by some portable shell scripts.
The Hurdish su functionality is available as `setauth --save'.
* su.c: File removed.
* Makefile (targets): Remove su.
(SRCS): Remove su.c.
(su): Target removed from various dependency rules.
(su-LDLIBS): Variable removed.
* unsu.c (doc): Refer to setauth --save rather than su.
|
|
|
|
* nonsugid.c (get_nonsugid_ids): Remove saved set IDs from available
sets before merging effective sets.
|
|
|
|
* storeinfo.c (print_store: pstr): Add const to parameter type.
|
|
|
|
* mount.c: New file.
* mount.sh: File removed.
* Makefile (special-targets): Remove mount.
(SRCS): mount.sh -> mount.c
(mount): Add deps on ../sutils/fstab.o, ../sutils/clookup.o,
libfshelp and libports.
(../sutils/fstab.o ../sutils/clookup.o): Rule to build in ../sutils.
|
|
|
|
* vmstat.c (BADVAL): New macro.
(SWAP_FIELD): New macro. This properly takes care of exciting C
type promotion rules to properly indicate errors.
(get_swap_size, get_swap_free, get_swap_active): Replace definitions
with ones using SWAP_FIELD macro.
(ensure_def_pager_info): Give an error message for lack of a default
pager; check only once.
|
|
|
|
* login.c (main): Pass controlling terminal ID port to the child.
|
|
|
|
* w.c (add_utmp_procs): Ignore entries whose ut_type is not
LOGIN_PROCESS or USER_PROCESS, or whose ut_line is empty.
|
|
* portinfo.c: Correct documentation for (currently implemented)
--target-send and --target-send-once options. Reported by Marcus
Brinkmann (Marcus.Brinkmann@ruhr-uni-bochum.de).
|
|
|
|
* portinfo.c (options): Doc fixes from Marcus.
|
|
|
|
* Makefile (targets): Remove freeauth, added accidentally.
|
|
|
|
* rpctrace.c (rewrite_right): If we see our own wrapper right,
unwrap and replace it with the original send right.
(trace_and_forward): Remove vm_map special case.
|
|
|
|
|
|
* rpctrace.c: Mostly rewritten. Now mostly working with skeletal
functionality.
|
|
|
|
* rpctrace.c: New file, from josem and gord. Not yet functional.
* Makefile (rpctrace): New target.
(targets): Add rpctrace.
(SRCS): Add rpctrace.c.
|
|
|
|
* 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.
|
|
|