summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
1995-10-13(diskfs_S_file_get_storage_info): Use DISKFS_DEVICE instead of UFS_DEVICE,Miles Bader
and DISKFS_DEVICE_NAME instead of UFS_DEVICE_NAME.
1995-10-13Initial revisionMiles Bader
1995-10-13(std_startup_options): Renamed from std_long_options; converted to argp format.Miles Bader
(std_startup_arg): Renamed from std_startp_argp, converted argp fmt. (diskfs_standard_startup_argp): Renamed from diskfs_standard_startup_options. (parse_startup_opt): Set DISKFS_ARGV. (diskfs_use_mach_device, diskfs_device_arg, dev_startup_options, dev_startup_argp_parents, dev_startup_argp, diskfs_device_startup_argp): New variables. (parse_dev_startup_opt): New function.
1995-10-13(diskfs_parse_runtime_options): Use argp instead of options.Miles Bader
1995-10-13(diskfs_startup_diskfs):Miles Bader
Call diskfs_start_bootstrap if we're the bootstrap file system.
1995-10-13(std_runtime_options): Renamed from long_options, convert to argp format.Miles Bader
(SHORT_OPTIONS): Removed. (diskfs_set_options): Converted to use argp.
1995-10-13(saved_argv): Variable removed.Miles Bader
(diskfs_argv): New variable. Should get set by default arg parser. (diskfs_start_bootstrap): Get rid of ARGV argument. (diskfs_S_fsys_init): Use DISKFS_ARGV instead of SAVED_ARGV. (diskfs_execboot_fsys_startup): Fix args to dir_lookup. Declare PATHBUF and RETRY. (diskfs_S_fsys_init): Put the contents of diskfs_init_completed in here, freeing that routine for user-use.
1995-10-13(diskfs_start_bootstrap): Get rid of ARGV argument.Miles Bader
(diskfs_argv): New declaration. (diskfs_device, diskfs_device_name, diskfs_device_start, diskfs_device_size, diskfs_device_block_size, diskfs_log2_device_block_size, diskfs_log2_device_blocks_per_page, diskfs_device_write_sync, diskfs_device_write_sync, diskfs_device_open, diskfs_console_stdio): New declarations. (diskfs_parse_runtime_options, diskfs_standard_startup_argp): Use argp, not options. Include <argp.h> instead of <options.h>.
1995-10-12Add INTR_INTERFACE marker.Roland McGrath
1995-10-12(file_exec): Remove dealloc[] keywords, and revert EXEC_TASK arg to task_tRoland McGrath
from mach_port_send_t. We cannot safely use dealloc ool or move rights with the current RPC system.
1995-10-12(argp_parse): Correctly mark short options as optional.Miles Bader
1995-10-12(diskfs_execboot_fsys_startup): Use dir_lookup instead ofRoland McGrath
hurd_file_name_lookup to open /servers/exec.
1995-10-11(hol_find_entry): Don't increment ENTRY prematurely.Miles Bader
(hol_entry_help): Print the right documentation string for each entry. (argp_help): Renamed from argp_usage. (make_hol): Deal with a null value of OPT. If there are no entries, don't define the ENTRIES or SHORT_OPTIONS fields. (hol_free): Don't free ENTRIES or SHORT_OPTIONS unless there are any. (hol_sort): Don't sort unless there are some entries. (hol_usage): Don't do anything unless there are some entries. (hol_sort): Sort int he correct order. (hol_append): Implement. (argp_help): Add the ARGP_HELP_SHORT_USAGE case.
1995-10-11(argp_parse):Miles Bader
Update STATE.argp when adding a wrapper to implement the --help option. In general, use the version of variables that are in STATE. Update STATE.index in the case where getopt returns EOF. Correctly translate options. (argp_default_parser, argp_parse): Rename uses of argp_usage* to argp_help*. (argp_parse): Deal with null parser or option fields. If an argp has neither a parser or any options, don't put it in GROUPS. Use comparison with EGROUP, rather than testing the parser field, the end test for iteration over GROUPS. (argp_parse): Pass in the right value for GROUPS to convert_options.
1995-10-11(ARGP_HELP_*, argp_help): Renamed from ARGP_USAGE_* &c.Miles Bader
(ARGP_HELP_STD_HELP): Use ARGP_HELP_SHORT_USAGE instead of ARGP_HELP_USAGE.
1995-10-11(main): Use realloc on a variable in main instead of alloca, since theMiles Bader
storage gets used after parse_opt returns. (options): Converted to argp format. (main): Use argp, not getopt. (usage, USAGE, SHORT_OPTIONS): Deleted. (arg_doc, doc): New variables. Include <argp.h> not <getopt.h>.
1995-10-11(SRCS): Add argp-parse.c, argp-help.c, and line.cMiles Bader
(LCLHDRS): Add line.h and argp.h.
1995-10-11(trivfs_S_file_get_storage_info):Miles Bader
Change type of ADDRESSES to off_t **, and add BLOCK_SIZE parameter.
1995-10-11Initial revisionRoland McGrath
1995-10-11(OBJS): Add main.o; remove fsysServer.o, notifyServer.o.Roland McGrath
(LCLHDRS): Add priv.h and execmutations.h. (exec-MIGSFLAGS): New variable. (exec): Depend on livtrivfs, libthreads, libshouldbeinlibc.
1995-10-11Initial revisionRoland McGrath
1995-10-11Server mechanics removed; now uses libtrivfs/libports.Roland McGrath
Main program split out into main.c. (std_lock): New variable (rwlock). (do_exec): Acquire reader lock to access std_ints and std_ports. (S_exec_setexecdata): Acquire writer lock to change them.
1995-10-11(rpath): New variable.Roland McGrath
($(target)): Use it in link command. ($(libname).so): Likewise. Use $^ instead of $+.
1995-10-11Doc fixes.Miles Bader
1995-10-11(diskfs_init_completed): must --> may.Miles Bader
Add necessary includes.
1995-10-11(fshelp_start_translator_long):Miles Bader
Add values for the dealloc parameters to file_exec (all false). Give away our send right to TASK when we do file_exec. Initialize BOOTSTRAP & TASK so the cleanup code doesn't get confused.
1995-10-11(struct argp_state): Get rid of the PROCESSED_ARG field.Miles Bader
1995-10-11(argp_parse):Miles Bader
Put all the group attributes into structures which get stored in the GROUPS array, rather than having a separate array for each. Implement ARGP_KEY_NO_ARGS in a better way.
1995-10-10(argp_parse): Add support for ARGP_KEY_NO_ARGS.Miles Bader
1995-10-10(struct argp_state): Add PROCESSED_ARG field.Miles Bader
(ARGP_KEY_NO_ARGS): New macro.
1995-10-10[EXEC_IMPORTS]: Use this if defined.Roland McGrath
(exec_exec, exec_init, exec_setexecdata): Use file_t for receiver. (exec_exec): Use mach_port_send_t for FILE.
1995-10-10Initial revisionMiles Bader
1995-10-09(libports.so): Don't depend on libthreads.so.Roland McGrath
1995-10-09Declare _pager_page_errors extern, not common.Roland McGrath
1995-10-09Specify shared library dependencies.Roland McGrath
1995-10-09Pass dealloc args in file_exec calls.Roland McGrath
1995-10-09(diskfs_execboot_fsys_startup): Fix typo in last change.Roland McGrath
1995-10-09(diskfs_execboot_fsys_startup): Pass back a port to /servers/exec in *REAL.Roland McGrath
1995-10-08Add fwd.Miles Bader
1995-10-08(S_fsys_getpriv): Add new extra args.Miles Bader
1995-10-07(trivfs_S_fsys_getpriv): Add poly args.Roland McGrath
1995-10-07(trivfs_S_fsys_getpriv): Add poly args.Roland McGrath
1995-10-07(file_exec): Add dealloc[] flag to most args.Roland McGrath
1995-10-07(libdiskfs.so): Depend on libpager, libioserver, libfshelp, libthreads.Roland McGrath
1995-10-07(libtrivfs.so): Depend on ../libports/libports.so.Roland McGrath
1995-10-07($(libname).so): Pass $(LDFLAGS) and $($@-LDFLAGS).Roland McGrath
1995-10-07Protect against multiple inclusion.Roland McGrath
Include cthreads.h and assert.h.
1995-10-07(diskfs_S_file_get_storage_info):Miles Bader
Change type of ADDRESSES to off_t **, and add the BLOCK_SIZE parameter.
1995-10-07(trivfs_S_file_get_storage_info):Miles Bader
Change type of RUNS to off_t **, and add the BLOCK_SIZE parameter.
1995-10-07(trivfs_S_dir_link): Swap first two arguments.Miles Bader