Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
diskfs_try_dropping_softrefs), *lock* diskfs_node_refcnt_lock, not
mutant unlock.
(diskfs_nrele): Likewise.
|
|
(diskfs_startup_argp, diskfs_device_startup_argp): Make const.
|
|
|
|
(diskfs_set_options): Make argp structures const.
|
|
dev_startup_argp, startup_common_argp, startup_argp_parents, startup_argp,
diskfs_startup_argp):
Make const.
|
|
|
|
|
|
argument any more.
|
|
directory size to account for the worst case difference between the ext2 and
canonical formats.
|
|
fetch_root with the same flags as DIRCRED->po.
|
|
|
|
|
|
(FVAL): New macro.
|
|
|
|
|
|
hol_entry_first_short, hol_entry_first_long, hol_find_entry, hol_sort,
hol_entry_help, argp_hol, argp_args_usage, argp_doc, argp_help, argp_error):
Add `const' where appropriate.
|
|
Add `const' where appropriate.
|
|
argp_error, _option_is_short, _option_is_end): Add `const' where appropriate.
|
|
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.
|
|
display if any thread isn't suspended.
(ps_get_usr_time, ps_get_sys_time, ps_get_tot_time):
Return a struct timeval instead of mach time_value_t.
(ps_cmp_times): New function.
(specs): Rearrange to use new field layout.
(ps_fmt_specs_find): Renamed from find_ps_fmt_spec; now uses a struct
ps_fmt_specs instead of an array of specs.
(specs): Renamed from ps_std_fmt_specs;
(ps_std_fmt_specs): Now of type struct ps_fmt_specs, pointing to specs.
(ps_emit_seconds, ps_emit_minutes): Use timefmt functions.
(append_fraction, sprint_long_time, ps_emit_nice_seconds): Deleted.
Include <timefmt.h>.
|
|
|
|
Use ext2_warning to print warnings instead of error().
|
|
(ext2fs_clean): New boolean variable.
(get_hypermetadata): Set it iff the clean bit is set on entry.
If not clean, complain and force read-only.
(diskfs_set_hypermetadata): Set clean bit only if ext2fs_clean is set.
(diskfs_readonly_changed): Complain if going writable and clean bit clear.
|
|
|
|
* hyper.c (get_hypermetadata): Don't return any error value, just
panic if we can't read the superblock.
* ext2fs.c (main): Move warp_inode() inline. Make sure root inode
is really there. Don't check return value from get_hypermetadata.
(warp_inode): Function removed.
* ext2fs.h (get_hypermetadata): Returns void now.
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
rwlock_reader_lock in DO_CHILDREN case.
|
|
beyond the allocsize and return EIO.
|
|
search ourselves, and get rid of LOOKUP_CWDIR & associated logic.
|
|
Use strdupa().
Update use of hurd_file_name_lookup() [still probably not right though].
|
|
|
|
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.
|