/usr/bin/make -C libcap test make[1]: Entering directory '/build/libcap/src/libcap-2.61/libcap' gcc -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -fPIC -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/build/libcap/src/libcap-2.61/libcap/../libcap/include/uapi -I/build/libcap/src/libcap-2.61/libcap/../libcap/include -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now cap_test.c cap_alloc.o cap_proc.o cap_extint.o cap_flag.o cap_text.o cap_file.o -o cap_test ./cap_test test_cap_bits: being called test_cap_flags: being called test_short_bits: being called test_alloc: being called test_alloc test_alloc: drop_launcher test_alloc: drop_iab test_alloc: drop_cap tested cap_test PASS /usr/bin/make libcapsotest make[2]: Entering directory '/build/libcap/src/libcap-2.61/libcap' ./libcap.so ./libcap.so is the shared library version: libcap-2.61. See the License file for distribution information. More information on this library is available from: https://sites.google.com/site/fullycapable/ ./libcap.so --usage ./libcap.so is the shared library version: libcap-2.61. See the License file for distribution information. More information on this library is available from: https://sites.google.com/site/fullycapable/ usage: libcap.so [--help|--usage|--summary] ./libcap.so --help ./libcap.so is the shared library version: libcap-2.61. See the License file for distribution information. More information on this library is available from: https://sites.google.com/site/fullycapable/ usage: libcap.so [--help|--usage|--summary] ./libcap.so --summary ./libcap.so is the shared library version: libcap-2.61. See the License file for distribution information. More information on this library is available from: https://sites.google.com/site/fullycapable/ Current mode: UNCERTAIN Number of cap values known to: this libcap=41, running kernel=41 make[2]: Leaving directory '/build/libcap/src/libcap-2.61/libcap' /usr/bin/make libpsxsotest make[2]: Entering directory '/build/libcap/src/libcap-2.61/libcap' ./libpsx.so ./libpsx.so is the shared library version: libpsx-2.61. See the License file for distribution information. More information on this library is available from: https://sites.google.com/site/fullycapable/ make[2]: Leaving directory '/build/libcap/src/libcap-2.61/libcap' make[1]: Leaving directory '/build/libcap/src/libcap-2.61/libcap' /usr/bin/make -C pam_cap test make[1]: Entering directory '/build/libcap/src/libcap-2.61/pam_cap' gcc -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -fPIC -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/build/libcap/src/libcap-2.61/pam_cap/../libcap/include/uapi -I/build/libcap/src/libcap-2.61/pam_cap/../libcap/include -o test_pam_cap test_pam_cap.c -L/build/libcap/src/libcap-2.61/pam_cap/../libcap -lcap --static ./test_pam_cap test_pam_cap: OK! (Skipping privileged tests (uid!=0)) LD_LIBRARY_PATH=../libcap ./pam_cap.so ./pam_cap.so (version libcap-2.61) is a PAM module to specify inheritable (IAB) capabilities via the libpam authentication abstraction. See the libcap License file for licensing information. Release notes and feature documentation for libcap and pam_cap.so can be found at: https://sites.google.com/site/fullycapable/ LD_LIBRARY_PATH=../libcap ./pam_cap.so --help ./pam_cap.so (version libcap-2.61) is a PAM module to specify inheritable (IAB) capabilities via the libpam authentication abstraction. See the libcap License file for licensing information. Release notes and feature documentation for libcap and pam_cap.so can be found at: https://sites.google.com/site/fullycapable/ ./pam_cap.so supports the following module arguments: debug - verbose logging (ignored for now) config= - override the default config with file keepcaps - workaround for apps that setuid without this autoauth - pam_cap.so to always succeed for the 'auth' phase default= - fallback IAB value if there is no '*' rule defer - apply IAB value at pam_exit (not via setcred) module can be run as an executable! make[1]: Leaving directory '/build/libcap/src/libcap-2.61/pam_cap' /usr/bin/make -C tests test make[1]: Entering directory '/build/libcap/src/libcap-2.61/tests' /usr/bin/make run_psx_test run_libcap_psx_test make[2]: Entering directory '/build/libcap/src/libcap-2.61/tests' gcc -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/build/libcap/src/libcap-2.61/tests/../libcap/include/uapi -I/build/libcap/src/libcap-2.61/tests/../libcap/include -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now psx_test.c -o psx_test -Wl,-rpath,../libcap -L/build/libcap/src/libcap-2.61/tests/../libcap -lpsx -lpthread -Wl,-wrap,pthread_create gcc -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/build/libcap/src/libcap-2.61/tests/../libcap/include/uapi -I/build/libcap/src/libcap-2.61/tests/../libcap/include -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now libcap_psx_test.c -o libcap_psx_test -Wl,-rpath,../libcap -L/build/libcap/src/libcap-2.61/tests/../libcap -lcap -L/build/libcap/src/libcap-2.61/tests/../libcap -lpsx -lpthread -Wl,-wrap,pthread_create ./libcap_psx_test hello libcap and libpsx .........../psx_test PASSED child 3934 starting child 3934 exiting iteration [3927]: 0 hello [3927], main<0> 400196d010 (keepcaps=1 vs. want=1) pid=3927 forked -> 3934 [3927] started=0 vs 1 [3927] started=1 vs 1 iteration [3927]: 1 hello [3927], main<1> 400196d010 (keepcaps=0 vs. want=0) hello [3927], thread<0> 400216f160 (keepcaps=0 vs. want=0) [3927] started=1 vs 2 [3927] started=2 vs 2 iteration [3927]: 2 hello [3927], thread<1> 400216f160 (keepcaps=1 vs. want=1) hello [3927], main<2> 400196d010 (keepcaps=1 vs. want=1) hello [3927], thread<0> 400a970160 (keepcaps=1 vs. want=1) [3927] started=2 vs 3 [3927] started=3 vs 3 iteration [3927]: 3 hello [3927], main<3> 400196d010 (keepcaps=0 vs. want=0) hello [3927], thread<1> 400a970160 (keepcaps=0 vs. want=0) hello [3927], thread<2> 400216f160 (keepcaps=0 vs. want=0) hello [3927], thread<0> 4013171160 (keepcaps=0 vs. want=0) iteration [3927]: 4 hello [3927], main<4> 400196d010 (keepcaps=1 vs. want=1) hello [3927], thread<2> 400a970160 (keepcaps=1 vs. want=1) hello [3927], thread<1> 4013171160 (keepcaps=1 vs. want=1) iteration [3927]: 5 hello [3927], main<5> 400196d010 (keepcaps=0 vs. want=0) hello [3927], thread<2> 4013171160 (keepcaps=0 vs. want=0) iteration [3927]: 6 hello [3927], main<6> 400196d010 (keepcaps=1 vs. want=1) iteration [3927]: 7 hello [3927], main<7> 400196d010 (keepcaps=0 vs. want=0) iteration [3927]: 8 hello [3927], main<8> 400196d010 (keepcaps=1 vs. want=1) iteration [3927]: 9 hello [3927], main<9> 400196d010 (keepcaps=0 vs. want=0) ./psx_test PASSED make[2]: Leaving directory '/build/libcap/src/libcap-2.61/tests' make[1]: Leaving directory '/build/libcap/src/libcap-2.61/tests' /usr/bin/make -C progs test make[1]: Entering directory '/build/libcap/src/libcap-2.61/progs' no program tests without privilege, try 'make sudotest' make[1]: Leaving directory '/build/libcap/src/libcap-2.61/progs' /usr/bin/make -C doc test make[1]: Entering directory '/build/libcap/src/libcap-2.61/doc' no doc tests available make[1]: Leaving directory '/build/libcap/src/libcap-2.61/doc' ==> ERROR: Aborted by user! Exiting...