aboutsummaryrefslogtreecommitdiff
path: root/utils
Commit message (Collapse)AuthorAgeFilesLines
* (main): Fix heuristic to decide whether native booted.Miles Bader1996-06-241-3/+11
|
* (main): No need for EXEC_NEWTASK or EXEC_SECURE.Michael I. Bushnell1996-06-201-2/+1
|
* (getty): Remove rule.Michael I. Bushnell1996-06-201-1/+1
| | | | | (targets): Remove `getty'. (SRCS): Remove getty.c.
* (hurd_file_name_path_lookup): Declaration removed.Miles Bader1996-06-191-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 Bader1996-06-171-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 Bader1996-06-111-5/+14
| | | | (add_utmp_entry): Use gettimeofday instead of time to get the time.
* Don't use -z flag to login.Miles Bader1996-05-291-1/+1
|
* (check_owned): Return OWNED, not NOTOWNED.Miles Bader1996-05-281-1/+1
|
* (spec_abbrevs): Still use `NTH' for field name, just `TH' for title.Miles Bader1996-05-281-2/+2
| | | | (fmts): Use %nth.
* (main): Fetch the parent uids before checking their number.Miles Bader1996-05-281-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 Bader1996-05-281-1/+1
|
* (print_store): Get rid of class-name printing code, and useMiles Bader1996-05-221-23/+42
| | | | store->class->name. Print all flags.
* (main): Fork login timeout watchdog before clearing the process owner.Miles Bader1996-05-151-11/+16
|
* (dog): Use error to print messages. Use pretty time fmting.Miles Bader1996-05-151-2/+9
|
* (main): Only allow real users to make new login collections.Miles Bader1996-05-141-1/+2
|
* (main):Miles Bader1996-05-131-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 toMiles Bader1996-05-121-1/+1
| | | | error (it should already be in PROBLEM if necessary).
* (parse_opt): Use ARGP_ERR_UNKNOWN instead of EINVAL.Miles Bader1996-05-1110-12/+26
|
* (parse_opt): Use ARGP_ERR_UNKNOWN instead of EINVAL.Miles Bader1996-05-111-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 Bader1996-05-111-9/+13
| | | | (options, main): Add --translated/-t option.
* (storeinfo): Depend on ../libstore/libstore.a.Miles Bader1996-05-101-0/+1
|
* (main): Remove const cast from first arg to argz_create.Miles Bader1996-05-101-2/+1
|
* (print_store): New function.Miles Bader1996-05-101-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 Bader1996-05-101-1/+1
|
* (main): Remove const cast from first arg to argz_create.Miles Bader1996-05-101-2/+1
|
* (main): Remove const cast from first arg to argz_create.Miles Bader1996-05-101-8/+7
| | | | | (main): Remove const from decl of USER & ARG. (fail): Remove const from decl of VIA.
* (uptime): Cast arg to localtime appropriately.Michael I. Bushnell1996-05-091-1/+2
|
* (add_utmp_entry): Declare HOST `char const *'.Michael I. Bushnell1996-05-091-9/+12
| | | | | | | | | | (main) [fail]: Declare VIA `char const *'. (main): Declare USER `char const *'. Declare ARG `char const *'. (main): Provide new third arg to proc_setowner. (main) [parse_opt] [case ARGP_KEY_ARG]: Cast first arg of argz_create appropriately. (main): Likewise.
* (main) [parse_opt]: Cast first arg of argz_create appropriately.Michael I. Bushnell1996-05-091-1/+2
|
* (main) [parse_opt]: Cast first arg to argz_create appropriately.Michael I. Bushnell1996-05-091-1/+2
|
* (main) [current_tty_name]: Remove `const' keyword to avoid type clash.Michael I. Bushnell1996-05-091-1/+1
|
* (main) [proc_stat_has_ctty]: Add parentheses around assignment used asMichael I. Bushnell1996-05-091-1/+1
| | | | truth value.
* (fmts): Use new field syntax.Miles Bader1996-05-071-33/+21
| | | | | (options, main): Add -o/--posix-fmt option. -A is an alias. "psout.h": New include.
* (psout):Miles Bader1996-05-071-6/+11
| | | | | | | | Add posix_fmt arg. Use ps_fmt_creation_error to find out in detail why ps_fmt_create fails. (nominal): Take a field, not a spec. Honor PS_FMT_FIELD_KEEP.
* (w_get_uname): Renamed from w_get_user.Miles Bader1996-05-071-14/+29
| | | | | | | | | | | | (w_uname_getter): Renamed from w_user_getter. (w_user_getter): New function. (w_get_user): New function. (w_fetch): Implement W_PSTAT_USER. (struct w_hook): Add user field. (_w_specs): Add "Name" entry. Add precision & flags fields. (DEFAULT_FMT_STRING): Use new field syntax. (main): Update call to psout. "psout.h": New include.
* (main): Default KILL_ACTIVE to 0.Miles Bader1996-05-011-1/+1
|
* (_w_specs): Use ps_emit_past_time to show login times.Miles Bader1996-05-011-2/+2
|
* But not the special ones.Michael I. Bushnell1996-04-301-1/+1
|
* (all): Remove target.Michael I. Bushnell1996-04-301-4/+4
| | | | | (include ../Makeconf): Place before all dependencies. ($(targets)): Each separate target should depend on its own .o.
* (main): Try to intuit whether this is a native-booted hurd system, and if so,Miles Bader1996-04-231-2/+12
| | | | don't filtered out non-parented processes.
* (targets): Add devprobe.Miles Bader1996-04-111-5/+6
| | | | (SRCS): Add devprobe.c.
* Initial revisionMiles Bader1996-04-111-0/+104
|
* (options, doc):Miles Bader1996-04-081-6/+26
| | | | | | Change meaning of --translate's argument, in preparation for other changes. (options, main): Add, but don't really implement, --search option.
* (psout): Use real types instead of old ps typedefs.Miles Bader1996-03-291-6/+7
|
* (options): Add --exclusive option, change descriptions.Miles Bader1996-03-291-15/+27
| | | | (main): Rearrange meanings of arguments somewhat.
* (spec_abbrevs): Make const.Miles Bader1996-03-291-24/+24
| | | | | (ps_specs): Make non-const. (...various...): Use real types instead of old ps typedefs.
* (uptime): Correctly calculate uptime.Miles Bader1996-03-291-19/+19
| | | | (...various...): Use real types instead of old ps typedefs.
* (main): Use new names for functions, and pass stdout.Miles Bader1996-03-291-365/+18
| | | | | | | (port_info, ports_info, xlated_port_info, xlated_ports_info, name_xlator_create, name_xlator_free, name_xlator_xlate): Functions removed (renamed and put in libshouldbeinlibc). (parse_task): Use strtoul instead of atoi so pid 0 works.
* (uptime): Add a temporary hack to pretend to show uptime.Miles Bader1996-03-231-5/+10
|
* (main): Pass new arg to argp_parse.Miles Bader1996-03-231-1/+1
|