allow kern.proc.nfds sysctl in capability mode
Reviewed by: allanjude MFC after: 1 week Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D7733
This commit is contained in:
parent
183023706b
commit
248ff360f4
@ -3178,7 +3178,7 @@ sysctl_kern_proc_nfds(SYSCTL_HANDLER_ARGS)
|
||||
}
|
||||
|
||||
static SYSCTL_NODE(_kern_proc, KERN_PROC_NFDS, nfds,
|
||||
CTLFLAG_RD|CTLFLAG_MPSAFE, sysctl_kern_proc_nfds,
|
||||
CTLFLAG_RD|CTLFLAG_CAPRD|CTLFLAG_MPSAFE, sysctl_kern_proc_nfds,
|
||||
"Number of open file descriptors");
|
||||
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user