Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Nov 2018 17:12:53 +0000 (UTC)
From:      Mariusz Zaborski <oshogbo@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r340129 - head/sys/kern
Message-ID:  <201811041712.wA4HCrCf041469@repo.freebsd.org>

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



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