Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Aug 2016 18:33:15 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r305140 - head/sys/kern
Message-ID:  <201608311833.u7VIXFDW052279@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201608311833.u7VIXFDW052279>