<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/libcap2.git/doc/cap_set_mode.3, branch master</title>
<subtitle>git.kernel.org: pub/scm/linux/kernel/git/morgan/libcap.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libcap2.git/'/>
<entry>
<title>More convenience functionality for libcap.</title>
<updated>2019-12-15T19:17:17+00:00</updated>
<author>
<name>Andrew G. Morgan</name>
<email>morgan@kernel.org</email>
</author>
<published>2019-12-15T18:54:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libcap2.git/commit/?id=3165de92058397670409dac6091f9358f2772328'/>
<id>3165de92058397670409dac6091f9358f2772328</id>
<content type='text'>
As well as substantial updates to the man pages, including
an explanation of how capabilities can be robustly used with
pthreads, implement a set of convenience functions in libcap
to make dropping privilege in careful ways straightforward.

These include adding the abstraction of libcap recommended
"modes" and cap_setuid() and cap_setgroups() functions.

The progs/quicktest.sh script and capsh has been extended
to validate each of these new functions.

Add convenience functions to the libcap/cap Go package.
Specifically, added Compare(), Differs(), GetSecbits() &amp;
Secbits.Set(), GetMode() &amp; Mode.Set(), SetUID() and
SetGroups().

Signed-off-by: Andrew G. Morgan &lt;morgan@kernel.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As well as substantial updates to the man pages, including
an explanation of how capabilities can be robustly used with
pthreads, implement a set of convenience functions in libcap
to make dropping privilege in careful ways straightforward.

These include adding the abstraction of libcap recommended
"modes" and cap_setuid() and cap_setgroups() functions.

The progs/quicktest.sh script and capsh has been extended
to validate each of these new functions.

Add convenience functions to the libcap/cap Go package.
Specifically, added Compare(), Differs(), GetSecbits() &amp;
Secbits.Set(), GetMode() &amp; Mode.Set(), SetUID() and
SetGroups().

Signed-off-by: Andrew G. Morgan &lt;morgan@kernel.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
