aboutsummaryrefslogtreecommitdiff
path: root/libdiskfs
Commit message (Collapse)AuthorAgeFilesLines
* (diskfs_drop_node): Deal cleanly with errors in diskfs_truncate.Michael I. Bushnell1995-04-281-0/+6
|
* (diskfs_nrele, diskfs_nput): We need to hold a real reference aroundMichael I. Bushnell1995-04-281-4/+41
| | | | | | the call to diskfs_try_dropping_softrefs, because that's a user-supplied routine that might itself rely on the reference counting system.
* (diskfs_create_node): Return EROFS if diskfs_readonly.Miles Bader1995-04-231-0/+3
|
* (diskfs_S_dir_rmdir): Do fsys_goaway for translated nodes beingMichael I. Bushnell1995-04-051-0/+38
| | | | unlinked.
* Fix nets.Michael I. Bushnell1995-04-051-0/+3
|
* (diskfs_S_dir_unlink): Do fsys_goaway for translated nodes beingMichael I. Bushnell1995-04-051-0/+35
| | | | unlinked.
* The previous change mistakenly changed an instance of MACH_MSG_TYPE_MAKE_SENDMiles Bader1995-04-041-1/+1
| | | | to MACH_MSG_TYPE_COPY_SEND.
* (diskfs_S_file_exec): Using MOVE_SEND in call to exec_exec loses,Michael I. Bushnell1995-04-041-6/+16
| | | | | | because it consumes a reference, which will be consumed again by mach_msg_server if we return an error. So use COPY_SEND instead, and deallocate the rights ourselves only when we are to return success.
* (diskfs_S_file_set_translator): Only destroy existing activeMichael I. Bushnell1995-03-311-9/+11
| | | | | translator if ACTIVE_FLAGS will change it. If the existing active translator is provided then don't do anything.
* (diskfs_S_io_stat): Typo.Michael I. Bushnell1995-03-171-1/+1
|
* (diskfs_rename_dir): If we are synchronous, update the one node ourMichael I. Bushnell1995-03-171-2/+2
| | | | caller doesn't have access to.
* (diskfs_S_dir_mkdir): Typo.Michael I. Bushnell1995-03-171-2/+2
|
* (diskfs_S_dir_lookup): Typo.Michael I. Bushnell1995-03-171-2/+2
|
* Back out previous change.Michael I. Bushnell1995-03-173-42/+21
|
* Back out changes to protid and associated permission checkingMichael I. Bushnell1995-03-171-101/+33
| | | | functions.
* (diskfs_S_dir_mkfile): Typo.Michael I. Bushnell1995-03-171-2/+2
|
* (diskfs_S_dir_link): Fix typo.Michael I. Bushnell1995-03-171-1/+1
|
* (_diskfs_idcheckdirmod): Remove underscore.Michael I. Bushnell1995-03-171-1/+1
|
* (_diskfs_idcheckdirmod): `diskfs_hasuid' -> _diskfs_idhasuid.Michael I. Bushnell1995-03-171-1/+1
| | | | (CHANGE_NODE_FIELD): Remove trailing space on backslashed line.
* (_diskfs_idcheckdirmod): `cred' -> `id'.Michael I. Bushnell1995-03-171-3/+3
| | | | (diskfs_idhasgid): Likewise.
* (diskfs_node_rdwr): Implement diskfs_synchronous.Michael I. Bushnell1995-03-171-1/+8
|
* (diskfs_drop_node): Implement diskfs_synchronous.Michael I. Bushnell1995-03-171-2/+2
|
* (diskfs_init_dir): Don't do diskfs_synchronous here.Michael I. Bushnell1995-03-171-9/+0
|
* (diskfs_clear_directory): Don't to diskfs_synchronous here.Michael I. Bushnell1995-03-171-9/+0
|
* (diskfs_S_fsys_syncfs): Implement diskfs_synchronous.Michael I. Bushnell1995-03-171-1/+4
|
* (diskfs_S_io_read): Implement diskfs_synchronous.Michael I. Bushnell1995-03-171-1/+3
|
* (diskfs_S_dir_rmdir): Repair implementation of diskfs_syncronous.Michael I. Bushnell1995-03-171-7/+4
|
* (diskfs_S_dir_lookup): Implement diskfs_synchronous.Michael I. Bushnell1995-03-171-1/+6
|
* (diskfs_S_dir_mkfile): Implement diskfs_synchronous.Michael I. Bushnell1995-03-171-1/+8
|
* (diskfs_S_dir_mkdir): Implement diskfs_synchronous.Michael I. Bushnell1995-03-171-1/+7
|
* (diskfs_rename_dir): Implement diskfs_synchronous.Michael I. Bushnell1995-03-151-3/+20
|
* (diskfs_init_dir): Implement diskfs_synchronous.Michael I. Bushnell1995-03-151-1/+10
|
* (diskfs_clear_directory): Implement diskfs_synchronous.Michael I. Bushnell1995-03-151-1/+10
|
* (ioserver_fetch_shared_data): Implement diskfs_synchronous.Michael I. Bushnell1995-03-151-3/+14
|
* (diskfs_S_io_sigio): Implement diskfs_synchronous.Michael I. Bushnell1995-03-091-2/+2
|
* (diskfs_S_io_write): Implement diskfs_synchronous.Michael I. Bushnell1995-03-091-2/+7
|
* (diskfs_S_io_stat): Implement diskfs_synchronous.Michael I. Bushnell1995-03-091-2/+5
|
* Prevent diskfs_synchronous from having its usual effect here.Michael I. Bushnell1995-03-091-1/+2
|
* (diskfs_S_io_prenotify): Implement diskfs_synchronous.Michael I. Bushnell1995-03-091-1/+3
|
* (diskfs_S_file_syncfs): Implement diskfs_synchronous.Michael I. Bushnell1995-03-091-2/+5
|
* (diskfs_S_file_sync): Implement diskfs_synchronous.Michael I. Bushnell1995-03-091-1/+4
|
* (diskfs_S_dir_unlink): Implement diskfs_synchronous.Michael I. Bushnell1995-03-091-1/+5
|
* (diskfs_S_dir_rmdir): Implement diskfs_synchronous.Michael I. Bushnell1995-03-091-1/+5
|
* (diskfs_S_dir_rename): Implement diskfs_synchronous.Michael I. Bushnell1995-03-091-1/+12
|
* (diskfs_S_dir_link): Implement diskfs_synchronous.Michael I. Bushnell1995-03-091-1/+6
|
* (CHANGE_NODE_FIELD): If DISKFS_SYNCHRONOUS, then sync node afterMichael I. Bushnell1995-03-081-1/+3
| | | | possibly changing it.
* (diskfs_synchronous): New variable.Michael I. Bushnell1995-03-081-0/+3
|
* (struct userid): New type.Michael I. Bushnell1995-03-071-28/+99
| | | | | | | | | | (struct protid): Replace UIDS, GIDS, NUIDS, and NGIDS with ID. (diskfs_isuid): Replace with new function diskfs_idhasuid. (diskfs_groupmember): Replace with new function diskfs_idhasgid. (_diskfs_idisowner, _diskfs_idaccess, _diskfs_idcheckdirmod): New functions. (diskfs_isowner): Check each ID in the chain with _diskfs_idisowner. (diskfs_access): Check each ID in the chain with _diskfs_idaccess. (diskfs_checkdirmod): Check each ID in the chain with _diskfs_idcheckdirmod.
* (diskfs_S_file_chmod): Perform the permission check for each ID in theMichael I. Bushnell1995-03-071-9/+18
| | | | chain.
* (diskfs_S_file_chown): Perform the permission check for each ID in theMichael I. Bushnell1995-03-071-7/+16
| | | | chain.