NetBSD/sys/nfs
fvdl b916f59963 Unix semantics dictate that access checks for files are done when it
is opened. An open file can always be read from and/or written to,
depending on how it was opened.

Therefore, the read/write/commit RPCs should never return EACCESS,
as they are only performed on files that have been successfully opened
already.

This change improves the current situation and works in most cases.
It simply always uses the most recently known owner/group of the file,
iff the authentication mechanism is AUTH_UNIX (in other cases, the
creds for a succesful open are used, but note that no other cases
are currently implemented).

A retry mechanism can be used to catch a few more cases, but this is
a good improvement for now.
2003-12-07 21:15:46 +00:00
..
files.nfs
krpc_subr.c Add MBUFTRACE kernel option. 2003-02-26 06:31:08 +00:00
krpc.h keep things not needed by userland in #ifdef _KERNEL. 2003-05-05 13:21:00 +00:00
Makefile Remove KDIR=, since SYS_INCLUDE=symlinks and KDIR are not supported any more. 2002-11-26 23:30:07 +00:00
nfs_bio.c Unix semantics dictate that access checks for files are done when it 2003-12-07 21:15:46 +00:00
nfs_boot.c Back out the lwp/ktrace changes. They contained a lot of colateral damage, 2003-06-29 22:28:00 +00:00
nfs_bootdhcp.c Back out the lwp/ktrace changes. They contained a lot of colateral damage, 2003-06-29 22:28:00 +00:00
nfs_bootparam.c Back out the lwp/ktrace changes. They contained a lot of colateral damage, 2003-06-29 22:28:00 +00:00
nfs_kq.c Remove some assigned-to but otherwise unused variables. 2003-10-30 01:43:08 +00:00
nfs_node.c Unix semantics dictate that access checks for files are done when it 2003-12-07 21:15:46 +00:00
nfs_nqlease.c Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
nfs_serv.c Clean up the usage of vn_start_write(). At least one occurence clobbered 2003-11-05 10:18:38 +00:00
nfs_socket.c Unix semantics dictate that access checks for files are done when it 2003-12-07 21:15:46 +00:00
nfs_srvcache.c comments. 2003-11-20 16:18:49 +00:00
nfs_subs.c nfs_zeropad: remove an unneeded substitution (and clean up a little.) 2003-11-29 19:31:13 +00:00
nfs_syscalls.c Fix a couple of small whitespace errors. 2003-12-07 18:58:11 +00:00
nfs_var.h when rexmitting a request due to NFSERR_JUKEBOX, 2003-07-23 13:52:23 +00:00
nfs_vfsops.c Dynamic sysctl. 2003-12-04 19:38:21 +00:00
nfs_vnops.c Unix semantics dictate that access checks for files are done when it 2003-12-07 21:15:46 +00:00
nfs.h Commit message for previous revision to sys/nfs/nfs.h: 2003-12-06 02:48:35 +00:00
nfsdiskless.h Back out the lwp/ktrace changes. They contained a lot of colateral damage, 2003-06-29 22:28:00 +00:00
nfsm_subs.h change n_mtime from time_t to timespec in order to improve 2003-09-26 11:51:53 +00:00
nfsmount.h terminate snprintb 'new' format strings correctly. 2003-10-03 16:34:31 +00:00
nfsnode.h change n_mtime from time_t to timespec in order to improve 2003-09-26 11:51:53 +00:00
nfsproto.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
nfsrtt.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
nfsrvcache.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
nqnfs.h current trylater/jukebox retry delay is way too long and 2003-08-16 18:08:27 +00:00
rpcv2.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
xdr_subs.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00