[Bug 232495] ppoll(2) is not permitted in capability mode

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Oct 21 01:59:30 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=232495

            Bug ID: 232495
           Summary: ppoll(2) is not permitted in capability mode
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: bugs at FreeBSD.org
          Reporter: sg2342 at googlemail.com

poll was included in sys/kern/capabilities.conf with it's first revision
(r219131) together with a comment:
"## Allow poll(2), which will be scoped by capability rights."
"## XXXRW: We don't yet do that scoping."

in r224910 the poll(2) implementation for capabilities was added, but the now
miss-leading XXXRW comment in capabilites.conf was left there.

Given that the ppoll(2) and poll(2) implementations in sys/kern/sys_generic.c
share the capability relevant code; please

 - add ppoll to sys/kern/capabilities.conf
 - remove XXXRW comment

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list