index
:
libcap/libcap.git
master
review
capability library: includes libcap2 file caps, setcap, getcap and capsh
Andrew Morgan
about
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
progs
Age
Commit message (
Expand
)
Author
Files
Lines
2024-01-29
getpcaps: fix program name in help message
Jakub Wilk
1
-1
/
+1
2023-08-13
Restore c89 compaitbility for C source files.
Andrew G. Morgan
1
-3
/
+3
2023-06-24
Add a check for a capabability of all spaces.
Andrew G. Morgan
1
-0
/
+12
2023-06-24
Make it harder to set invalid capabilities on files.
Andrew G. Morgan
1
-10
/
+23
2023-04-22
Partially revive fully static binaries.
Andrew G. Morgan
1
-0
/
+5
2023-02-19
Update documentation for all API functions.
Andrew G. Morgan
1
-0
/
+4
2023-02-09
Make the compare-cap binary clean up after itself.
Andrew G. Morgan
1
-0
/
+1
2022-10-15
Modify DYNAMIC=no linking to only refer to libcap.a
Andrew G. Morgan
1
-5
/
+7
2022-09-29
Use POSIX `grep`
David Seifert
2
-2
/
+2
2022-09-04
Clean up getpcaps code.
Andrew G. Morgan
1
-51
/
+52
2022-09-04
getpcaps: catch PID parsing errors.
Jakub Wilk
1
-1
/
+18
2022-04-30
Prevent 'capsh --user=xxx --' from generating a bash error.
Andrew G. Morgan
1
-1
/
+18
2022-04-17
Fix syntax error in DEBUG protected setcap.c code.
Andrew G. Morgan
1
-1
/
+1
2021-11-06
capsh: better error handling for integer parsing.
Andrew G. Morgan
1
-9
/
+40
2021-11-06
setcap: clean up error handling of the ns rootid argument.
Andrew G. Morgan
1
-8
/
+33
2021-10-22
Add --quiet and cap_launch() support to capsh.
Andrew G. Morgan
1
-15
/
+68
2021-09-29
Fix miscellaneous build and lint warnings.
Andrew G. Morgan
5
-430
/
+433
2021-09-28
Make capshdoc.h stand alone compile friendly.
Andrew G. Morgan
2
-2
/
+6
2021-09-24
Fix to 'make clean sudotest' reliably
Andrew G. Morgan
1
-1
/
+1
2021-09-14
Fix typo in capsh.
Andrew G. Morgan
1
-1
/
+1
2021-09-07
Implement --strict capsh argument.
Andrew G. Morgan
2
-88
/
+89
2021-09-07
Be more systematic about POSIX.1e value group names
Andrew G. Morgan
1
-17
/
+22
2021-09-05
Fixed parallel make issues
Andrew G. Morgan
1
-1
/
+1
2021-09-05
Treat ENOTSUP as an expected error for getcap.
Andrew G. Morgan
1
-1
/
+1
2021-09-05
Add --mode query support to capsh
Andrew G. Morgan
1
-24
/
+33
2021-09-04
Refactor top level Makefile to reduce redundant building
Andrew G. Morgan
1
-2
/
+3
2021-08-31
Move $(LDFLAGS) earlier in build command lines.
Andrew G. Morgan
1
-2
/
+4
2021-08-30
Be more consistent with make variables.
Andrew G. Morgan
1
-2
/
+2
2021-08-28
Make sudotest more robust against untestable environments
Andrew G. Morgan
2
-6
/
+19
2021-08-27
More fixes for static analysis issues.
Andrew G. Morgan
2
-11
/
+30
2021-08-26
Fix some static analysis results.
Andrew G. Morgan
3
-5
/
+26
2021-08-25
Support overriding choice of 'sudo'.
Andrew G. Morgan
1
-1
/
+1
2021-08-25
Add some more information to help, and contextual error messages.
Andrew G. Morgan
1
-7
/
+21
2021-08-23
Make 'progs/getpcaps --iab' act like 'go/captree' in output format
Andrew G. Morgan
1
-12
/
+23
2021-08-23
Revert most of the LDFLAGS -> LDSTATIC change.
Andrew G. Morgan
1
-3
/
+6
2021-08-22
Add cap_iab_{compare,get_pid} functions to libcap; --iab to getpcaps.
Andrew G. Morgan
1
-2
/
+20
2021-08-19
Drop non-standard IPATH in favor of CPPFLAGS.
Andrew G. Morgan
1
-3
/
+3
2021-08-14
Fix typos.
Samanta Navarro
2
-5
/
+5
2021-08-13
Support distributions that build libcap with aggressive link options.
Andrew G. Morgan
1
-4
/
+4
2021-07-02
When --suggest'ing also compare against capability names
Andrew G. Morgan
1
-0
/
+10
2021-07-02
Provide a '--current' command line argument for capsh.
Andrew G. Morgan
2
-12
/
+29
2021-06-20
Clean up some compilation warnings
Andrew G. Morgan
1
-0
/
+1
2021-06-19
Add kernel test to quicktest.sh
Andrew G. Morgan
2
-2
/
+13
2021-05-28
Make capsh an installed binary again
Andrew G. Morgan
1
-2
/
+2
2021-05-16
Add support for --suggest=phrase to capsh.
Andrew G. Morgan
2
-16
/
+42
2021-05-16
Validate that user namespaces require CAP_SETFCAP to map UID=0.
Andrew G. Morgan
1
-0
/
+5
2021-04-22
Fruit of more static analysis results
Andrew G. Morgan
1
-6
/
+18
2021-04-21
Bug fixes identified by static code analysis.
Andrew G. Morgan
1
-8
/
+22
2021-03-27
Add --explain=cap_foo support to capsh.
Andrew G. Morgan
4
-8
/
+496
2021-02-14
Trying to stop the DOS attack on me from lawyers.
Andrew G. Morgan
4
-7
/
+8
2020-12-26
Augment NOPRIV libcap mode with the sticky NO_NEW_PRIVS prctl bit.
Andrew G. Morgan
1
-2
/
+15
2020-12-26
People keep emailing me about the license for libcap.
Andrew G. Morgan
4
-41
/
+65
2020-12-26
Clean up the exit status to match other binaries.
Andrew G. Morgan
1
-5
/
+5
2020-12-23
checkpoint
Andrew G. Morgan
3
-10
/
+15
2020-12-22
Improve the usage and diagnostic message for setcap
Andrew G. Morgan
1
-14
/
+30
2020-12-07
Make quicktest.sh work again with kernel test
Andrew G. Morgan
1
-1
/
+3
2020-10-28
Guarantee sufficient memory for scratch pathname
Andrew G. Morgan
1
-1
/
+1
2020-10-27
Support systems with no available pthreads support.
Andrew G. Morgan
1
-7
/
+8
2020-10-27
If needed search PATH for capsh (==) self-execution.
Andrew G. Morgan
2
-2
/
+56
2020-09-12
Be slightly more selective in what to build.
Andrew G. Morgan
1
-2
/
+4
2020-09-07
Migrate all uses of tcapsh-static to sudotest target.
Andrew G. Morgan
1
-1
/
+1
2020-09-07
Support dynamic test compilation and execution.
Andrew G. Morgan
3
-9
/
+15
2020-07-16
capsh.c: Spelling fixes in usage() message
Michael Kerrisk (man-pages)
1
-2
/
+2
2020-06-04
Better protect some header #define's.
Andrew G. Morgan
2
-0
/
+3
2020-06-01
Work around a bug in glibc.
Andrew G. Morgan
1
-9
/
+9
2020-05-12
Fix typos
Christian Kastner
1
-1
/
+1
2020-04-05
Support overriding the preferred shell for capsh.
Andrew G. Morgan
2
-7
/
+15
2020-02-25
Remove ` character from getcap output
retornam
1
-2
/
+2
2020-02-23
A convenient IAB abstraction for inherited capability vectors.
Andrew G. Morgan
2
-0
/
+26
2020-01-27
More capsh testing features.
Andrew G. Morgan
1
-3
/
+34
2020-01-20
Add testing features to capsh.
Andrew G. Morgan
1
-2
/
+51
2020-01-04
Add a --help option to getpcaps.
Andrew G. Morgan
1
-5
/
+26
2020-01-03
Refactor the way we do the psx linkage in libcap.
Andrew G. Morgan
1
-0
/
+7
2019-12-23
Ensure that gcc -std=c89 build works.
Andrew G. Morgan
1
-0
/
+2
2019-12-15
More convenience functionality for libcap.
Andrew G. Morgan
2
-30
/
+102
2019-12-15
Break out test into two parts: test or sudotest.
Andrew G. Morgan
1
-0
/
+2
2019-12-13
Restructure the make files into build vs. test
Andrew G. Morgan
1
-1
/
+9
2019-12-07
Minor test enhancement related to ambient caps
Andrew G. Morgan
2
-2
/
+2
2019-12-05
Implement a helper library for POSIX semantics syscalls.
Andrew G. Morgan
1
-2
/
+1
2019-05-19
A Go (golang) implementation of libcap: import "libcap/cap".
Andrew G. Morgan
3
-6
/
+20
2019-04-21
some clean up
Andrew G. Morgan
1
-1
/
+1
2019-04-13
Use strncmp to not read past argument lengths
Pauline Middelink
1
-17
/
+17
2019-04-13
Fix number of characters in --drop check.
Pauline Middelink
1
-1
/
+1
2018-09-11
Ambient test cases - file capabilities trump ambient sets.
Andrew G. Morgan
1
-2
/
+11
2018-09-11
Add support for a -n argument to getcap and setcap.
Andrew G. Morgan
3
-14
/
+72
2018-09-10
getpcaps: fix typo proccess->process
Giuseppe Scrivano
1
-1
/
+1
2016-02-07
Clean up ambient support and add a smoke test for them.
Andrew G. Morgan
2
-80
/
+227
2016-02-06
Add initial support for the ambient set.
Andrew G. Morgan
1
-75
/
+99
2016-02-06
Add something to run libcap's quicktest tests against development kernel.
Andrew G. Morgan
1
-1
/
+2
2016-01-30
setcap: fix errno display
Andrew G. Morgan
1
-1
/
+2
2016-01-30
Sigh. Compiling capsh statically and we get no getpw*() functions.
Andrew G. Morgan
1
-6
/
+10
2016-01-30
Drop use of libattr for our trivial use case of kernel API.
Andrew G. Morgan
1
-4
/
+1
2014-05-31
don't include FAKEROOT in Makefile variables
Benedikt Morbach
1
-3
/
+3
2013-12-24
Stop using ping to test privilege use.
Andrew G Morgan
1
-18
/
+26
2011-07-30
setcap: comment to help the user figure out why setcap is failing.
Andrew G. Morgan
1
-2
/
+25
2011-07-30
Fix a compiler warning(error) for format mismatch.
Andrew G. Morgan
1
-1
/
+2
2011-07-24
Change directory to "/" after --chroot operation.
Andrew G. Morgan
2
-1
/
+13
2011-04-25
Add some bounding set capability support to libcap.
Andrew G. Morgan
1
-8
/
+28
2010-08-08
Default to installing setcap with an inheritable capability.
Andrew G. Morgan
3
-2
/
+9
2010-08-08
fix Makefiles
Torsten Werner
1
-2
/
+2
2010-01-11
Clean up of prctl code.
Andrew G. Morgan
2
-10
/
+4
2010-01-03
Add a test for maximal lock-down.
Andrew G. Morgan
2
-29
/
+70
2009-12-25
Oops. Don't reuse index for loop.
Andrew G. Morgan
1
-3
/
+3
2009-11-23
New features (setting user and groups)
Andrew G. Morgan
1
-3
/
+48
2009-11-22
Checkpoint.
Andrew G. Morgan
1
-2
/
+67
2009-08-26
Fix test to actually test setuid-0 scripts don't get capabilities.
Andrew G. Morgan
1
-1
/
+5
2009-08-26
Fix recent compilation issue - by reordering #includes.
Andrew G. Morgan
1
-1
/
+1
2008-11-20
Fix getcap utility in recursive mode
libcap-2.15
Lukas Kuklinek
1
-40
/
+29
2008-11-10
Makefile tweaks mostly
Andrew G. Morgan
2
-2
/
+26
2008-10-24
No longer need verify-caps since setcap -v performs this operation.
Andrew G. Morgan
2
-77
/
+2
2008-10-24
Documentation for setcap reconciled with application.
Andrew G. Morgan
1
-1
/
+1
2008-10-24
Record the fact that setcap has raised CAP_SETFCAP.
Andrew G. Morgan
1
-0
/
+1
2008-10-23
Add a -v (verify) mode to setcap
Andrew G. Morgan
1
-27
/
+66
2008-10-23
A handy --decode=0xYYYYY flag for capsh.
Andrew G. Morgan
1
-0
/
+25
2008-10-19
Make programs dynamically linked.
Andrew G. Morgan
1
-0
/
+2
2008-10-19
Add an example program to verify that a file has specific capabilities.
Andrew G. Morgan
3
-3
/
+80
2008-07-08
Fix cap_copy_int(), add two functions cap_get_pid() and cap_compare()
Andrew G. Morgan
1
-16
/
+8
2008-06-02
Some makefile cleanups.
Andrew G. Morgan
1
-1
/
+4
2008-04-27
Revised numbers for the SECUREBITS prctl()s
Andrew G. Morgan
1
-2
/
+2
2008-03-29
Add cap_clear_flag() function to clear one of the EIP capability flag vectors
Andrew G. Morgan
1
-1
/
+5
2008-03-06
Added missing rm -f ./ping to quicktest.sh (for early exit)
Chris Friedhoff
1
-0
/
+1
2008-03-05
Clean up more things in progs (side effects of failing quicktest.sh)
Andrew G. Morgan
1
-1
/
+1
2008-03-05
Add a test for all= capability setting etc, support.
Andrew G. Morgan
1
-7
/
+16
2008-03-01
Rearranged order to support bailing early if no securebits support available
Andrew G. Morgan
1
-17
/
+25
2008-02-21
Extend capsh with --caps= --killit= --forkfor= and == support
Andrew G. Morgan
2
-6
/
+115
2008-02-17
Add .gitignore files
Mike Frysinger
1
-0
/
+4
2008-02-17
do not use the '-s' flag with `install`
Mike Frysinger
1
-1
/
+1
2008-02-05
We don't need to export _cap_names[] any more.
Andrew G. Morgan
1
-0
/
+2
2008-02-03
Support for prctl based securebits.
Andrew G. Morgan
2
-3
/
+134
2008-01-24
Fix malloc(size) but in capsh and numeric capabilities (for unnamed bits)
Andrew G. Morgan
1
-1
/
+1
2008-01-21
Introduce a capability shell wrapper; capsh.
Andrew G. Morgan
2
-1
/
+240
2007-12-30
Filesystem capabilities are only meaningful on regular files.
libcap-2.04
Andrew G. Morgan
1
-0
/
+2
2007-11-16
The following patch to libcap enables to display file capabilities
KaiGai Kohei
1
-17
/
+84
2007-10-31
Add support for 64-bit (file) capabilities
libcap-20071031
Andrew Morgan
2
-18
/
+21
2007-08-13
Build with a pam_cap module.
Andrew Morgan
1
-1
/
+25
2007-08-13
Revived old setcap/getcap manual pages and added support for removing file caps
Andrew Morgan
1
-21
/
+28
2007-08-13
Cleanup output; and permit setcap e value to be superset of ip.
Andrew Morgan
2
-8
/
+6
2007-08-13
Add tentitive support for filesystem capabilities with 2.6.23-mm kernels
Andrew Morgan
6
-8
/
+11
2007-07-17
Support for static library creation (libcap.a) + misc
Andrew Morgan
1
-1
/
+1
2007-07-10
Prepare for 1.95 release.
Andrew Morgan
7
-117
/
+17
2007-07-10
This is libcap-1.10
libcap-1.10
Andrew Morgan
2
-4
/
+10
2007-07-10
This is libcap-1.01
libcap-1.01
Andrew Morgan
14
-1294
/
+20
2007-07-10
This is the source for libcap-1.0.tar.gz
libcap-1.0
Andrew Morgan
16
-0
/
+2009