[pulseaudio-tickets] [Bug 72580] pulseaudio's use of sys/capability.h is non-POSIX

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jan 2 23:29:13 PST 2014


https://bugs.freedesktop.org/show_bug.cgi?id=72580

desrt <desrt at desrt.ca> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |---

--- Comment #11 from desrt <desrt at desrt.ca> ---
So this patch is not right.

I assumed from my reading of the Linux code ("cap_clear()...") that it was
clearing all capabilities of the process when in fact it is only clearing the
"special to root" capabilities.

The FreeBSD version of the code indeed clears _all_ capabilities beyond ones
that the process already has (ie: cannot open any new files, create sockets,
etc.)

This has a pretty obvious adverse effect on pulseaudio's ability to do what it
needs to do -- indeed, it bombs out pretty quickly due to an inability to read
its own config file.

We need to find out if we can drop the special-to-root caps on FreeBSD without
the others.  My initial research into this makes it look like it may not be
possible...

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-bugs/attachments/20140103/b4c54e4f/attachment.html>


More information about the pulseaudio-bugs mailing list