Date: Wed, 7 Sep 2016 03:15:27 +0000 (UTC) From: Ed Maste <emaste@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Subject: svn commit: r305516 - stable/11/sys/kern Message-ID: <201609070315.u873FRwC065931@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: emaste Date: Wed Sep 7 03:15:26 2016 New Revision: 305516 URL: https://svnweb.freebsd.org/changeset/base/305516 Log: MFC r305171: allow kern.proc.nfds sysctl in capability mode Modified: stable/11/sys/kern/kern_descrip.c Directory Properties: stable/11/ (props changed) Modified: stable/11/sys/kern/kern_descrip.c ============================================================================== --- stable/11/sys/kern/kern_descrip.c Wed Sep 7 02:54:40 2016 (r305515) +++ stable/11/sys/kern/kern_descrip.c Wed Sep 7 03:15:26 2016 (r305516) @@ -3175,7 +3175,7 @@ sysctl_kern_proc_nfds(SYSCTL_HANDLER_ARG } 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"); /*
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201609070315.u873FRwC065931>