Author: emaste
Date: Wed Aug 31 18:33:15 2016
New Revision: 305140
URL: https://svnweb.freebsd.org/changeset/base/305140

Log:
  Allow getdtablesize in capability mode
  
  getdtablesize is "trivial global state" and is similar to
  getrlimit(RLIMIT_NOFILE), so should be permitted in capability mode.
  
  Reviewed by:  oshogbo
  MFC after:    1 week
  Sponsored by: The FreeBSD Foundation
  Differential Revision:        https://reviews.freebsd.org/D7719

Modified:
  head/sys/kern/capabilities.conf

Modified: head/sys/kern/capabilities.conf
==============================================================================
--- head/sys/kern/capabilities.conf     Wed Aug 31 18:10:41 2016        
(r305139)
+++ head/sys/kern/capabilities.conf     Wed Aug 31 18:33:15 2016        
(r305140)
@@ -248,6 +248,7 @@ getdirentries
 ## Allow querying certain trivial global state.
 ##
 getdomainname
+getdtablesize
 
 ##
 ## Allow querying current process credential state.
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to