summaryrefslogtreecommitdiff
path: root/libdiskfs/opts-std-runtime.c
AgeCommit message (Collapse)Author
1998-10-241998-10-20 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* dir-lookup.c (diskfs_S_dir_lookup): Add braces to silence gcc warning. * io-identity.c (diskfs_S_io_identity): Likewise. * opts-append-std.c (diskfs_append_std_options): Likewise. * opts-std-runtime.c (set_opts): Likewise.
1997-09-19(OPT_EXEC_OK, OPT_SUID_OK):Miles Bader
Rename definitions from ..._OPT. (set_opts): Prepend "_diskfs" to uses of NOSUID & NOEXEC.
1997-09-16Tue Sep 16 14:37:51 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* priv.h (nosuid, noexec): New variables. * init-init.c (nosuid, noexec): New variables, initialized to zero. * file-exec.c (diskfs_S_file_exec): If noexec is on, then prohibit all execution with EACCES. If nosuid is on, then prohibit setuid or setgid execution by silently omitting the uid substitution. * opts-std-startup.c (parse_startup_opt): Implement --no-suid and --no-exec. * opts-common.c (diskfs_common_options): Add --no-suid and --no-exec. * opts-std-runtime.c (struct parse_hook): Add nosuid and noexec. (parse_opt) [cases 'S', 'E', OPT_SUID_OK, OPT_EXEC_OK] Understand --no-suid, --no-exec, --suid-ok, and --exec-ok. (parse_opt) [case ARGP_KEY_INIT]: Initialize H->nosuid and H->noexec. (OPT_SUID_OK, OPT_EXEC_OK): New macros. (std_runtime_options): Add --suid-ok and --exec-ok. (set_opts): Set nosuid and noexec from H->nosuid and H->noexec. * opts-common.c (diskfs_common_options): Rename --nosync to --no-sync; leave --nosync as an alias.
1997-07-14(parse_opt):Miles Bader
Turn off synchronous mode when setting a sync interval.
1996-10-24(parents):Miles Bader
Variable removed. (children): New variable. (diskfs_std_runtime_argp): Use CHILDREN instead of PARENTS.
1996-09-23(std_runtime_options):Miles Bader
Change --remount to --update (keep --remount as a deprecated alias). <argp.h>: New include.
1996-06-26(parse_opt): Add hair to share arg parsing state between two parsers that useMiles Bader
the same parse_opt function at the same time.
1996-06-20Initial revisionMiles Bader