aboutsummaryrefslogtreecommitdiff
path: root/libdiskfs
Commit message (Collapse)AuthorAgeFilesLines
* (diskfs_S_fsys_init): Call proc_mark_exec on EXECPROCESS.Roland McGrath1995-12-201-0/+1
|
* (diskfs_S_file_exec) [reauth]: If ISPROC, then don't install returnedMichael I. Bushnell1995-12-191-1/+318
| | | | port; just deallocate it.
* (diskfs_checkdirmod): Correctly return error code for failure, not 1.Michael I. Bushnell1995-12-141-3/+11
|
* (diskfs_S_dir_unlink): Don't call fsys_goaway until we've released ourMichael I. Bushnell1995-12-041-8/+8
| | | | lock.
* (diskfs_S_dir_unlink): Delete vestigial fetch_control.Miles Bader1995-12-041-9/+0
|
* (_diskfs_rdwr_internal): Declare PROT volatile.Michael I. Bushnell1995-11-211-1/+2
|
* (master_thread_function): Declare to be `static any_t'.Michael I. Bushnell1995-11-211-0/+1
|
* Include <string.h>.Michael I. Bushnell1995-11-211-0/+1
|
* (diskfs_get_options): Bother providing declaration.Michael I. Bushnell1995-11-211-0/+5
|
* (diskfs_S_file_get_fs_options): Revert last change.Michael I. Bushnell1995-11-211-1/+1
|
* (diskfs_S_fsys_get_options): Revert last change.Michael I. Bushnell1995-11-211-1/+1
|
* (diskfs_get_options): Revert last change.Michael I. Bushnell1995-11-211-1/+1
|
* (diskfs_S_fsys_get_options): diskfs_get_options ->Michael I. Bushnell1995-11-211-1/+1
| | | | _diskfs_get_options.
* (diskfs_S_file_get_fs_options): diskfs_get_options ->Michael I. Bushnell1995-11-211-1/+1
| | | | _diskfs_get_options.c
* (_diskfs_get_options): Renamed from diskfs_get_options.Michael I. Bushnell1995-11-211-1/+1
|
* Include <string.h>.Michael I. Bushnell1995-11-211-2/+3
| | | | | (diskfs_S_file_get_fs_options): Dereference DATA_LEN in call to vm_allocate.
* (diskfs_S_exec_startup_get_info): Renamed from diskfs_S_exec_startup,Roland McGrath1995-11-181-105/+48
| | | | slightly different protocol. Unused exec server stubs removed.
* (MIGSTUBS): Replaced execServer.o with exec_startupServer.o.Roland McGrath1995-11-181-2/+2
|
* (diskfs_demuxer): diskfs_exec_server --> diskfs_exec_startup_server.Miles Bader1995-11-131-2/+2
|
* (diskfs_S_file_lock_stat): Lock around reads to make sure they areMichael I. Bushnell1995-11-131-1/+3
| | | | mutually consistent.
* (diskfs_S_io_readable): Set *AMOUNT to zero if filepointer is past theMichael I. Bushnell1995-11-131-2/+5
| | | | end of the file.
* (diskfs_S_dir_link): Now that args are swapped, deallocate port ref onMichael I. Bushnell1995-11-091-1/+1
| | | | FILECRED instead of DIRCRED.
* (OTHERSRCS): Add opts-get.c.Miles Bader1995-11-061-1/+2
| | | | (FSSRCS): Add file-get-fs-opts.c.
* Initial revisionMiles Bader1995-11-064-0/+233
|
* (_diskfs_translator_callback2_fn):Miles Bader1995-11-061-2/+2
| | | | | UNDERLYING_TYPE should be a pointer. As should the UIDS & GIDS args to diskfs_make_protid.
* (diskfs_S_dir_lookup): Fix various typos.Miles Bader1995-11-061-7/+8
| | | | | (short_circuited_callback1): Dereference ARGZ & ARGZ_LEN. Include <hurd/paths.h>
* (diskfs_S_fsys_get_options): New function.Miles Bader1995-11-061-0/+31
|
* (diskfs_sync_interval): New variable.Miles Bader1995-11-061-2/+6
| | | | (diskfs_set_sync_interval): Set DISKFS_SYNC_INTERVAL.
* (diskfs_S_fsys_getroot): Pass both callback args to fshelp_fetch_root.Miles Bader1995-11-061-1/+2
|
* (diskfs_S_file_get_translator): Initialize ERROR.Miles Bader1995-11-061-1/+1
|
* Initial revisionMiles Bader1995-11-051-0/+107
|
* (_diskfs_translator_callback1, _diskfs_translator_callback2): Declare.Miles Bader1995-11-021-2/+3
|
* (diskfs_startup_diskfs) Add FLAGS arg; use.Miles Bader1995-11-021-2/+2
|
* (_diskfs_translator_callback1_fn, _diskfs_translator_callback2_fn):Miles Bader1995-11-021-23/+28
| | | | | | New functions, replacing the single original. (_diskfs_translator_callback1, _diskfs_translator_callback2): New variables, replacing the single original.
* (diskfs_S_dir_lookup): Add new callback arg to fshelp_fetch_root call.Miles Bader1995-11-021-28/+8
| | | | | Change short_circuited_callback1 to reflect the split into two callbacks (we use the global diskfs callback for the other).
* (diskfs_S_fsys_startup): Add FLAGS arg; use.Miles Bader1995-11-021-1/+2
|
* (diskfs_execboot_fsys_startup): Add FLAGS arg; use.Miles Bader1995-11-021-5/+4
|
* (diskfs_startup_diskfs, diskfs_execboot_fsys_startup): Add FLAGS arg.Miles Bader1995-11-021-4/+5
|
* (diskfs_S_dir_lookup): Deal correctly with short-circuited translators thatMiles Bader1995-10-311-5/+72
| | | | | diskfs doesn't implement itself. (major, minor): New macros -- temporarily here until libc exports them.
* (diskfs_S_file_set_translator):Miles Bader1995-10-311-3/+5
| | | | | | Add missing else. Use makedev macro instead of doing it by hand. (makedev): New macro -- temporarily here until libc exports one.
* (OTHERSRCS): Add init-completed.c, dev-open.c, dev-io.c, dev-globals.c,Miles Bader1995-10-311-5/+6
| | | | console.c, readonly.c, remount.c, opts-common.c.
* (periodic_sync): Hold DISKFS_FSYS_LOCK for reading while syncing.Miles Bader1995-10-191-0/+2
|
* (diskfs_S_fsys_getroot): Hold DISKFS_FSYS_LOCK for reading.Miles Bader1995-10-191-6/+8
|
* (diskfs_S_io_map): Pass the appropiate vm protection to diskfs_get_filemap.Miles Bader1995-10-191-5/+28
| | | | | If this node isn't O_RDWR, only return the appropiate memobj. Include <fcntl.h>.
* (diskfs_execboot_fsys_startup):Miles Bader1995-10-191-2/+2
| | | | | | | 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.
* (_diskfs_translator_callback_fn):Miles Bader1995-10-191-1/+6
| | | | | | | 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.
* (diskfs_startup_diskfs):Miles Bader1995-10-191-0/+4
| | | | Call diskfs_readonly_changed if we're starting up writable.
* (diskfs_common_options): New declaration.Miles Bader1995-10-191-0/+2
|
* (diskfs_S_fsys_set_options):Miles Bader1995-10-191-11/+18
| | | | | | 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.
* (periodic_sync): Hold DISKFS_FSYS_LOCK for reading while syncing.Miles Bader1995-10-191-0/+6
|