aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorNeilBrown <[email protected]>2005-07-08 00:59:27 +0000
committerLinus Torvalds <[email protected]>2005-07-08 01:24:11 +0000
commit4c4cd222ee329025840bc2f8cebf71d36c62440c (patch)
tree70d1d8e754e7ab7226a6eee6afeab8b892072600 /net/unix/af_unix.c
parent[PATCH] nfsd4: clean up nfs4_preprocess_seqid_op (diff)
downloadkernel-4c4cd222ee329025840bc2f8cebf71d36c62440c.tar.gz
kernel-4c4cd222ee329025840bc2f8cebf71d36c62440c.zip
[PATCH] nfsd4: check lock type against openmode.
We shouldn't be allowing, e.g., write locks on files not open for read. To enforce this, we add a pointer from the lock stateid back to the open stateid it came from, so that the check will continue to be correct even after the open is upgraded or downgraded. Signed-off-by: Andy Adamson <[email protected]> Signed-off-by: J. Bruce Fields <[email protected]> Signed-off-by: Neil Brown <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions