aboutsummaryrefslogtreecommitdiff
path: root/libdiskfs
Commit message (Collapse)AuthorAgeFilesLines
* (diskfs_start_protid): Use new args for ports_allocate_port.Michael I. Bushnell1995-06-091-2/+3
|
* (diskfs_S_fsys_startup): Use ports_lookup_port and ports_port_derefMichael I. Bushnell1995-06-091-3/+4
| | | | instead of ports_check_port_type and ports_done_with_port.
* (diskfs_start_bootstrap): Use new args for ports_allocate_port.Michael I. Bushnell1995-06-091-12/+17
| | | | | | | | | (start_execserver): Likewise. (diskfs_S_exec_startup): Use ports_lookup_port and ports_port_deref instead of ports_check_port_type and ports_done_with_port. (diskfs_execboot_fsys_startup): Likewise. (diskfs_S_fsys_init): Likewise. (diskfs_S_fsys_getpriv): Likewise.
* (diskfs_S_fsys_goaway): Use ports_lookup_port and ports_port_derefMichael I. Bushnell1995-06-091-3/+4
| | | | instead of ports_check_port_type and ports_done_with_port.
* (diskfs_S_fsys_getroot): Use ports_lookup_port and ports_port_derefMichael I. Bushnell1995-06-091-3/+4
| | | | instead of ports_check_port_type and ports_done_with_port.
* (diskfs_shutdown_lock, diskfs_protid_class, diskfs_transboot_class,Michael I. Bushnell1995-06-091-0/+15
| | | | | | diskfs_control_class, diskfs_execboot_class, diskfs_initboot_class, diskfs_port_bucket): New variables. (diskfs_pager_users): New function declaration.
* (diskfs_shutdown_soft_ports): Deleted decl.Michael I. Bushnell1995-06-061-51/+7
| | | | | (ports_demuxer): Deleted decl. (diskfs_demuxer): New decl.
* (diskfs_set_options): Don't fall through to the error case from the 's' one!Miles Bader1995-05-221-1/+2
| | | | Use ARG instead of the global OPTARG.
* (diskfs_S_file_getcontrol): Unlock _diskfs_control_lock lock instead ofMiles Bader1995-05-201-1/+1
| | | | locking it again!
* (OTHERSRCS): Add opts-set.c, opts-std-startup.c, and opts-runtime-def.c.Miles Bader1995-05-201-3/+8
| | | | | (OBJS): Add argz.o & options.o. (REMHDRS): Add argz.h & options.h.
* Initial revisionMiles Bader1995-05-203-0/+199
|
* (diskfs_S_fsys_set_options): Extract the argument vector and callMiles Bader1995-05-201-4/+12
| | | | diskfs_set_options.
* (diskfs_standard_startup_options): Declare new variable.Miles Bader1995-05-201-0/+22
| | | | | | (diskfs_set_options): Declare new function. (diskfs_parse_runtime_options): Ditto. Include <options.h> (currently in ../lib).
* (diskfs_startup_diskfs): Start periodic background syncing, if enabled.Miles Bader1995-05-181-0/+4
|
* Don't start auto-syncing in diskfs_spawn_first_thread, which is way too early!Miles Bader1995-05-181-2/+0
| | | | [And thank god for fsck -b ...]
* (diskfs_execserver_task): New variable.Roland McGrath1995-05-131-4/+6
| | | | | | (diskfs_parse_bootargs): Take a third integer arg before the device name, our name for the task port of the exec server, which is loaded and ready to run but suspended.
* (start_execserver): Don't create and load a task; the exec server file isRoland McGrath1995-05-131-57/+14
| | | | | no longer linked into the filesystem. Just set the bootstrap port of diskfs_execserver_task and resume it.
* Add fsys_set_options, replacing fsys_mod_readonly.Miles Bader1995-05-121-4/+4
|
* Rename fsys-readonly.c to fsys-options.c (as the function is now calledMiles Bader1995-05-121-1/+1
| | | | fsys_set_options).
* (diskfs_spawn_first_thread): Start background syncing.Miles Bader1995-05-121-0/+2
|
* Initial revisionMiles Bader1995-05-122-0/+131
|
* (OTHERSRCS): Add sync-interval.c and sync-default.c.Miles Bader1995-05-121-1/+2
|
* Add declarations of diskfs_set_sync_interval and diskfs_default_sync_interval.Miles Bader1995-05-121-0/+12
|
* (diskfs_S_io_read): If the offset is past the end of the file, thenMichael I. Bushnell1995-05-121-1/+3
| | | | return EOF.
* (diskfs_drop_node): Deal cleanly with errors in diskfs_truncate.Michael I. Bushnell1995-04-281-0/+6
|
* (diskfs_nrele, diskfs_nput): We need to hold a real reference aroundMichael I. Bushnell1995-04-281-4/+41
| | | | | | the call to diskfs_try_dropping_softrefs, because that's a user-supplied routine that might itself rely on the reference counting system.
* (diskfs_create_node): Return EROFS if diskfs_readonly.Miles Bader1995-04-231-0/+3
|
* (diskfs_S_dir_rmdir): Do fsys_goaway for translated nodes beingMichael I. Bushnell1995-04-051-0/+38
| | | | unlinked.
* Fix nets.Michael I. Bushnell1995-04-051-0/+3
|
* (diskfs_S_dir_unlink): Do fsys_goaway for translated nodes beingMichael I. Bushnell1995-04-051-0/+35
| | | | unlinked.
* The previous change mistakenly changed an instance of MACH_MSG_TYPE_MAKE_SENDMiles Bader1995-04-041-1/+1
| | | | to MACH_MSG_TYPE_COPY_SEND.
* (diskfs_S_file_exec): Using MOVE_SEND in call to exec_exec loses,Michael I. Bushnell1995-04-041-6/+16
| | | | | | because it consumes a reference, which will be consumed again by mach_msg_server if we return an error. So use COPY_SEND instead, and deallocate the rights ourselves only when we are to return success.
* (diskfs_S_file_set_translator): Only destroy existing activeMichael I. Bushnell1995-03-311-9/+11
| | | | | translator if ACTIVE_FLAGS will change it. If the existing active translator is provided then don't do anything.
* (diskfs_S_io_stat): Typo.Michael I. Bushnell1995-03-171-1/+1
|
* (diskfs_rename_dir): If we are synchronous, update the one node ourMichael I. Bushnell1995-03-171-2/+2
| | | | caller doesn't have access to.
* (diskfs_S_dir_mkdir): Typo.Michael I. Bushnell1995-03-171-2/+2
|
* (diskfs_S_dir_lookup): Typo.Michael I. Bushnell1995-03-171-2/+2
|
* Back out previous change.Michael I. Bushnell1995-03-173-42/+21
|
* Back out changes to protid and associated permission checkingMichael I. Bushnell1995-03-171-101/+33
| | | | functions.
* (diskfs_S_dir_mkfile): Typo.Michael I. Bushnell1995-03-171-2/+2
|
* (diskfs_S_dir_link): Fix typo.Michael I. Bushnell1995-03-171-1/+1
|
* (_diskfs_idcheckdirmod): Remove underscore.Michael I. Bushnell1995-03-171-1/+1
|
* (_diskfs_idcheckdirmod): `diskfs_hasuid' -> _diskfs_idhasuid.Michael I. Bushnell1995-03-171-1/+1
| | | | (CHANGE_NODE_FIELD): Remove trailing space on backslashed line.
* (_diskfs_idcheckdirmod): `cred' -> `id'.Michael I. Bushnell1995-03-171-3/+3
| | | | (diskfs_idhasgid): Likewise.
* (diskfs_node_rdwr): Implement diskfs_synchronous.Michael I. Bushnell1995-03-171-1/+8
|
* (diskfs_drop_node): Implement diskfs_synchronous.Michael I. Bushnell1995-03-171-2/+2
|
* (diskfs_init_dir): Don't do diskfs_synchronous here.Michael I. Bushnell1995-03-171-9/+0
|
* (diskfs_clear_directory): Don't to diskfs_synchronous here.Michael I. Bushnell1995-03-171-9/+0
|
* (diskfs_S_fsys_syncfs): Implement diskfs_synchronous.Michael I. Bushnell1995-03-171-1/+4
|
* (diskfs_S_io_read): Implement diskfs_synchronous.Michael I. Bushnell1995-03-171-1/+3
|