Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F111915365
D37589.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
393 B
Referenced Files
None
Subscribers
None
D37589.diff
View Options
diff --git a/sys/nfs/nfs_nfssvc.c b/sys/nfs/nfs_nfssvc.c
--- a/sys/nfs/nfs_nfssvc.c
+++ b/sys/nfs/nfs_nfssvc.c
@@ -85,7 +85,7 @@
AUDIT_ARG_CMD(uap->flag);
/* Allow anyone to get the stats. */
- if ((uap->flag & ~NFSSVC_GETSTATS) != 0) {
+ if ((uap->flag & ~(NFSSVC_GETSTATS | NFSSVC_NEWSTRUCT)) != 0) {
error = priv_check(td, PRIV_NFS_DAEMON);
if (error != 0)
return (error);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Mar 11, 5:25 AM (19 h, 40 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17095196
Default Alt Text
D37589.diff (393 B)
Attached To
Mode
D37589: Allow any user to read the NFS stats, for example with nfsstat(1).
Attached
Detach File
Event Timeline
Log In to Comment