aboutsummaryrefslogtreecommitdiff
path: root/libdiskfs
Commit message (Collapse)AuthorAgeFilesLines
...
* (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.
* (setid):Miles Bader1995-12-281-91/+133
| | | | | | | | | | Don't touch the return params unless we succeed. Add SETID parameter, and just copy old into new unless it's set. Handle the NOLDGENIDS == 0 case correctly. (diskfs_S_file_exec): Use the new setid() properly. Make sure that {GEN,AUX}{UIDS,GIDS} are always in a state where they can be freed.
* (end_using_protid_port): Don't calls ports_port_deref if CRED is null.Roland McGrath1995-12-281-3/+4
|
* (setid): New function.Miles Bader1995-12-281-348/+154
| | | | | | | | | (scan_ids): Moved out of diskfs_S_file_exec. (diskfs_S_file_exec): Move duplicated code into setid(). Make the bogus auth port case work correctly. Deleted old ifdefed-out code. Enable setuid code.
* (diskfs_register_memory_fault_area):Miles Bader1995-12-271-1/+1
| | | | Register both preempter1 and preempter2 in REC instead of preempter1 twice.
* Entire file rewritten to use libc signal preemption facility.Michael I. Bushnell1995-12-231-54/+93
|
* (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
|