aboutsummaryrefslogtreecommitdiff
path: root/libdiskfs
Commit message (Collapse)AuthorAgeFilesLines
* (diskfs_set_node_times): Use maptime_read.Miles Bader1996-02-201-22/+18
|
* (diskfs_nput): It's not valid to touch *NP (by `mutex_unlockMichael I. Bushnell1996-02-151-2/+5
| | | | | (&np->lock);') after we have called diskfs_drop_node. So don't do it in that case.
* (diskfs_nput): Before bumping NP->references (which precedesMichael I. Bushnell1996-02-081-2/+2
| | | | | | diskfs_try_dropping_softrefs), *lock* diskfs_node_refcnt_lock, not mutant unlock. (diskfs_nrele): Likewise.
* (diskfs_parse_runtime_options): Make STANDARD_ARGP const.Miles Bader1996-02-071-3/+3
| | | | (diskfs_startup_argp, diskfs_device_startup_argp): Make const.
* (diskfs_common_options): Make const.Miles Bader1996-02-071-2/+2
|
* (std_runtime_options): Make const.Miles Bader1996-02-071-5/+5
| | | | (diskfs_set_options): Make argp structures const.
* (startup_options, dev_startup_options, dev_start_argp_parents,Miles Bader1996-02-071-10/+10
| | | | | | dev_startup_argp, startup_common_argp, startup_argp_parents, startup_argp, diskfs_startup_argp): Make const.
* (diskfs_S_dir_lookup): Revert last change.Michael I. Bushnell1996-02-071-2/+1
|
* (diskfs_S_dir_lookup): Make the new peropen we'll pass as dotdot to theMiles Bader1996-02-061-1/+3
| | | | fetch_root with the same flags as DIRCRED->po.
* (diskfs_node_rdwr): Handle null AMTREAD.Roland McGrath1996-01-311-1/+4
|
* (diskfs_S_fsys_set_options): Use rwlock_writer_lock instead ofRoland McGrath1996-01-311-5/+5
| | | | rwlock_reader_lock in DO_CHILDREN case.
* (diskfs_release_peropen): Free dotdotport when deallocate peropen.Michael I. Bushnell1996-01-301-1/+2
|
* (diskfs_set_readonly): Deal with ports_inhibit_class_rpcs returning an error.Miles Bader1996-01-271-28/+30
|
* (diskfs_remount): Deal with ports_inhibit_class_rpcs returning an error.Miles Bader1996-01-271-2/+4
|
* (diskfs_startup_diskfs): Use ports_create_port instead of ports_allocate_port.Miles Bader1996-01-271-8/+10
|
* (diskfs_shutdown): Deal with ports_inhibit_class_rpcs returning an error.Miles Bader1996-01-271-2/+7
|
* (diskfs_S_io_reauthenticate): Use new version of diskfs_start_protid.Miles Bader1996-01-271-2/+8
|
* (_diskfs_translator_callback2_fn): Use diskfs_create_protid instead ofMiles Bader1996-01-271-11/+13
| | | | diskfs_make_protid, and deal with an error return.
* (diskfs_S_dir_lookup): Use diskfs_create_protid instead ofMiles Bader1996-01-271-12/+18
| | | | diskfs_make_protid, and deal with an error return.
* Include <fcntl.h>.Miles Bader1996-01-271-0/+1
|
* (diskfs_S_file_getcontrol):Miles Bader1996-01-271-10/+12
| | | | Use ports_create_port instead of ports_allocate_port.
* (diskfs_set_sync_interval):Miles Bader1996-01-271-13/+21
| | | | | | | Use ports_create_port instead of ports_allocate_port. Deal with ports_inhibit_class_rpcs returning an error. (periodic_sync): Pass in the MSG_ID arg to ports_begin_rpc, and deal with any error returned.
* (diskfs_start_protid): Return an error now, and use ports_create_port insteadMiles Bader1996-01-271-19/+31
| | | | | | of ports_allocate_port. (diskfs_create_protid): New function. (diskfs_make_protid): Call diskfs_create_protid.
* (diskfs_start_bootstrap, diskfs_S_exec_startup_get_info,Miles Bader1996-01-271-22/+28
| | | | | | | | diskfs_execboot_fsys_startup, diskfs_S_fsys_init): Use diskfs_create_protid instead of diskfs_make_protid, and deal with an error return. (start_execserver, diskfs_start_bootstrap): Use ports_create_port instead of ports_allocate_port.
* (diskfs_S_fsys_getroot): Use diskfs_create_protid instead ofMiles Bader1996-01-271-9/+12
| | | | diskfs_make_protid, and deal with an error return.
* (diskfs_S_dir_mkfile): Use diskfs_create_protid instead ofMiles Bader1996-01-271-7/+12
| | | | diskfs_make_protid, and deal with an error return.
* (diskfs_S_file_invoke_translator): Use diskfs_create_protid instead ofMiles Bader1996-01-271-12/+16
| | | | diskfs_make_protid, and deal with an error return.
* (diskfs_S_file_exec): Use diskfs_create_protid instead ofMiles Bader1996-01-271-14/+18
| | | | diskfs_make_protid, and deal with an error return.
* (diskfs_start_protid): Update declaration.Miles Bader1996-01-271-4/+8
| | | | (diskfs_create_protid): New declaration.
* (diskfs_S_io_restrict_auth): Use diskfs_create_protid instead ofMiles Bader1996-01-271-6/+12
| | | | diskfs_make_protid, and deal with an error return.
* (diskfs_S_io_duplicate): Use diskfs_create_protid instead ofMiles Bader1996-01-271-7/+14
| | | | diskfs_make_protid, and deal with an error return.
* (startup_options): Put boot options in a separate group with a header.Miles Bader1996-01-231-1/+2
|
* (diskfs_S_dir_readdir): Require read permission before succeeding.Michael I. Bushnell1996-01-181-1/+8
|
* (diskfs_S_fsys_getroot): Deallocate ref to dotdot afterMichael I. Bushnell1996-01-181-0/+1
| | | | diskfs_make_peropen, because the latter does not eat a reference.
* (diskfs_S_fsys_getroot): In symlink case, use MOVE_SEND to return theMichael I. Bushnell1996-01-181-2/+2
| | | | dotdot port to the user.
* (installhdrs): Add diskfs-pager.h.Roland McGrath1996-01-061-4/+5
| | | | (OTHERSRCS): Add disk-pager.c.
* Return errors regardless of *AMT--writes are all or nothing.Roland McGrath1996-01-051-4/+0
|
* Return errors regardless of *DATALEN--reads are all or nothing.Roland McGrath1996-01-051-8/+2
|
* (diskfs_end_catch_exception): Pass arg to cthread_data.Roland McGrath1996-01-051-1/+1
|
* Initial revisionRoland McGrath1996-01-052-0/+164
|
* (OTHERSRCS): Remove exc.c.Roland McGrath1996-01-041-2/+2
|
* Pass AMT read/write to _diskfs_rdwr_internal, andRoland McGrath1996-01-041-9/+13
| | | | return success if any bytes were written.
* Pass DATALEN read/write to _diskfs_rdwr_internal, andRoland McGrath1996-01-041-9/+15
| | | | return success if any bytes were written.
* (diskfs_catch_exception, diskfs_end_catch_exception): Macros removed.Roland McGrath1996-01-041-55/+2
| | | | | (diskfs_register_memory_fault_area, diskfs_unregister_memory_fault_area): Decls removed.
* (diskfs_node_rdwr): Pass AMTREAD read/write to _diskfs_rdwr_internal,Roland McGrath1996-01-041-12/+11
| | | | | instead of assuming it wrote the whole amount. Update the node if anything was transferred, regardless of ERR.
* Use size_t instead of int for amounts in diskfs_node_rdwr prototype.Roland McGrath1996-01-041-52/+52
|
* (_diskfs_rdwr_internal): Rewritten using pager_memcpy.Roland McGrath1996-01-041-49/+11
| | | | Fix types of args: OFFSET to off_t, make AMT read/write size_t *.
* Fix args in _diskfs_rdwr_internal prototype.Roland McGrath1996-01-041-3/+3
|
* (diskfs_S_file_exec): Use fshelp_exec_reauth().Miles Bader1996-01-011-322/+12
| | | | (setid, scan_ids): Functions deleted.
* (diskfs_S_file_exec):Miles Bader1995-12-291-11/+11
| | | | | Always reauth the proc port, as exec does not do it, even in the secure case. Set the proc's owner too.