summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
1995-10-19(flush_pokes): New function.Miles Bader
1995-10-19entered into RCSMichael I. Bushnell
1995-10-19(diskfs_node_reload): New function.Miles Bader
(iget): Move allocsize setting into read_disknode.
1995-10-19(main):Miles Bader
Always include VM_PROT_WRITE in max prot. Move stuff into get_hypermetadata. Writable init code moved to diskfs_readonly_changed. (diskfs_reload_global_state): New function.
1995-10-19(struct user_pager_info): Add max_prot field.Miles Bader
(struct rwlock): Structure deleted. (rwlock_init, rwlock_reader_unlock, rwlock_reader_lock, rwlock_writer_lock, rwlock_writer_unlock): Functions deleted. (zeroblock, sblock, csum): Declare extern. (flush_node_pager, flush_pokes): New declarations.
1995-10-19(diskfs_get_filemap): Add PROT parameter, & use it.Miles Bader
(diskfs_pager_users): Split out block_caching & enable_caching. (block_caching, enable_caching, diskfs_max_user_pager_prot): New functions. (flush_node_pager): New function.
1995-10-19(diskfs_readonly_changed): New function.Miles Bader
(get_hypermetadata): Move compat_mode futzing & disk size validation here from main. Only allocate SBLOCK if not already done. Deallocate any old ZEROBLOCK and CSUM storage. (zeroblock, sblock, csum): Define (were common). (diskfs_readonly_changed): New function.
1995-10-19(diskfs_lookup, diskfs_dirempty): Give diskfs_get_filemap a protection arg.Miles Bader
1995-10-19(periodic_sync): Hold DISKFS_FSYS_LOCK for reading while syncing.Miles Bader
1995-10-19(diskfs_S_fsys_getroot): Hold DISKFS_FSYS_LOCK for reading.Miles Bader
1995-10-19(diskfs_S_io_map): Pass the appropiate vm protection to diskfs_get_filemap.Miles Bader
If this node isn't O_RDWR, only return the appropiate memobj. Include <fcntl.h>.
1995-10-19(diskfs_execboot_fsys_startup):Miles Bader
Open exec's realnode read-only for now, since we know it doesn't matter and having gratuitously writable nodes around prevents us from starting up or going read-only. (diskfs_S_fsys_init): Don't make the cwdir/crdir right with O_WRITE.
1995-10-19(_diskfs_translator_callback_fn):Miles Bader
Open the new translator's realnode read-only for now, since we know it doesn't matter and gratuitously writable nodes prevent us from starting up or going read-only. The fsys_startup interface should change very soon and make this irrelevant anyway.
1995-10-19(diskfs_startup_diskfs):Miles Bader
Call diskfs_readonly_changed if we're starting up writable.
1995-10-19(diskfs_common_options): New declaration.Miles Bader
1995-10-19(diskfs_S_fsys_set_options):Miles Bader
Hold DISKFS_FSYS_LOCK for writing while setting our own options, and for reading while setting our children's. Dereference PT even when a child filesystem returns an error.
1995-10-19(periodic_sync): Hold DISKFS_FSYS_LOCK for reading while syncing.Miles Bader
1995-10-19(diskfs_fsys_lock): Now a rwlock.Miles Bader
(diskfs_shutdown): Lock DISKFS_FSYS_LOCK for writing.
1995-10-19(startup_options): Remove options common to both runtime and startup.Miles Bader
(startup_common_argp, startup_argp_parents): New variables. (startup_argp): Include parents.
1995-10-19(_diskfs_rdwr_internal):Miles Bader
Pass the second protection arg to diskfs_get_filemap. Only map our i/o region with as much permission as we need.
1995-10-19(diskfs_set_options):Miles Bader
Rework readonly transition & remounting. Now they should actually work. (std_runtime_options): Remove options common to both runtime and startup. (diskfs_set_options): Use the common options.
1995-10-19Initial revisionMiles Bader
1995-10-19Initial revisionMiles Bader
1995-10-19Include <rwlock.h>Miles Bader
(diskfs_fsys_lock): Renamed from diskfs_shutdown_lock. Change to a struct rwlock. (diskfs_readonly_changed, diskfs_reload_global_state, diskfs_node_reload, diskfs_max_user_pager_prot, diskfs_set_readonly, diskfs_remount): New declarations. (diskfs_readonly_changed): New declaration. (disksf_get_filemap): Add prot parameter. (diskfs_main_request_loop): Declaration removed.
1995-10-19entered into RCSMichael I. Bushnell
1995-10-19Formerly main.c.~5~Michael I. Bushnell
1995-10-19Formerly ethernet.c.~9~Michael I. Bushnell
1995-10-19Formerly main.c.~4~Michael I. Bushnell
1995-10-19Formerly ethernet.c.~8~Michael I. Bushnell
1995-10-19Formerly pfinet.h.~7~Michael I. Bushnell
1995-10-18(check_hashbang: prepare_args): Enable and clean up code to guess the nameRoland McGrath
of the script before resorting to /dev/fd.
1995-10-18(diskfs_S_file_exec): Return EACCES for attempts to execute aMichael I. Bushnell
directory. Dike out totally bogus set[ug]id code. Bother to lock NP around critical section.
1995-10-18(options): Converted to argp format.Miles Bader
(main): Use argp, not getopt. (usage, USAGE, SHORT_OPTIONS): Deleted. (arg_doc, doc): New variables. Include <argp.h> not <getopt.h>.
1995-10-18(options): Converted to argp format.Miles Bader
(main): Use argp, not getopt. (usage, USAGE, SHORT_OPTIONS): Deleted. Include <argp.h> not <getopt.h>.
1995-10-18(options): Converted to argp format.Miles Bader
(main): Use argp, not getopt. (usage, USAGE, SHORT_OPTIONS): Deleted. (arg_doc): New variable. Include <argp.h> not <getopt.h>.
1995-10-18(parse_enum): Use ARGP_HELP_STD_ERR.Miles Bader
1995-10-18(pfix): New function.Miles Bader
(pfatal, pwarn, errexit): Print DEVICE_NAME too if in preen mode. (pinode): Take a message & args to print as well.
1995-10-18Declare DEVICE_NAME.Miles Bader
Change declaration of pinode. Change LFNAME to char*.
1995-10-18(setup): Set DEVICE_NAME.Miles Bader
(lfname, lfmode): Variables moved to main.c.
1995-10-18(pass5): Call pfix instead of printf.Miles Bader
1995-10-18(pass4): If an unlinked file can't be reconnected, offer to clear it. Once aMiles Bader
reconnect attempt fails, don't try again. (pass4): Use changed pinode. (pass4): Call pfix instead of printf.
1995-10-18(pass3): Use changed pinode.Miles Bader
(pass3): Call pfix instead of printf.
1995-10-18(pass2): Adjust our record of link counts when we add/change dir entries;Miles Bader
also print error messages when we can't. (pass2): Use changed pinode. (pass2): Call pfix instead of printf.
1995-10-18(pass1): Only print progress report if not in preen mode.Miles Bader
(pass1): Change the extent of DBWARN & IBWARN so that they actually work. (pass1): Call pfix instead of printf.
1995-10-18(linkup): Print the value of LFNAME rather than `lost+found'.Miles Bader
(searchdir, changeino): Fix backward compare. (linkup): Don't fail when makeentry succeeds. (searchdir): Make searchdir return zero if there's an error during the search. (linkup): Print appropiate error messages if searchdir fails. (validdir): Get rid of extra newlines in error messages -- everyone who calls this routine prints extra information if it fails, which should immediately follow.
1995-10-18(main): Only print section headers if not in preen mode.Miles Bader
(main): Use getopt to parse command line options. (usage): New function. (options): New variable. (lfname, lfmode): Variables moved here from setup.c. (lfname): Made into a char* so that we can change it. (lfmode): Get rid of IFDIR; it's added when necessary.
1995-10-18(check_hashbang): Copy passed args from the right place.Roland McGrath
1995-10-18Initial revisionRoland McGrath
1995-10-18(struct execdata): Moved to priv.h.Roland McGrath
(std_*, finish): Make global. (do_exec): Only reset CWDIR when null, even if secure. Actually call check_hashbang and return success if it does. Use new hurd_file_name_lookup protocol with private callbacks to open interpreter file on behalf of client. Remove `bootout' label; use `stdout' or `out' as appropriate instead. At `out' label always deref BOOT, which cleans it up iff necessary. (S_exec_exec): #if 0 out $EXECSERVERS processing for time being.
1995-10-18(SRCS, OBJS): Add hashexec.[co].Roland McGrath
(DIST_FILES): Remove it from here.