summaryrefslogtreecommitdiff
path: root/libdiskfs
AgeCommit message (Collapse)Author
1996-01-27(diskfs_set_sync_interval):Miles Bader
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.
1996-01-27(diskfs_start_protid): Return an error now, and use ports_create_port insteadMiles Bader
of ports_allocate_port. (diskfs_create_protid): New function. (diskfs_make_protid): Call diskfs_create_protid.
1996-01-27(diskfs_start_bootstrap, diskfs_S_exec_startup_get_info,Miles Bader
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.
1996-01-27(diskfs_S_fsys_getroot): Use diskfs_create_protid instead ofMiles Bader
diskfs_make_protid, and deal with an error return.
1996-01-27(diskfs_S_dir_mkfile): Use diskfs_create_protid instead ofMiles Bader
diskfs_make_protid, and deal with an error return.
1996-01-27(diskfs_S_file_invoke_translator): Use diskfs_create_protid instead ofMiles Bader
diskfs_make_protid, and deal with an error return.
1996-01-27(diskfs_S_file_exec): Use diskfs_create_protid instead ofMiles Bader
diskfs_make_protid, and deal with an error return.
1996-01-27(diskfs_start_protid): Update declaration.Miles Bader
(diskfs_create_protid): New declaration.
1996-01-27(diskfs_S_io_restrict_auth): Use diskfs_create_protid instead ofMiles Bader
diskfs_make_protid, and deal with an error return.
1996-01-27(diskfs_S_io_duplicate): Use diskfs_create_protid instead ofMiles Bader
diskfs_make_protid, and deal with an error return.
1996-01-23(startup_options): Put boot options in a separate group with a header.Miles Bader
1996-01-18(diskfs_S_dir_readdir): Require read permission before succeeding.Michael I. Bushnell
1996-01-18(diskfs_S_fsys_getroot): Deallocate ref to dotdot afterMichael I. Bushnell
diskfs_make_peropen, because the latter does not eat a reference.
1996-01-18(diskfs_S_fsys_getroot): In symlink case, use MOVE_SEND to return theMichael I. Bushnell
dotdot port to the user.
1996-01-06(installhdrs): Add diskfs-pager.h.Roland McGrath
(OTHERSRCS): Add disk-pager.c.
1996-01-05Return errors regardless of *AMT--writes are all or nothing.Roland McGrath
1996-01-05Return errors regardless of *DATALEN--reads are all or nothing.Roland McGrath
1996-01-05(diskfs_end_catch_exception): Pass arg to cthread_data.Roland McGrath
1996-01-05Initial revisionRoland McGrath
1996-01-04(OTHERSRCS): Remove exc.c.Roland McGrath
1996-01-04Pass AMT read/write to _diskfs_rdwr_internal, andRoland McGrath
return success if any bytes were written.
1996-01-04Pass DATALEN read/write to _diskfs_rdwr_internal, andRoland McGrath
return success if any bytes were written.
1996-01-04(diskfs_catch_exception, diskfs_end_catch_exception): Macros removed.Roland McGrath
(diskfs_register_memory_fault_area, diskfs_unregister_memory_fault_area): Decls removed.
1996-01-04(diskfs_node_rdwr): Pass AMTREAD read/write to _diskfs_rdwr_internal,Roland McGrath
instead of assuming it wrote the whole amount. Update the node if anything was transferred, regardless of ERR.
1996-01-04Use size_t instead of int for amounts in diskfs_node_rdwr prototype.Roland McGrath
1996-01-04(_diskfs_rdwr_internal): Rewritten using pager_memcpy.Roland McGrath
Fix types of args: OFFSET to off_t, make AMT read/write size_t *.
1996-01-04Fix args in _diskfs_rdwr_internal prototype.Roland McGrath
1996-01-01(diskfs_S_file_exec): Use fshelp_exec_reauth().Miles Bader
(setid, scan_ids): Functions deleted.
1995-12-29(diskfs_S_file_exec):Miles Bader
Always reauth the proc port, as exec does not do it, even in the secure case. Set the proc's owner too.
1995-12-28(setid):Miles Bader
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.
1995-12-28(end_using_protid_port): Don't calls ports_port_deref if CRED is null.Roland McGrath
1995-12-28(setid): New function.Miles Bader
(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.
1995-12-27(diskfs_register_memory_fault_area):Miles Bader
Register both preempter1 and preempter2 in REC instead of preempter1 twice.
1995-12-23Entire file rewritten to use libc signal preemption facility.Michael I. Bushnell
1995-12-20(diskfs_S_fsys_init): Call proc_mark_exec on EXECPROCESS.Roland McGrath
1995-12-19(diskfs_S_file_exec) [reauth]: If ISPROC, then don't install returnedMichael I. Bushnell
port; just deallocate it.
1995-12-14(diskfs_checkdirmod): Correctly return error code for failure, not 1.Michael I. Bushnell
1995-12-04(diskfs_S_dir_unlink): Don't call fsys_goaway until we've released ourMichael I. Bushnell
lock.
1995-12-04(diskfs_S_dir_unlink): Delete vestigial fetch_control.Miles Bader
1995-11-21(_diskfs_rdwr_internal): Declare PROT volatile.Michael I. Bushnell
1995-11-21(master_thread_function): Declare to be `static any_t'.Michael I. Bushnell
1995-11-21Include <string.h>.Michael I. Bushnell
1995-11-21(diskfs_get_options): Bother providing declaration.Michael I. Bushnell
1995-11-21(diskfs_S_file_get_fs_options): Revert last change.Michael I. Bushnell
1995-11-21(diskfs_S_fsys_get_options): Revert last change.Michael I. Bushnell
1995-11-21(diskfs_get_options): Revert last change.Michael I. Bushnell
1995-11-21(diskfs_S_fsys_get_options): diskfs_get_options ->Michael I. Bushnell
_diskfs_get_options.
1995-11-21(diskfs_S_file_get_fs_options): diskfs_get_options ->Michael I. Bushnell
_diskfs_get_options.c
1995-11-21(_diskfs_get_options): Renamed from diskfs_get_options.Michael I. Bushnell
1995-11-21Include <string.h>.Michael I. Bushnell
(diskfs_S_file_get_fs_options): Dereference DATA_LEN in call to vm_allocate.