Name |
Date |
Size |
#Lines |
LOC |
||
---|---|---|---|---|---|---|
.. | - | - | ||||
cap/ | 23-Nov-2023 | - | 3,349 | 2,184 | ||
contrib/ | 23-Nov-2023 | - | 1,150 | 765 | ||
doc/ | 23-Nov-2023 | - | 2,470 | 2,267 | ||
go/ | 23-Nov-2023 | - | 882 | 688 | ||
goapps/ | 23-Nov-2023 | - | 582 | 419 | ||
kdebug/ | 23-Nov-2023 | - | 119 | 82 | ||
libcap/ | 23-Nov-2023 | - | 4,129 | 2,582 | ||
pam_cap/ | 23-Nov-2023 | - | 735 | 485 | ||
progs/ | 23-Nov-2023 | - | 2,166 | 1,731 | ||
psx/ | 23-Nov-2023 | - | 1,388 | 842 | ||
tests/ | 23-Nov-2023 | - | 662 | 503 | ||
.gitignore | D | 23-Nov-2023 | 16 | 4 | 3 | |
Android.bp | D | 23-Nov-2023 | 3.5 KiB | 145 | 130 | |
CHANGELOG | D | 23-Nov-2023 | 426 | 16 | 8 | |
License | D | 23-Nov-2023 | 19.8 KiB | 386 | 319 | |
METADATA | D | 23-Nov-2023 | 357 | 16 | 15 | |
MODULE_LICENSE_BSD_LIKE | D | 23-Nov-2023 | 0 | |||
Make.Rules | D | 23-Nov-2023 | 5.5 KiB | 169 | 145 | |
Makefile | D | 23-Nov-2023 | 2.8 KiB | 91 | 72 | |
NOTICE | D | 23-Nov-2023 | 19.8 KiB | 386 | 319 | |
OWNERS | D | 23-Nov-2023 | 65 | 3 | 2 | |
README | D | 23-Nov-2023 | 1.5 KiB | 50 | 31 | |
distcheck.sh | D | 23-Nov-2023 | 458 | 14 | 9 | |
generate_cap_names_list.awk | D | 23-Nov-2023 | 95 | 2 | 1 | |
pgp.keys.asc | D | 23-Nov-2023 | 15 KiB | 279 | 260 | |
template.c | D | 23-Nov-2023 | 60 | 7 | 0 |
README
1This is a library for getting and setting POSIX.1e (formerly POSIX 6) 2draft 15 capabilities. 3 4Natively supported languages are C/C++ and Go. 5 6This library would not have been possible without the help of 7 8 Aleph1, Roland Buresund and Andrew Main, Alexander Kjeldaas. 9 10More information on capabilities in the Linux kernel, links to the 11official git repostitory for libcap, release notes and how to report 12bugs can be found at: 13 14 http://sites.google.com/site/fullycapable/ 15 16# BUILDING AND INSTALLATION 17 18 $ make 19 20 builds the library and the programs that are expected 21 to work on your system. For example, if you have 22 Linux-PAM installed, pam_cap is built. A golang 23 installation is required to build the Go packages. 24 25 $ make test 26 27 runs all of the tests not requiring privilege 28 29 $ make sudotest 30 31 runs all of the tests including those that require privilege. 32 33 $ sudo make install 34 35 default installs the library libcap.XX.Y in /lib[64]/ 36 the binaries in /sbin/ 37 the header files in /usr/include 38 the {libcap,libpsx}.pc files in /usr/lib[64]/pkgconfig 39 the Go packages (if built) under /usr/share/gocode/src 40 41For some example C programs look in the progs/ directory. Specifically, 42capsh, getpcaps, setcap and getcap. 43 44Go example programs are to be found in the goapps/ directory. There 45are also some more complicated integration tests in the go/ directory. 46 47Cheers 48 49Andrew G. Morgan <morgan@kernel.org> 50