Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | (diskfs_remount): Deal with ports_inhibit_class_rpcs returning an error. | Miles Bader | 1996-01-27 | 1 | -2/+4 | |
| | ||||||
* | (diskfs_startup_diskfs): Use ports_create_port instead of ports_allocate_port. | Miles Bader | 1996-01-27 | 1 | -8/+10 | |
| | ||||||
* | (diskfs_shutdown): Deal with ports_inhibit_class_rpcs returning an error. | Miles Bader | 1996-01-27 | 1 | -2/+7 | |
| | ||||||
* | (diskfs_S_io_reauthenticate): Use new version of diskfs_start_protid. | Miles Bader | 1996-01-27 | 1 | -2/+8 | |
| | ||||||
* | (_diskfs_translator_callback2_fn): Use diskfs_create_protid instead of | Miles Bader | 1996-01-27 | 1 | -11/+13 | |
| | | | | diskfs_make_protid, and deal with an error return. | |||||
* | (diskfs_S_dir_lookup): Use diskfs_create_protid instead of | Miles Bader | 1996-01-27 | 1 | -12/+18 | |
| | | | | diskfs_make_protid, and deal with an error return. | |||||
* | Include <fcntl.h>. | Miles Bader | 1996-01-27 | 1 | -0/+1 | |
| | ||||||
* | (diskfs_S_file_getcontrol): | Miles Bader | 1996-01-27 | 1 | -10/+12 | |
| | | | | Use ports_create_port instead of ports_allocate_port. | |||||
* | (diskfs_set_sync_interval): | Miles Bader | 1996-01-27 | 1 | -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 instead | Miles Bader | 1996-01-27 | 1 | -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 Bader | 1996-01-27 | 1 | -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 of | Miles Bader | 1996-01-27 | 1 | -9/+12 | |
| | | | | diskfs_make_protid, and deal with an error return. | |||||
* | (diskfs_S_dir_mkfile): Use diskfs_create_protid instead of | Miles Bader | 1996-01-27 | 1 | -7/+12 | |
| | | | | diskfs_make_protid, and deal with an error return. | |||||
* | (diskfs_S_file_invoke_translator): Use diskfs_create_protid instead of | Miles Bader | 1996-01-27 | 1 | -12/+16 | |
| | | | | diskfs_make_protid, and deal with an error return. | |||||
* | (diskfs_S_file_exec): Use diskfs_create_protid instead of | Miles Bader | 1996-01-27 | 1 | -14/+18 | |
| | | | | diskfs_make_protid, and deal with an error return. | |||||
* | (diskfs_start_protid): Update declaration. | Miles Bader | 1996-01-27 | 1 | -4/+8 | |
| | | | | (diskfs_create_protid): New declaration. | |||||
* | (diskfs_S_io_restrict_auth): Use diskfs_create_protid instead of | Miles Bader | 1996-01-27 | 1 | -6/+12 | |
| | | | | diskfs_make_protid, and deal with an error return. | |||||
* | (diskfs_S_io_duplicate): Use diskfs_create_protid instead of | Miles Bader | 1996-01-27 | 1 | -7/+14 | |
| | | | | diskfs_make_protid, and deal with an error return. | |||||
* | (startup_options): Put boot options in a separate group with a header. | Miles Bader | 1996-01-23 | 1 | -1/+2 | |
| | ||||||
* | (diskfs_S_dir_readdir): Require read permission before succeeding. | Michael I. Bushnell | 1996-01-18 | 1 | -1/+8 | |
| | ||||||
* | (diskfs_S_fsys_getroot): Deallocate ref to dotdot after | Michael I. Bushnell | 1996-01-18 | 1 | -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 the | Michael I. Bushnell | 1996-01-18 | 1 | -2/+2 | |
| | | | | dotdot port to the user. | |||||
* | (installhdrs): Add diskfs-pager.h. | Roland McGrath | 1996-01-06 | 1 | -4/+5 | |
| | | | | (OTHERSRCS): Add disk-pager.c. | |||||
* | Return errors regardless of *AMT--writes are all or nothing. | Roland McGrath | 1996-01-05 | 1 | -4/+0 | |
| | ||||||
* | Return errors regardless of *DATALEN--reads are all or nothing. | Roland McGrath | 1996-01-05 | 1 | -8/+2 | |
| | ||||||
* | (diskfs_end_catch_exception): Pass arg to cthread_data. | Roland McGrath | 1996-01-05 | 1 | -1/+1 | |
| | ||||||
* | Initial revision | Roland McGrath | 1996-01-05 | 2 | -0/+164 | |
| | ||||||
* | (OTHERSRCS): Remove exc.c. | Roland McGrath | 1996-01-04 | 1 | -2/+2 | |
| | ||||||
* | Pass AMT read/write to _diskfs_rdwr_internal, and | Roland McGrath | 1996-01-04 | 1 | -9/+13 | |
| | | | | return success if any bytes were written. | |||||
* | Pass DATALEN read/write to _diskfs_rdwr_internal, and | Roland McGrath | 1996-01-04 | 1 | -9/+15 | |
| | | | | return success if any bytes were written. | |||||
* | (diskfs_catch_exception, diskfs_end_catch_exception): Macros removed. | Roland McGrath | 1996-01-04 | 1 | -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 McGrath | 1996-01-04 | 1 | -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 McGrath | 1996-01-04 | 1 | -52/+52 | |
| | ||||||
* | (_diskfs_rdwr_internal): Rewritten using pager_memcpy. | Roland McGrath | 1996-01-04 | 1 | -49/+11 | |
| | | | | Fix types of args: OFFSET to off_t, make AMT read/write size_t *. | |||||
* | Fix args in _diskfs_rdwr_internal prototype. | Roland McGrath | 1996-01-04 | 1 | -3/+3 | |
| | ||||||
* | (diskfs_S_file_exec): Use fshelp_exec_reauth(). | Miles Bader | 1996-01-01 | 1 | -322/+12 | |
| | | | | (setid, scan_ids): Functions deleted. | |||||
* | (diskfs_S_file_exec): | Miles Bader | 1995-12-29 | 1 | -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 Bader | 1995-12-28 | 1 | -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 McGrath | 1995-12-28 | 1 | -3/+4 | |
| | ||||||
* | (setid): New function. | Miles Bader | 1995-12-28 | 1 | -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 Bader | 1995-12-27 | 1 | -1/+1 | |
| | | | | Register both preempter1 and preempter2 in REC instead of preempter1 twice. | |||||
* | Entire file rewritten to use libc signal preemption facility. | Michael I. Bushnell | 1995-12-23 | 1 | -54/+93 | |
| | ||||||
* | (diskfs_S_fsys_init): Call proc_mark_exec on EXECPROCESS. | Roland McGrath | 1995-12-20 | 1 | -0/+1 | |
| | ||||||
* | (diskfs_S_file_exec) [reauth]: If ISPROC, then don't install returned | Michael I. Bushnell | 1995-12-19 | 1 | -1/+318 | |
| | | | | port; just deallocate it. | |||||
* | (diskfs_checkdirmod): Correctly return error code for failure, not 1. | Michael I. Bushnell | 1995-12-14 | 1 | -3/+11 | |
| | ||||||
* | (diskfs_S_dir_unlink): Don't call fsys_goaway until we've released our | Michael I. Bushnell | 1995-12-04 | 1 | -8/+8 | |
| | | | | lock. | |||||
* | (diskfs_S_dir_unlink): Delete vestigial fetch_control. | Miles Bader | 1995-12-04 | 1 | -9/+0 | |
| | ||||||
* | (_diskfs_rdwr_internal): Declare PROT volatile. | Michael I. Bushnell | 1995-11-21 | 1 | -1/+2 | |
| | ||||||
* | (master_thread_function): Declare to be `static any_t'. | Michael I. Bushnell | 1995-11-21 | 1 | -0/+1 | |
| | ||||||
* | Include <string.h>. | Michael I. Bushnell | 1995-11-21 | 1 | -0/+1 | |
| |