Age | Commit message (Collapse) | Author |
|
|
|
(_STRINGIFY): New macro. Ick.
|
|
(SRCS): Add uptime.sh.
|
|
|
|
|
|
|
|
|
|
|
|
(add_pid): Complain about non-existant processes.
(parse_opt): Don't turn quoted args into options.
(parse_numlist): Correctly handle NULL hook functions.
(main): Update calls to changed proc_stat_list_add_* functions.
(psout): New declaration.
|
|
|
|
|
|
(main): Pass ARGP_IN_ORDER to argp_parse (it's no longer the default), and
deal with the fallout.
|
|
(FVAL): New macro.
|
|
Slightly decrease the space for numbers in the verbose output format.
Twiddle the widths of the terse fields to make sure there's room
for typical numbers.
(fields, options): Make const.
|
|
|
|
Don't ask for a password unecessarily.
When the user is specified as the first argument, always add it as both
effective, real, and saved ids, even if there are others already.
Only chown the tty if NO_LOGIN isn't set.
Avoid duplicating the old real id when keeping the old ids.
|
|
(SRCS): Add vmstat.c
|
|
|
|
|
|
|
|
|
|
|
|
Put LOGNAME in the environ even if it was already.
Try to set the default path using confstr().
Call setlogin().
Turn on RETRY when the -h option is specified.
(options, main):
Change the -R/--retry option so that the optional argument is an argument
to add to those passed to login when retrying, and remove all the hardwired
arguments (except propagating -h/--via).
(main, default_args):
Replace the BACKUP_SHELL param with BACKUP_SHELLS, which is a list of
things to try. The default includes both bash and the /bin/sh.
(default_args, options, main):
Get rid of the -n/--nobody option and variables, making it an additional
login parameter.
(add_utmp_entry): Get rid of declaration for login().
(copied_args): Add "USER".
(default_args, default_env): Make the default path just /bin.
|
|
|
|
(spec_abbrevs, ps_specs): New variables.
(fmts): Get rid of redundant header specifications.
(fmt_sortrevs): Variable removed.
(main, options): Rename -o flag to -U for posix compat (ick).
|
|
(options): Rearrange a bit.
|
|
Only print a preceeding newline if this is a retry.
|
|
Use --program-name for nice errors.
|
|
Use add_canonical_host() to implement the -h option.
Only let root specify the login host.
child_lookup() now takes an additional PATH arg, and calls
hurd_file_name_path_lookup() instead.
Pass a path when looking up the shell executable.
Do all file-name lookups using the target authentication, so that login
isn't a security hole.
Rework how password-checking is done somewhat (only ask when necessary).
Use exec_reauth() instead of our own.
If setting the real [ug]id, also add it as the `saved id'.
Use BACKUP_SHELL instead of FAILURE_SHELL define.
Get rid of various string vars only used once.
(add_canonical_host): New function.
(add_utmp_entry):
Use VIA_ADDR instead of VIA in the utmp entry if it fits better.
(add_entry): Function moved out of main.
(cat): Take an io_t port instead of a file descriptor.
(options, main):
Add -k/--keep & -S/--shell-arg options.
Remove -m/--umask option; use UMASK param instead.
(FAILURE_SHELL): Macro deleted.
(default_args): Add BACKUP_SHELL param.
|
|
|
|
|
|
(main): Don't ask for password by name if only one user.
|
|
If -f/--no-passwd is specified, get rid of the effect of the login
executable being setuid/gid.
Only set the shell proc's owner to an effective uid.
|
|
(login): Depend on -lutil.
|
|
|
|
(main): If there is no current uid, don't try to filter with it.
(FILTER_NOT_LEADER): Renamed from FILTER_NSESSLDR.
(main): Rename ps_not_leader_filter from ps_not_sess_leader_filter.
(main): Use idvec routines instead of ids.
Use argz functions to store tty_names instead of our own.
(make_ids, ids_add, ids_contains): Routines deleted.
Include <idvec.h>.
|
|
|
|
(options): Add argument and doc for 'w' option.
|
|
|
|
(targets): Add login.
(login): Depends on ../libshouldbelibc/libshouldbelibc.
|
|
Change uses of the INDEX field in argp_state structures to use NEXT instead.
|
|
Change uses of the INDEX field in argp_state structures to use NEXT instead.
Fix default prefix-printing test.
|
|
Supply the new SEP argument to argz_stringify.
Change uses of the INDEX field in argp_state structures to use NEXT instead.
Fix default prefix-printing test.
|
|
Supply the new SEP argument to argz_stringify.
Change uses of the INDEX field in argp_state structures to use NEXT instead.
|
|
(options): Fix help strings.
|
|
|
|
|
|
|
|
Use the new FLAGS argument to file_get_storage_info. Add new storage types.
|
|
Change to use the new wierd callback interface to fshelp_start_translator.
|