Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
|
|
Add `PAGESZ'.
`SIZES' -> `SIZE'; all uses updated.
Remove BYTES, PAGES, and KBYTES.
(main):
Variable user_disp_type removed. Variable size_units added.
Add SIZE_UNITS macro, remove FDISPTYPE macro.
Calls to print_val now use new PVAL macro.
(get_vmstats_field):
Just test against a type of SIZE, instead of using val_display_type_is_size.
(fields): disp_type of "pagesize" and "swap-pagesize" changed to PAGESZ.
(val_display_type_is_size): Function removed.
(struct field): `disp_type' field -> `type'; all used updated.
(print_val): Add TYPE & SIZE_UNITS arguments; remove HOW & PSIZE.
|
|
|
|
|
|
|
|
(fields):
New struct members initialized.
`size', `cache-hit-ratio', `swap-size', `swap-active', `swap-free', and
`swap-pagesize' added.
(val_t, enum val_display_type, enum field_change_type): New types.
(val_display_type_is_size, print_val, vm_state_refresh,
vm_state_get_field, get_vmstats_field, get_size, ensure_def_pager_info,
get_swap_size, get_swap_free, get_swap_page_size, get_swap_active):
New functions.
(struct field):
CHANGE_TYPE, DISP_TYPE, STANDARD, and COMPUTE fields added.
CUM field removed.
(struct vm_state): New type.
(main):
Changed greatly to use vm_state type & functions, use print_val, and
support CONST display types nicely.
(argp_program_version): Version changed to 1.1.
|
|
|
|
(options): Minor fixes.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Get rid of `Beware of dog' -- it can't ever happen.
Rename watch_login calls to check_login; don't use return value.
(check_login):
Renamed from watch_login. Change type to void.
Exit if there's no such process.
|
|
|
|
(watch_login): New function.
(dog): Use watch_login. Get rid of wierd rules for root-gone-away.
|
|
|
|
|
|
|
|
|
|
<hurd.h>: New include.
|
|
|
|
Include all args in the asprintf.
Put the ARGV message in parens.
|
|
Don't use utmp buffer sizes for field widths, as they can be very large.
|
|
(dog): Take new ARGV argument, and record status in it for ps.
(main): Pass ARGV to dog.
(add_utmp_entry): Always fill in UTMP.ut_line. Set UTMP.ut_type.
|
|
|
|
|
|
(targets): Remove `getty'.
(SRCS): Remove getty.c.
|
|
(main: child_lookup): Pass 0 for new LOOKUP arg to hurd_file_name_path_lookup.
(get_utmp_host): Function removed.
(add_utmp_entry): Get rid of TTY_FD parameter. Don't search for the tty
unless we need it to get the old host, since login does it for us.
Also use the `existing host' in the case that a new one isn't specified.
(main): Update call to add_utmp_entry.
|
|
(SRCS): Remove reboot.c & halt.c.
(login): Depend on -lutil instead of grot.
|
|
(add_utmp_entry): Use gettimeofday instead of time to get the time.
|
|
|
|
|
|
(fmts): Use %nth.
|
|
(dog): Don't kill session if the user logged in! Print newline before message.
|
|
|
|
store->class->name. Print all flags.
|
|
|
|
|
|
|
|
Only add utmp entry for session leader.
Clear process owner if no uids.
Fork self-destruct timer when appropiate.
(default_args): Add NOAUTH_TIMEOUT entry.
(check_owned, kill_login, dog): New functions.
(options, main): Remove -z/--no-utmp option.
|
|
error (it should already be in PROBLEM if necessary).
|
|
|
|
(_parse_strlist, parse_strlist, parse_numlist, lookup_user, main):
Slather on consts, in a misguided attempt to shut up the compier.
|