You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ut_SG560D/QSSI.12/external/libcap
quectel 55794fdde8 QCM6490:Alyssa:upload QCM6490 android12 base code.
Change-Id: If3e3c4e01b19443714d880ae669aaa8b39edfff7
4 years ago
..
cap QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
contrib QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
doc QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
go QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
goapps QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
kdebug QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
libcap QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
pam_cap QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
progs QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
psx QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
tests QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
Android.bp QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
CHANGELOG QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
License QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
METADATA QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
MODULE_LICENSE_BSD_LIKE QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
Make.Rules QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
Makefile QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
NOTICE QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
OWNERS QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
README QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
distcheck.sh QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
generate_cap_names_list.awk QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
pgp.keys.asc QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
template.c QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago

README

This is a library for getting and setting POSIX.1e (formerly POSIX 6)
draft 15 capabilities.

Natively supported languages are C/C++ and Go.

This library would not have been possible without the help of 

	Aleph1, Roland Buresund and Andrew Main, Alexander Kjeldaas.

More information on capabilities in the Linux kernel, links to the
official git repostitory for libcap, release notes and how to report
bugs can be found at:

	http://sites.google.com/site/fullycapable/

# BUILDING AND INSTALLATION

	$ make

	       builds the library and the programs that are expected
	       to work on your system. For example, if you have
	       Linux-PAM installed, pam_cap is built. A golang
	       installation is required to build the Go packages.

        $ make test

	       runs all of the tests not requiring privilege

	$ make sudotest

	       runs all of the tests including those that require privilege.

	$ sudo make install

	       default installs the library libcap.XX.Y in /lib[64]/
	       the binaries in /sbin/
	       the header files in /usr/include
	       the {libcap,libpsx}.pc files in /usr/lib[64]/pkgconfig
	       the Go packages (if built) under /usr/share/gocode/src

For some example C programs look in the progs/ directory. Specifically,
capsh, getpcaps, setcap and getcap.

Go example programs are to be found in the goapps/ directory. There
are also some more complicated integration tests in the go/ directory.

Cheers

Andrew G. Morgan <morgan@kernel.org>