Age | Commit message (Collapse) | Author |
|
|
|
* fakeauth.c (idvec_copyout): Fix argument type.
* pids.c (add_fn_pids): unsigned -> size_t
* w.c (add_utmp_procs): Likewise.
* login.c (add_canonical_host): Likewise.
* ps.c (main): Likewise.
* login.c (add_entry, main): Likewise.
* settrans.c (main): int -> size_t
* showtrans.c (main): Likewise.
* fsysopts.c (main): Likewise.
* vmstat.c (main): Use int for FWIDTHS.
* ping.c (main): size_t -> socklen_t
* fakeauth.c (S_auth_getids, S_auth_makeauth,
S_auth_server_authenticate): u_int -> size_t
* showtrans.c (main): Cast field width/precision args to int.
|
|
* pids.c (add_fn_pids): unsigned -> size_t
* w.c (add_utmp_procs): Likewise.
* login.c (add_canonical_host): Likewise.
* ps.c (main): Likewise.
* login.c (add_entry, main): Likewise.
* settrans.c (main): int -> size_t
* showtrans.c (main): Likewise.
* fsysopts.c (main): Likewise.
* vmstat.c (main): Use int for FWIDTHS.
* ping.c (main): size_t -> socklen_t
* fakeauth.c (S_auth_getids, S_auth_makeauth,
S_auth_server_authenticate): u_int -> size_t
* showtrans.c (main): Cast field width/precision args to int.
|
|
* storeinfo.c (print_store): Use %z format.
|
|
* rpctrace.c (print_data): Use if instead of switch to handle FP type
sizes, in case double == long double.
|
|
* rpctrace.c (parse_msgid_list): Fixed the check that tests if we
read exactly 3 fields from each line.
|
|
* fakeauth.c (main): Register NEWTASK as a child with the proc
server.
|
|
* devprobe.c: Include <version.h>.
(argp_program_version): New variable.
* storecat.c: Include <version.h>.
(argp_program_version): New variable.
* storeread.c: Include <version.h>.
(argp_program_version): New variable.
* gcore.c: Include <version.h>.
(argp_program_version): New variable.
|
|
|
|
* fakeroot.sh: Inside the chroot'd fakeauth environment,
run a shell that chdir's to what was our original current
directory (by name) before exec'ing the user's command.
|
|
|
|
* fakeauth.c (main): Don't use posix_spawnp. Use _hurd_exec instead.
|
|
* settrans.c (main): Return 0 instead of using break (which only
gets us out of the while loop).
|
|
* fakeauth.c (main): Add ARGP_IN_ORDER to argp_parse invocation.
(main: parse_opt): New function.
(main): Set parser in ARGP to parse_opt.
|
|
|
|
* fakeroot.sh: New file.
* Makefile (targets, special-targets, SRCS): Add it.
|
|
* fakeauth.c (main): Update doc strings, clean up argp_parse call.
|
|
|
|
* settrans.c (options): Add --chroot/-C option.
(main_opt): Parse that option, take following args until "--"
as a command to exec chroot'd to the translated node.
|
|
* vmstat.c (print_val): Use %lld printf format for val_t.
|
|
* msgport.c (str2flags): Add break after default: label.
|
|
|
|
* fakeauth.c: New file.
* Makefile (fakeauth): New target.
(targets): Add it.
(SRCS): Add fakeauth.c.
(auth-MIGSFLAGS, fakeauth-CPPFLAGS, authServer-CPPFLAGS,
auth_requestUser-CPPFLAGS): New variables.
|
|
* shd.c: Include <error.h> for `error' decl.
|
|
* fakeauth.c: New file.
* Makefile (fakeauth): New target.
(targets): Add it.
(SRCS): Add fakeauth.c.
(auth-MIGSFLAGS, fakeauth-CPPFLAGS, authServer-CPPFLAGS,
auth_requestUser-CPPFLAGS): New variables.
* Makefile (rpctrace): Put libthreads before libports.
|
|
|
|
* rpctrace.c (parse_msgid_list): Use ERR, not errno.
* shd.c (reap): Use error, not perror.
(command): Likewise.
(main): Likewise.
(run): Use error, not perror. Use ERR, not errno.
|
|
|
|
* rpctrace.c (struct msgid_info): New type.
(msgid_ihash_cleanup): Updated to use it.
(parse_msgid_list): Use it to also record subsystem name in table.
(msgid_info): New function, guts of msgid_name.
(msgid_name): Use that.
(msgid_display, msgid_trace_replies): New stub functions.
(trace_and_forward): Use them to conditionalize tracing and printing.
|
|
|
|
* rpctrace.c (options): Add -I/--rpc-list.
(msgid_ihash): New static variable.
(msgid_ihash_cleanup): New function.
(parse_msgid_list, magid_name): New functions.
(main: parse_opt): Grok -I using parse_msgid_list.
(trace_and_forward, print_request_header, print_reply_header):
Look up msgh_id values using msgid_name and print strings if possible.
|
|
|
|
* msgport.c (str2flags): Use const in argument type; make static.
Set O_CREAT for "w" mode. Grok "a" to set O_APPEND.
(cmd_setfd): Always call str2flags, giving it a default string.
(cmd_stdin, cmd_stdout, cmd_stderr): Likewise.
(cmd_options): Update doc strings.
|
|
|
|
* rpctrace.c (traced_spawn) [KERN_INVALID_LEDGER]:
Pass extra arguments to task_create for OSF variant.
* shd.c (run): Likewise.
|
|
|
|
* storeread.c (main): Fix argument order in `error' call.
|
|
|
|
* storeinfo.c (main): Pass STORE_NO_FILEIO to store_create.
|
|
|
|
|
|
* gcore.c: New file (previously ../exec/gcore.c). Update the code.
* Makefile (targets): Add gcore.
|
|
|
|
* rpctrace.c (trace_and_forward): Move assert on expected port type to
after check for notifications (which always use fake send-once rights).
|
|
|
|
* showtrans.c (main): Use %.*s formats to be robust in the
face of an unterminated argz in a translator setting.
|
|
|
|
* settrans.c (options): New option `--orphan'.
Fix other comments to aviod confusion.
(main): Add FS_TRANS_ORPHAN to ACTIVE_FLAGS if `--orphan' is
specified.
|
|
|
|
* rpctrace.c (trace_and_forward): Assert that INFO has the same port
right type as the right we looked up. Don't consider a message a
reply unless its receiver is a send-once right.
|