svn commit: r340129 - head/sys/kern

Mariusz Zaborski oshogbo at FreeBSD.org
Sun Nov 4 17:12:55 UTC 2018


Author: oshogbo
Date: Sun Nov  4 17:12:53 2018
New Revision: 340129
URL: https://svnweb.freebsd.org/changeset/base/340129

Log:
  capsicum: allow ppoll(2) in capability mode
  
  We already allow to use poll(2). There is no reason to disallow ppoll(2).
  
  PR:		232495
  Submitted by:	Stefan Grundmann <sg2342 at googlemail.com>
  Reviewed by:	cem, oshogbo
  MFC after:	2 weeks

Modified:
  head/sys/kern/capabilities.conf

Modified: head/sys/kern/capabilities.conf
==============================================================================
--- head/sys/kern/capabilities.conf	Sun Nov  4 16:58:55 2018	(r340128)
+++ head/sys/kern/capabilities.conf	Sun Nov  4 17:12:53 2018	(r340129)
@@ -486,9 +486,9 @@ pipe2
 
 ##
 ## Allow poll(2), which will be scoped by capability rights.
-## XXXRW: We don't yet do that scoping.
 ##
 poll
+ppoll
 
 ##
 ## Allow I/O-related file descriptors, subject to capability rights.


More information about the svn-src-head mailing list