10 Commits

Author SHA1 Message Date
Andrew G. Morgan
10041371f4 Reviewed man pages, adding overlooked references.
This started out as addressing this bug:

   https://bugzilla.kernel.org/show_bug.cgi?id=216585

But I then made crosslink.sh to figure out what I had missed, and
fixed those bits too.

Signed-off-by: Andrew G. Morgan <morgan@kernel.org>
2022-10-16 17:09:11 -07:00
Andrew G. Morgan
f7deb5ad45 Add some information about cap_max_bits().
This function has been defined for a while (since libcap-2.30),
but I just found it wasn't documented.

Signed-off-by: Andrew G. Morgan <morgan@kernel.org>
2021-11-20 16:36:44 -08:00
Andrew G. Morgan
2f9b7f484c Shorten the URLs for bug reports and mention release notes.
In an effort to help folk contribute to the discussion around
existing bugs, and benefit from recently closed ones, update the
main library man pages with better direction towards recent info.

Signed-off-by: Andrew G. Morgan <morgan@kernel.org>
2021-05-17 09:33:40 -07:00
Andrew G. Morgan
b48c649ef0 Minor fixes for man pages.
Signed-off-by: Andrew G. Morgan <morgan@kernel.org>
2021-04-18 15:15:54 -07:00
Andrew G. Morgan
b3c2cd00f3 Make documentation more consistently formatted
This is easier to edit and also seems to work with pandoc.

Signed-off-by: Andrew G. Morgan <morgan@kernel.org>
2021-03-06 18:19:04 -08:00
Christian Kastner
52fa6a9608 Syntax fixes for man pages
Hyphens used as minus signs must be escaped.

Last-Update: 2015-10-02
Signed-off-by: Christian Kastner <ckk@kvr.at>
Signed-off-by: Andrew G. Morgan <morgan@kernel.org>
2020-05-12 10:20:11 +02:00
Andrew G. Morgan
12b567f070 Document the fact we have a bug tracker!
https://bugzilla.kernel.org/show_bug.cgi?id=206107

Signed-off-by: Andrew G. Morgan <morgan@kernel.org>
2020-01-07 06:58:05 -08:00
Andrew G. Morgan
3165de9205 More convenience functionality for libcap.
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() &
Secbits.Set(), GetMode() & Mode.Set(), SetUID() and
SetGroups().

Signed-off-by: Andrew G. Morgan <morgan@kernel.org>
2019-12-15 11:17:17 -08:00
Andrew G. Morgan
f4df8a4ffe Add some bounding set capability support to libcap.
Include some documentation and a link to capsh's man page.

Signed-off-by: Andrew G. Morgan <morgan@kernel.org>
2011-04-25 21:41:09 -07:00
Andrew G. Morgan
eeb82e1ddc A libcap.3 man page and fix up the cap_get_pid() docs.
Make it easier to find what functions are available in
the API.

Signed-off-by: Andrew G. Morgan <morgan@kernel.org>
2008-07-29 22:20:12 -07:00