Skip to content
Commit b2b38282 authored by Tobias Kaufmann's avatar Tobias Kaufmann Committed by Zbigniew Jędrzejewski-Szmek
Browse files

capability-util: add new function for raising setpcap

Up to now the capability CAP_SETPCAP was raised implicitly in the
function capability_bounding_set_drop.

This functionality is moved into a new function
(capability_gain_cap_setpcap).

The new function optionally provides the capability set as it was
before raisining CAP_SETPCAP.

(cherry picked from commit 57d4d284)
(cherry picked from commit 4f692548)
parent 261680bc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment