Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
204f4ce7
Commit
204f4ce7
authored
Apr 08, 2011
by
J. Bruce Fields
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nfsd4: allow fh_verify caller to skip pseudoflavor checks
Signed-off-by:
J. Bruce Fields
<
bfields@redhat.com
>
parent
aea93397
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
fs/nfsd/nfsfh.c
fs/nfsd/nfsfh.c
+1
-1
fs/nfsd/vfs.h
fs/nfsd/vfs.h
+1
-0
No files found.
fs/nfsd/nfsfh.c
View file @
204f4ce7
...
...
@@ -344,7 +344,7 @@ fh_verify(struct svc_rqst *rqstp, struct svc_fh *fhp, int type, int access)
* which clients virtually always use auth_sys for,
* even while using RPCSEC_GSS for NFS.
*/
if
(
access
&
NFSD_MAY_LOCK
)
if
(
access
&
NFSD_MAY_LOCK
||
access
&
NFSD_MAY_BYPASS_GSS
)
goto
skip_pseudoflavor_check
;
/*
* Clients may expect to be able to use auth_sys during mount,
...
...
fs/nfsd/vfs.h
View file @
204f4ce7
...
...
@@ -24,6 +24,7 @@
#define NFSD_MAY_LOCAL_ACCESS 128
/* IRIX doing local access check on device special file*/
#define NFSD_MAY_BYPASS_GSS_ON_ROOT 256
#define NFSD_MAY_NOT_BREAK_LEASE 512
#define NFSD_MAY_BYPASS_GSS 1024
#define NFSD_MAY_CREATE (NFSD_MAY_EXEC|NFSD_MAY_WRITE)
#define NFSD_MAY_REMOVE (NFSD_MAY_EXEC|NFSD_MAY_WRITE|NFSD_MAY_TRUNC)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment