Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | (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 | |
| | ||||||
* | (diskfs_get_options): Bother providing declaration. | Michael I. Bushnell | 1995-11-21 | 1 | -0/+5 | |
| | ||||||
* | (diskfs_S_file_get_fs_options): Revert last change. | Michael I. Bushnell | 1995-11-21 | 1 | -1/+1 | |
| | ||||||
* | (diskfs_S_fsys_get_options): Revert last change. | Michael I. Bushnell | 1995-11-21 | 1 | -1/+1 | |
| | ||||||
* | (diskfs_get_options): Revert last change. | Michael I. Bushnell | 1995-11-21 | 1 | -1/+1 | |
| | ||||||
* | (diskfs_S_fsys_get_options): diskfs_get_options -> | Michael I. Bushnell | 1995-11-21 | 1 | -1/+1 | |
| | | | | _diskfs_get_options. | |||||
* | (diskfs_S_file_get_fs_options): diskfs_get_options -> | Michael I. Bushnell | 1995-11-21 | 1 | -1/+1 | |
| | | | | _diskfs_get_options.c | |||||
* | (_diskfs_get_options): Renamed from diskfs_get_options. | Michael I. Bushnell | 1995-11-21 | 1 | -1/+1 | |
| | ||||||
* | Include <string.h>. | Michael I. Bushnell | 1995-11-21 | 1 | -2/+3 | |
| | | | | | (diskfs_S_file_get_fs_options): Dereference DATA_LEN in call to vm_allocate. | |||||
* | (diskfs_S_exec_startup_get_info): Renamed from diskfs_S_exec_startup, | Roland McGrath | 1995-11-18 | 1 | -105/+48 | |
| | | | | slightly different protocol. Unused exec server stubs removed. | |||||
* | (MIGSTUBS): Replaced execServer.o with exec_startupServer.o. | Roland McGrath | 1995-11-18 | 1 | -2/+2 | |
| | ||||||
* | (diskfs_demuxer): diskfs_exec_server --> diskfs_exec_startup_server. | Miles Bader | 1995-11-13 | 1 | -2/+2 | |
| | ||||||
* | (diskfs_S_file_lock_stat): Lock around reads to make sure they are | Michael I. Bushnell | 1995-11-13 | 1 | -1/+3 | |
| | | | | mutually consistent. | |||||
* | (diskfs_S_io_readable): Set *AMOUNT to zero if filepointer is past the | Michael I. Bushnell | 1995-11-13 | 1 | -2/+5 | |
| | | | | end of the file. | |||||
* | (diskfs_S_dir_link): Now that args are swapped, deallocate port ref on | Michael I. Bushnell | 1995-11-09 | 1 | -1/+1 | |
| | | | | FILECRED instead of DIRCRED. | |||||
* | (OTHERSRCS): Add opts-get.c. | Miles Bader | 1995-11-06 | 1 | -1/+2 | |
| | | | | (FSSRCS): Add file-get-fs-opts.c. | |||||
* | Initial revision | Miles Bader | 1995-11-06 | 4 | -0/+233 | |
| | ||||||
* | (_diskfs_translator_callback2_fn): | Miles Bader | 1995-11-06 | 1 | -2/+2 | |
| | | | | | UNDERLYING_TYPE should be a pointer. As should the UIDS & GIDS args to diskfs_make_protid. | |||||
* | (diskfs_S_dir_lookup): Fix various typos. | Miles Bader | 1995-11-06 | 1 | -7/+8 | |
| | | | | | (short_circuited_callback1): Dereference ARGZ & ARGZ_LEN. Include <hurd/paths.h> | |||||
* | (diskfs_S_fsys_get_options): New function. | Miles Bader | 1995-11-06 | 1 | -0/+31 | |
| | ||||||
* | (diskfs_sync_interval): New variable. | Miles Bader | 1995-11-06 | 1 | -2/+6 | |
| | | | | (diskfs_set_sync_interval): Set DISKFS_SYNC_INTERVAL. | |||||
* | (diskfs_S_fsys_getroot): Pass both callback args to fshelp_fetch_root. | Miles Bader | 1995-11-06 | 1 | -1/+2 | |
| | ||||||
* | (diskfs_S_file_get_translator): Initialize ERROR. | Miles Bader | 1995-11-06 | 1 | -1/+1 | |
| | ||||||
* | Initial revision | Miles Bader | 1995-11-05 | 1 | -0/+107 | |
| | ||||||
* | (_diskfs_translator_callback1, _diskfs_translator_callback2): Declare. | Miles Bader | 1995-11-02 | 1 | -2/+3 | |
| | ||||||
* | (diskfs_startup_diskfs) Add FLAGS arg; use. | Miles Bader | 1995-11-02 | 1 | -2/+2 | |
| | ||||||
* | (_diskfs_translator_callback1_fn, _diskfs_translator_callback2_fn): | Miles Bader | 1995-11-02 | 1 | -23/+28 | |
| | | | | | | New functions, replacing the single original. (_diskfs_translator_callback1, _diskfs_translator_callback2): New variables, replacing the single original. | |||||
* | (diskfs_S_dir_lookup): Add new callback arg to fshelp_fetch_root call. | Miles Bader | 1995-11-02 | 1 | -28/+8 | |
| | | | | | Change short_circuited_callback1 to reflect the split into two callbacks (we use the global diskfs callback for the other). | |||||
* | (diskfs_S_fsys_startup): Add FLAGS arg; use. | Miles Bader | 1995-11-02 | 1 | -1/+2 | |
| | ||||||
* | (diskfs_execboot_fsys_startup): Add FLAGS arg; use. | Miles Bader | 1995-11-02 | 1 | -5/+4 | |
| | ||||||
* | (diskfs_startup_diskfs, diskfs_execboot_fsys_startup): Add FLAGS arg. | Miles Bader | 1995-11-02 | 1 | -4/+5 | |
| | ||||||
* | (diskfs_S_dir_lookup): Deal correctly with short-circuited translators that | Miles Bader | 1995-10-31 | 1 | -5/+72 | |
| | | | | | diskfs doesn't implement itself. (major, minor): New macros -- temporarily here until libc exports them. |