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:
Ed Maste 2016-09-01 02:51:50 +00:00
parent eab5e7a376
commit dd38731e09
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=305171

View File

@ -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");
/*