Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | (diskfs_set_node_times): Use maptime_read. | Miles Bader | 1996-02-20 | 1 | -22/+18 |
| | |||||
* | (diskfs_nput): It's not valid to touch *NP (by `mutex_unlock | Michael I. Bushnell | 1996-02-15 | 1 | -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 precedes | Michael I. Bushnell | 1996-02-08 | 1 | -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 Bader | 1996-02-07 | 1 | -3/+3 |
| | | | | (diskfs_startup_argp, diskfs_device_startup_argp): Make const. | ||||
* | (diskfs_common_options): Make const. | Miles Bader | 1996-02-07 | 1 | -2/+2 |
| | |||||
* | (std_runtime_options): Make const. | Miles Bader | 1996-02-07 | 1 | -5/+5 |
| | | | | (diskfs_set_options): Make argp structures const. | ||||
* | (startup_options, dev_startup_options, dev_start_argp_parents, | Miles Bader | 1996-02-07 | 1 | -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. Bushnell | 1996-02-07 | 1 | -2/+1 |
| | |||||
* | (diskfs_S_dir_lookup): Make the new peropen we'll pass as dotdot to the | Miles Bader | 1996-02-06 | 1 | -1/+3 |
| | | | | fetch_root with the same flags as DIRCRED->po. | ||||
* | (diskfs_node_rdwr): Handle null AMTREAD. | Roland McGrath | 1996-01-31 | 1 | -1/+4 |
| | |||||
* | (diskfs_S_fsys_set_options): Use rwlock_writer_lock instead of | Roland McGrath | 1996-01-31 | 1 | -5/+5 |
| | | | | rwlock_reader_lock in DO_CHILDREN case. | ||||
* | (diskfs_release_peropen): Free dotdotport when deallocate peropen. | Michael I. Bushnell | 1996-01-30 | 1 | -1/+2 |
| | |||||
* | (diskfs_set_readonly): Deal with ports_inhibit_class_rpcs returning an error. | Miles Bader | 1996-01-27 | 1 | -28/+30 |
| | |||||
* | (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. |