<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:desrt@desrt.ca" title="desrt <desrt@desrt.ca>"> <span class="fn">desrt</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED --- - pulseaudio's use of sys/capability.h is non-POSIX"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=72580">bug 72580</a>
        <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>RESOLVED
           </td>
           <td>REOPENED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>FIXED
           </td>
           <td>---
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED --- - pulseaudio's use of sys/capability.h is non-POSIX"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=72580#c11">Comment # 11</a>
              on <a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED --- - pulseaudio's use of sys/capability.h is non-POSIX"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=72580">bug 72580</a>
              from <span class="vcard"><a class="email" href="mailto:desrt@desrt.ca" title="desrt <desrt@desrt.ca>"> <span class="fn">desrt</span></a>
</span></b>
        <pre>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...</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>