Age | Commit message (Collapse) | Author |
|
|
|
ps_ctty_filter, ps_unorphaned_filter, ps_parent_filter, ps_std_fmt_specs):
Make const.
|
|
ps_owner_getter, ps_owner_uid_getter, ps_ppid_getter, ps_pgrp_getter,
ps_session_getter, ps_login_col_getter, ps_num_threads_getter,
ps_args_getter, ps_state_getter, ps_rpc_getter, ps_vsize_getter,
ps_rsize_getter, ps_cur_priority_getter, ps_base_priority_getter,
ps_max_priority_getter, ps_usr_time_getter, ps_sys_time_getter,
ps_tot_time_getter, ps_rmem_frac_getter, ps_cpu_frac_getter,
ps_sleep_getter, ps_susp_count_getter, ps_proc_susp_count_getter,
ps_thread_susp_count_getter, ps_tty_getter, ps_page_faults_getter,
ps_cow_faults_getter, ps_pageins_getter, ps_msgs_sent_getter,
ps_msgs_rcvd_getter, ps_zero_fills_getter):
Make const.
|
|
|
|
|
|
When a non-option arg fails to be parsed with EINVAL, set ARG_EINVAL true,
and leave ERR as is until just before we return.
Put process_arg() in the right scope.
Deal with getopt returning EOF early because of `--'.
Make STATE.arg_num per-group.
(struct group):
Renamed process_arg field to args_processed (a count).
|
|
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|