Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | . | Miles Bader | 1996-07-26 | 1 | -0/+14 | |
| | ||||||
* | (enum val_display_type): | Miles Bader | 1996-07-26 | 1 | -59/+44 | |
| | | | | | | | | | | | | | | | | 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. | |||||
* | . | Miles Bader | 1996-07-26 | 1 | -0/+2 | |
| | ||||||
* | (INSTALL-vmstat-ops): New variable. | Miles Bader | 1996-07-26 | 1 | -0/+1 | |
| | ||||||
* | . | Miles Bader | 1996-07-26 | 1 | -0/+19 | |
| | ||||||
* | (options, main): -k/--kilobytes, -v/--pages, and -b/--bytes options added. | Miles Bader | 1996-07-26 | 1 | -83/+354 | |
| | | | | | | | | | | | | | | | | | | | | (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. | |||||
* | . | Miles Bader | 1996-07-23 | 1 | -0/+6 | |
| | ||||||
* | (main): For no args, use argp_usage. | Miles Bader | 1996-07-21 | 1 | -2/+2 | |
| | | | | (options): Minor fixes. | |||||
* | (main): Print an error for no args. | Miles Bader | 1996-07-21 | 1 | -0/+4 | |
| | ||||||
* | . | Miles Bader | 1996-07-20 | 1 | -0/+4 | |
| | ||||||
* | (options): Rearrange slightly. | Miles Bader | 1996-07-20 | 1 | -4/+4 | |
| | ||||||
* | *** empty log message *** | Michael I. Bushnell | 1996-07-18 | 2 | -0/+280 | |
| | ||||||
* | Initial revision | Roland McGrath | 1996-07-17 | 1 | -0/+1057 | |
| | ||||||
* | (main): If chown fails, print error message using errno, not -1. | Michael I. Bushnell | 1996-07-17 | 1 | -1/+1 | |
| | ||||||
* | (dog): | Miles Bader | 1996-07-13 | 1 | -25/+15 | |
| | | | | | | | | 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. | |||||
* | (INSTALL-ps-ops, INSTALL-w-ops): New variables. | Miles Bader | 1996-07-12 | 1 | -0/+2 | |
| | ||||||
* | (main): Only start a watchdog timer if in a new login coll. | Miles Bader | 1996-07-12 | 1 | -49/+48 | |
| | | | | | (watch_login): New function. (dog): Use watch_login. Get rid of wierd rules for root-gone-away. | |||||
* | (INSTALL-login-ops): New variable. | Michael I. Bushnell | 1996-07-12 | 1 | -0/+2 | |
| | ||||||
* | (settrans): Dependon libports. | Michael I. Bushnell | 1996-07-12 | 1 | -1/+1 | |
| | ||||||
* | (main): Don't use unsafe MOVE_SEND in call to file_set_translator. | Michael I. Bushnell | 1996-07-08 | 1 | -1/+1 | |
| | ||||||
* | (argp_program_version): New variable. | Miles Bader | 1996-07-06 | 9 | -0/+18 | |
| | ||||||
* | (argp_program_version): New variable. | Miles Bader | 1996-07-06 | 1 | -0/+3 | |
| | | | | <hurd.h>: New include. | |||||
* | (add_utmp_entry): Pass the the basename of TTY to getutline. | Miles Bader | 1996-07-06 | 1 | -15/+27 | |
| | ||||||
* | (dog): | Miles Bader | 1996-07-02 | 1 | -1/+1 | |
| | | | | | Include all args in the asprintf. Put the ARGV message in parens. | |||||
* | (_w_specs): | Miles Bader | 1996-07-01 | 1 | -4/+4 | |
| | | | | Don't use utmp buffer sizes for field widths, as they can be very large. | |||||
* | (kill_login): Don't kill dog. | Miles Bader | 1996-07-01 | 1 | -26/+37 | |
| | | | | | | (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. | |||||
* | (main): Fix heuristic to decide whether native booted. | Miles Bader | 1996-06-24 | 1 | -3/+11 | |
| | ||||||
* | (main): No need for EXEC_NEWTASK or EXEC_SECURE. | Michael I. Bushnell | 1996-06-20 | 1 | -2/+1 | |
| | ||||||
* | (getty): Remove rule. | Michael I. Bushnell | 1996-06-20 | 1 | -1/+1 | |
| | | | | | (targets): Remove `getty'. (SRCS): Remove getty.c. | |||||
* | (hurd_file_name_path_lookup): Declaration removed. | Miles Bader | 1996-06-19 | 1 | -58/+33 | |
| | | | | | | | | | (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. | |||||
* | (targets): Remove reboot & halt. | Miles Bader | 1996-06-17 | 1 | -3/+3 | |
| | | | | | (SRCS): Remove reboot.c & halt.c. (login): Depend on -lutil instead of grot. | |||||
* | (dog): Don't print stupid message if login session is empty. | Miles Bader | 1996-06-11 | 1 | -5/+14 | |
| | | | | (add_utmp_entry): Use gettimeofday instead of time to get the time. | |||||
* | Don't use -z flag to login. | Miles Bader | 1996-05-29 | 1 | -1/+1 | |
| | ||||||
* | (check_owned): Return OWNED, not NOTOWNED. | Miles Bader | 1996-05-28 | 1 | -1/+1 | |
| | ||||||
* | (spec_abbrevs): Still use `NTH' for field name, just `TH' for title. | Miles Bader | 1996-05-28 | 1 | -2/+2 | |
| | | | | (fmts): Use %nth. | |||||
* | (main): Fetch the parent uids before checking their number. | Miles Bader | 1996-05-28 | 1 | -5/+21 | |
| | | | | (dog): Don't kill session if the user logged in! Print newline before message. | |||||
* | (fmts): Use %sz for vmem format, not %size. | Miles Bader | 1996-05-28 | 1 | -1/+1 | |
| | ||||||
* | (print_store): Get rid of class-name printing code, and use | Miles Bader | 1996-05-22 | 1 | -23/+42 | |
| | | | | store->class->name. Print all flags. | |||||
* | (main): Fork login timeout watchdog before clearing the process owner. | Miles Bader | 1996-05-15 | 1 | -11/+16 | |
| | ||||||
* | (dog): Use error to print messages. Use pretty time fmting. | Miles Bader | 1996-05-15 | 1 | -2/+9 | |
| | ||||||
* | (main): Only allow real users to make new login collections. | Miles Bader | 1996-05-14 | 1 | -1/+2 | |
| | ||||||
* | (main): | Miles Bader | 1996-05-13 | 1 | -5/+112 | |
| | | | | | | | | | 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. | |||||
* | (psout): When printing result of ps_fmt_creation_error, don't pass ERR to | Miles Bader | 1996-05-12 | 1 | -1/+1 | |
| | | | | error (it should already be in PROBLEM if necessary). | |||||
* | (parse_opt): Use ARGP_ERR_UNKNOWN instead of EINVAL. | Miles Bader | 1996-05-11 | 10 | -12/+26 | |
| | ||||||
* | (parse_opt): Use ARGP_ERR_UNKNOWN instead of EINVAL. | Miles Bader | 1996-05-11 | 1 | -14/+14 | |
| | | | | | (_parse_strlist, parse_strlist, parse_numlist, lookup_user, main): Slather on consts, in a misguided attempt to shut up the compier. | |||||
* | (parse_opt): Print a usage msg with no args. | Miles Bader | 1996-05-11 | 1 | -9/+13 | |
| | | | | (options, main): Add --translated/-t option. | |||||
* | (storeinfo): Depend on ../libstore/libstore.a. | Miles Bader | 1996-05-10 | 1 | -0/+1 | |
| | ||||||
* | (main): Remove const cast from first arg to argz_create. | Miles Bader | 1996-05-10 | 1 | -2/+1 | |
| | ||||||
* | (print_store): New function. | Miles Bader | 1996-05-10 | 1 | -57/+59 | |
| | | | | | | (info): Use store_create to make a store and print_store to print it. (parse_opt): Print a usage message for no args. (options, parse_opt): Add --children option. | |||||
* | (parse_strlist): Make DEFAULT_FN return a const char *. | Miles Bader | 1996-05-10 | 1 | -1/+1 | |
| |