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
Age
Commit message (
Expand
)
Author
Files
Lines
2024-04-05
Tidy up some of the automated formatting.
HEAD
review
master
Andrew G. Morgan
3
-41
/
+69
2024-04-05
doc: document the use of `*` to refer to all users
Carlos Rodriguez-Fernandez
1
-1
/
+1
2024-04-03
doc: document pam_cap and its conf
Carlos Rodriguez-Fernandez
3
-3
/
+125
2024-02-18
Reformat doc text for web.go
Andrew G. Morgan
1
-6
/
+6
2024-01-29
getpcaps: fix program name in help message
Jakub Wilk
1
-1
/
+1
2024-01-12
Fix reference formatting in the captree man page.
Jakub Wilk
1
-1
/
+1
2023-12-22
Stop using _pam_overwrite() in pam_cap.c.
Andrew G. Morgan
1
-2
/
+2
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
3
-10
/
+55
2023-05-24
Tidy up the overview example for the "cap" package.
Andrew G. Morgan
1
-1
/
+2
2023-05-14
Up the release version to 2.69
v1.2.69
psx/v1.2.69
libcap-korg-2.69
libcap-2.69
cap/v1.2.69
Andrew G. Morgan
11
-13
/
+13
2023-05-09
Ignore the content of a capability.conf file if it is world-writable.
Andrew G. Morgan
4
-5
/
+44
2023-05-09
There was a small memory leak in pam_cap.so when libpam returned an error.
Andrew G. Morgan
1
-1
/
+6
2023-05-09
Large strings can confuse libcap's internal strdup code.
Andrew G. Morgan
1
-5
/
+7
2023-05-09
Correct the check of pthread_create()'s return value.
Andrew G. Morgan
1
-1
/
+1
2023-04-22
Partially revive fully static binaries.
Andrew G. Morgan
2
-2
/
+7
2023-04-10
Improve style in man page function prototypes
Emanuele Torre
2
-7
/
+7
2023-03-25
Up the release version to 2.68
v1.2.68
psx/v1.2.68
libcap-korg-2.68
libcap-2.68
cap/v1.2.68
Andrew G. Morgan
11
-13
/
+13
2023-03-25
Undo hiding the wrapped function call in libpsx.
Andrew G. Morgan
1
-1
/
+0
2023-03-19
Tidy up some text explaining cap.NamedCaps.
Andrew G. Morgan
2
-4
/
+4
2023-03-18
Some formatting fixes for the libpsx man page.
Andrew G. Morgan
1
-14
/
+20
2023-03-11
Replace the README with a README.md
Andrew G. Morgan
3
-18
/
+30
2023-02-19
Recognize the new man page links.
Andrew G. Morgan
1
-0
/
+2
2023-02-19
Update documentation for all API functions.
Andrew G. Morgan
11
-30
/
+82
2023-02-11
Drop vendor directory and clean up extra gcc...sh file
Andrew G. Morgan
3
-141
/
+0
2023-02-11
Simplify and refactor the bug215510 code.
Andrew G. Morgan
14
-51
/
+309
2023-02-09
Make the compare-cap binary clean up after itself.
Andrew G. Morgan
2
-5
/
+8
2023-02-08
Be more strict about what symbols are externally visible.
Andrew G. Morgan
3
-2
/
+7
2023-02-06
Sigh. Fix some copy-pasta errors with psx_test.go changes.
Andrew G. Morgan
1
-3
/
+3
2023-02-06
Add some more explicit testing to the psx_test.go code.
Andrew G. Morgan
1
-1
/
+58
2023-02-06
Provide a method to import preamble and postscript for md man pages
Andrew G. Morgan
1
-0
/
+16
2023-02-06
Drop an unnecessary use of ", _" from captree.go
Andrew G. Morgan
1
-1
/
+1
2023-02-02
Up the release version to 2.67
v1.2.67
psx/v1.2.67
libcap-korg-2.67
libcap-2.67
cap/v1.2.67
Andrew G. Morgan
10
-12
/
+12
2023-02-02
Resolve a couple of compiler warnings.
Andrew G. Morgan
2
-2
/
+2
2022-10-30
Clean up some of the markdown text.
Andrew G. Morgan
2
-22
/
+22
2022-10-29
Minor clean ups of the contrib/bug216610 code/docs
Andrew G. Morgan
2
-5
/
+8
2022-10-29
Add support for optimized C compilation to .syso objects.
Andrew G. Morgan
3
-26
/
+104
2022-10-23
Add an example of combining Go, C code and "psx" without cgo.
Andrew G. Morgan
8
-0
/
+258
2022-10-19
Reviewed license information and adde SPDX ids.
Andrew G. Morgan
5
-1
/
+9
2022-10-16
Reviewed man pages, adding overlooked references.
Andrew G. Morgan
11
-29
/
+150
2022-10-15
Modify DYNAMIC=no linking to only refer to libcap.a
Andrew G. Morgan
1
-5
/
+7
2022-10-09
Add some exploit demonstration code to capso.so
Andrew G. Morgan
2
-7
/
+78
2022-10-04
Address bad-whatis-entry issue noticed by Debian build tests
Andrew G. Morgan
2
-0
/
+10
2022-09-29
Use POSIX `grep`
David Seifert
4
-4
/
+4
2022-09-24
Up the release version to 2.66
v1.2.66
psx/v1.2.66
libcap-korg-2.66
libcap-2.66
cap/v1.2.66
Andrew G. Morgan
10
-12
/
+12
2022-09-22
Fix typos in the cap_from_text.3 man page.
Andrew G. Morgan
1
-4
/
+4
2022-09-22
Add captrace to .gitignore file
Andrew G. Morgan
1
-0
/
+1
2022-09-18
Add an example of using BPF kprobing to trace capability use.
Andrew G. Morgan
3
-2
/
+240
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-08-05
Fix an issue with bash displaying an error.
Andrew G. Morgan
2
-14
/
+41
2022-07-22
Some more simplifications for building
Andrew G. Morgan
2
-1
/
+6
2022-07-21
Fix for "make clean ; make -j48 test"
Andrew G. Morgan
1
-2
/
+2
2022-07-17
Up the release version to 2.65
v1.2.65
psx/v1.2.65
libcap-korg-2.65
libcap-2.65
cap/v1.2.65
Andrew G. Morgan
10
-12
/
+12
2022-07-09
Include more signatures in pgp.keys.asc.
Andrew G. Morgan
1
-90
/
+161
2022-05-17
Close out this comment in the go/Makefile
Andrew G. Morgan
1
-1
/
+4
2022-04-30
Prevent 'capsh --user=xxx --' from generating a bash error.
Andrew G. Morgan
2
-1
/
+24
2022-04-28
Improve documentation for cap_get_pid and cap_reset_ambient.
Andrew G. Morgan
1
-18
/
+35
2022-04-17
Fix syntax error in DEBUG protected setcap.c code.
Andrew G. Morgan
1
-1
/
+1
2022-04-11
More useful captree usage string and man page.
Andrew G. Morgan
2
-7
/
+17
2022-04-10
Up the release version to 2.64
v1.2.64
psx/v1.2.64
libcap-korg-2.64
libcap-2.64
cap/v1.2.64
Andrew G. Morgan
9
-11
/
+11
2022-04-10
Avoid a deadlock in forked psx thread exit.
Andrew G. Morgan
1
-3
/
+10
2022-04-10
Include LIBCAP_{MAJOR,MINOR} #define's in sys/capability.h
Andrew G. Morgan
2
-0
/
+9
2022-04-09
Clarify how the cap_get_pid() argument is interpreted.
Andrew G. Morgan
1
-1
/
+6
2022-03-29
Fix prctl return code/errno handling in libcap.
Andrew G. Morgan
2
-26
/
+37
2022-02-13
Be explicit about CGO_ENABLED=1 for compare-cap build.
Andrew G. Morgan
1
-2
/
+2
2022-02-05
psx: free allocated memory at exit.
Andrew G. Morgan
1
-1
/
+43
2022-01-23
Up the release version to 2.63
v1.2.63
psx/v1.2.63
libcap-korg-2.63
libcap-2.63
cap/v1.2.63
Andrew G. Morgan
8
-10
/
+10
2022-01-23
Trim includes.
Andrew G. Morgan
6
-9
/
+6
2022-01-23
Add a test case for a deadlock.
Andrew G. Morgan
3
-3
/
+44
2022-01-19
Reset the value of errno for main()
Andrew G. Morgan
2
-5
/
+12
2021-12-13
Fix argument crash dump order in psx text dumper.
Andrew G. Morgan
1
-6
/
+6
2021-12-12
Make cgo psx_syscall variant crash like runtime.AllThreadsSyscall
Andrew G. Morgan
9
-19
/
+162
2021-12-11
Up the release version to 2.62
v1.2.62
psx/v1.2.62
libcap-korg-2.62
libcap-2.62
cap/v1.2.62
Andrew G. Morgan
8
-10
/
+10
2021-12-11
Clean up cap package documentation for Launch.
Andrew G. Morgan
1
-5
/
+8
2021-12-11
Complete launch thread exit sequence.
Andrew G. Morgan
1
-20
/
+29
2021-12-10
Take more care post launch
Andrew G. Morgan
4
-6
/
+72
2021-12-04
Drop perl from the build requirements.
Andrew G. Morgan
5
-11
/
+32
2021-11-28
Fix `-Wformat` on 32-bit platforms
David Seifert
1
-1
/
+1
2021-11-21
Include link for cap_max_bits.3 man page.
Andrew G. Morgan
2
-5
/
+8
2021-11-21
Recognize default secbits of 0 as "HYBRID" mode.
Andrew G. Morgan
5
-3
/
+21
2021-11-20
Up the release version to 2.61
v1.2.61
psx/v1.2.61
libcap-korg-2.61
libcap-2.61
cap/v1.2.61
Andrew G. Morgan
8
-10
/
+10
2021-11-20
Clean up libpsx.so execable mode.
Andrew G. Morgan
2
-2
/
+17
2021-11-20
Add some more info to the libcap.so as an executable.
Andrew G. Morgan
2
-0
/
+49
2021-11-20
Add some information about cap_max_bits().
Andrew G. Morgan
3
-1
/
+17
2021-11-17
Prune the the.
Andrew G. Morgan
3
-4
/
+4
2021-11-14
Force libcap.so to initialize itself when run directly.
Andrew G. Morgan
4
-3
/
+22
2021-11-14
Work around musl not hard-coding the ABI for Linux x86_64.
Andrew G. Morgan
1
-4
/
+8
2021-11-13
Work around a __i386__ compilation issue for runnable .so files.
Andrew G. Morgan
1
-14
/
+20
2021-11-10
Pick the correct topdir in our sucap example.
Andrew G. Morgan
1
-1
/
+1
2021-11-09
Include some helpful debugging for capso.so
Andrew G. Morgan
2
-1
/
+16
2021-11-07
Use calloc'd memory for unix domain socket exchange.
Andrew G. Morgan
1
-24
/
+43
2021-11-07
An example of a shared library object with its own file capability.
Andrew G. Morgan
5
-0
/
+353
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
Up the release version to 2.60
v1.2.60
psx/v1.2.60
libcap-korg-2.60
libcap-2.60
cap/v1.2.60
Andrew G. Morgan
8
-10
/
+10
2021-10-22
Add --quiet and cap_launch() support to capsh.
Andrew G. Morgan
2
-17
/
+87
2021-10-22
Unify the cap package tests for good *Set or *IAB types.
Andrew G. Morgan
5
-33
/
+58
2021-10-22
Concurrency fixes for *cap.Set atomicity.
Andrew G. Morgan
4
-36
/
+58
2021-10-22
Bugfix for (*IAB).Fill() and improve atomicity of API.
Andrew G. Morgan
3
-15
/
+105
2021-10-22
Make cap_launcher_t operations atomic.
Andrew G. Morgan
4
-21
/
+72
2021-10-22
Add a cap_iab_dup() function and make IAB access atomic.
Andrew G. Morgan
10
-16
/
+97
2021-10-22
Make cap_t operations thread safe.
Andrew G. Morgan
7
-57
/
+152
2021-10-01
Implement cap_fill_flag() and cap.FillFlag() APIs.
Andrew G. Morgan
8
-15
/
+68
2021-10-01
Lower the start up memory allocation overhead.
Andrew G. Morgan
4
-7
/
+16
2021-09-29
Fix miscellaneous build and lint warnings.
Andrew G. Morgan
11
-439
/
+459
2021-09-28
Make capshdoc.h stand alone compile friendly.
Andrew G. Morgan
2
-2
/
+6
2021-09-26
Up the release version to 2.59
v1.2.59
psx/v1.2.59
libcap-korg-2.59
libcap-2.59
cap/v1.2.59
Andrew G. Morgan
8
-10
/
+10
2021-09-24
Fix to 'make clean sudotest' reliably
Andrew G. Morgan
1
-1
/
+1
2021-09-24
Recognize that NULL is an invalid cap_t and cap_iab_t.
Andrew G. Morgan
5
-13
/
+33
2021-09-23
Update example to avoid reference to deprecated Compare function.
Andrew G. Morgan
1
-1
/
+1
2021-09-22
Spelling fix.
Andrew G. Morgan
1
-1
/
+1
2021-09-17
More compliant cap.Differs documentation.
Andrew G. Morgan
1
-3
/
+17
2021-09-17
Up the release version to 2.58
v1.2.58
psx/v1.2.58
libcap-korg-2.58
libcap-2.58
cap/v1.2.58
Andrew G. Morgan
8
-10
/
+10
2021-09-14
Fix typo in capsh.
Andrew G. Morgan
1
-1
/
+1
2021-09-14
Add some debugging info for the pam_cap.so deferred callback.
Andrew G. Morgan
1
-0
/
+18
2021-09-14
Another attempt at supporting Ambient vector setting from pam_cap.so.
Andrew G. Morgan
3
-60
/
+55
2021-09-14
Not sure why I didn't include this line before!
Andrew G. Morgan
1
-0
/
+1
2021-09-13
Simplify the contric/sucap/su structure.
Andrew G. Morgan
2
-77
/
+80
2021-09-13
Add PAM "session" support to pam_cap.so.
Andrew G. Morgan
3
-19
/
+79
2021-09-12
Free _cap_proc_dir on exit.
Andrew G. Morgan
1
-0
/
+13
2021-09-12
kdebug shouldn't require sudotest to build uns_test binary.
Andrew G. Morgan
1
-1
/
+2
2021-09-11
Recover the kdebug make rules.
Andrew G. Morgan
1
-1
/
+1
2021-09-11
Add in something the builder can override to augment the GO builds
Andrew G. Morgan
2
-12
/
+13
2021-09-10
Update pam_cap .gitignore file
Andrew G. Morgan
1
-0
/
+1
2021-09-10
Another missing dependency for make -j13
Andrew G. Morgan
1
-1
/
+6
2021-09-10
More standard deprecation comment for cap.Compare and cap.IABInit
Andrew G. Morgan
2
-6
/
+39
2021-09-09
Up the release version to 2.57
v1.2.57
psx/v1.2.57
libcap-korg-2.57
libcap-2.57
cap/v1.2.57
Andrew G. Morgan
8
-10
/
+10
2021-09-07
Implement --strict capsh argument.
Andrew G. Morgan
3
-95
/
+109
2021-09-07
Be more systematic about POSIX.1e value group names
Andrew G. Morgan
6
-78
/
+94
2021-09-05
Fixed parallel make issues
Andrew G. Morgan
3
-3
/
+3
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
2
-27
/
+41
2021-09-04
Refactor top level Makefile to reduce redundant building
Andrew G. Morgan
6
-28
/
+21
2021-09-04
Don't build the tests/binaries until we want to run them
Andrew G. Morgan
1
-5
/
+3
2021-09-04
Build system fixes
David Seifert
1
-2
/
+3
2021-09-02
Up the release version to 2.56
v1.2.56
psx/v1.2.56
libcap-korg-2.56
libcap-2.56
cap/v1.2.56
Andrew G. Morgan
8
-10
/
+10
2021-09-02
Document latest option for captree in its man page.
Andrew G. Morgan
1
-1
/
+8
2021-09-02
Make captree use --color on any terminal by default.
Andrew G. Morgan
1
-13
/
+28
2021-09-01
Avoid disecting sub-trees of processes in captree output.
Andrew G. Morgan
1
-12
/
+84
2021-09-01
Don't display duplicate subtrees with captree.
Andrew G. Morgan
1
-0
/
+8
2021-09-01
sucap/su should start with an empty INHERITABLE flag.
Andrew G. Morgan
1
-3
/
+14
2021-09-01
Canonicalize build system
David Seifert
6
-20
/
+12
2021-09-01
cap_iab.3 doc fixes and cleanup
Andrew G. Morgan
1
-34
/
+31
2021-09-01
Permit root to run test_pam_cap without arguments.
Andrew G. Morgan
1
-1
/
+6
2021-08-31
Move $(LDFLAGS) earlier in build command lines.
Andrew G. Morgan
3
-13
/
+15
2021-08-31
Resurrect the $(WARNINGS) for the target build
Andrew G. Morgan
2
-6
/
+6
2021-08-30
Be more consistent with make variables.
Andrew G. Morgan
4
-25
/
+27
2021-08-29
Up the release version to 2.55
v1.2.55
psx/v1.2.55
libcap-korg-2.55
libcap-2.55
cap/v1.2.55
Andrew G. Morgan
8
-10
/
+10
2021-08-29
Update man pages.
Andrew G. Morgan
5
-30
/
+50
2021-08-29
Add captree command line options and support process by name.
Andrew G. Morgan
3
-9
/
+117
2021-08-28
Make sudotest more robust against untestable environments
Andrew G. Morgan
7
-9
/
+41
2021-08-28
Avoid the build server failure.
Andrew G. Morgan
2
-9
/
+19
2021-08-27
Still unclear where cap_test is crashing.
Andrew G. Morgan
1
-0
/
+28
2021-08-27
Speculative fix for build failure.
Andrew G. Morgan
3
-6
/
+16
2021-08-27
Implement libcap:cap_proc_root() function.
Andrew G. Morgan
4
-4
/
+74
2021-08-27
More fixes for static analysis issues.
Andrew G. Morgan
9
-38
/
+199
2021-08-26
Stop installing the cap and psx packages, but do install captree.
Andrew G. Morgan
3
-7
/
+33
2021-08-26
Eliminate an alignment issue found by clang.
Andrew G. Morgan
2
-79
/
+81
2021-08-26
Fix some static analysis results.
Andrew G. Morgan
11
-8
/
+69
2021-08-25
Up the release version to 2.54
v1.2.54
psx/v1.2.54
libcap-korg-2.54
libcap-2.54
cap/v1.2.54
Andrew G. Morgan
8
-10
/
+10
2021-08-25
Add a comment about overriding DYNAMIC.
Andrew G. Morgan
1
-0
/
+1
2021-08-25
Support overriding choice of 'sudo'.
Andrew G. Morgan
5
-17
/
+18
2021-08-25
Add some more information to help, and contextual error messages.
Andrew G. Morgan
1
-7
/
+21
2021-08-25
Absorb some of archlinux's Make.Rule customizations.
Andrew G. Morgan
1
-1
/
+9
2021-08-25
Address a compiler warning with the tests/uns_test.
Andrew G. Morgan
1
-1
/
+3
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
2
-11
/
+17
2021-08-23
Allow the builder to force -lpam linkage.
Andrew G. Morgan
2
-7
/
+25
2021-08-23
libcap/Makefile: don't overwrite 'empty' when generating loader.txt
Arnout Vandecappelle (Essensium/Mind)
1
-1
/
+1
2021-08-22
Add cap_iab_{compare,get_pid} functions to libcap; --iab to getpcaps.
Andrew G. Morgan
10
-8
/
+175
2021-08-22
Add the captree example.
Andrew G. Morgan
4
-2
/
+331
2021-08-22
Revamp the comparison API of *Set and *IAB tuples; add IABGetPID().
Andrew G. Morgan
5
-13
/
+157
2021-08-22
Fix error code handling for failed cap_reset_ambient()
Andrew G. Morgan
1
-8
/
+3
2021-08-21
Handle libcap allocation failures more explicitly and fix a memory leak.
Andrew G. Morgan
4
-22
/
+66
2021-08-21
Check return values of allocating functions
Samanta Navarro
1
-0
/
+12
2021-08-21
Fix endless loop with very long strings
Samanta Navarro
1
-1
/
+1
2021-08-19
Drop non-standard IPATH in favor of CPPFLAGS.
Andrew G. Morgan
5
-23
/
+31
2021-08-19
Make lib*.so files executable.
Andrew G. Morgan
1
-2
/
+2
2021-08-15
Up the release version to 2.53
v1.2.53
psx/v1.2.53
libcap-korg-2.53
libcap-2.53
cap/v1.2.53
Andrew G. Morgan
7
-9
/
+9
2021-08-14
Fix typos.
Samanta Navarro
25
-59
/
+59
2021-08-14
Complete cap_launch fix.
Andrew G. Morgan
1
-1
/
+3
2021-08-14
Fix cap_launch failures - error propogation.
Andrew G. Morgan
2
-19
/
+28
2021-08-13
Support distributions that build libcap with aggressive link options.
Andrew G. Morgan
5
-21
/
+54
2021-08-11
Support CC=clang again.
Andrew G. Morgan
4
-4
/
+7
2021-08-10
Noticed that this pam_cap/Makefile comment had unintentionally migrated
Andrew G. Morgan
1
-5
/
+5
2021-08-03
Add some documentation concerning the cap.FuncLauncher() behavior.
Andrew G. Morgan
1
-1
/
+11
2021-08-01
Up the release version to 2.52
v1.2.52
psx/v1.2.52
libcap-korg-2.52
libcap-2.52
cap/v1.2.52
Andrew G. Morgan
7
-9
/
+9
2021-08-01
Revive an ancient 'su' implementation to explore use with libcap.
Andrew G. Morgan
5
-511
/
+638
2021-08-01
Import an old version of su from SimplePAMApps-0.60
Andrew G. Morgan
3
-0
/
+1534
2021-08-01
Add a note about cap_launch callback function return values.
Andrew G. Morgan
1
-8
/
+17
2021-07-15
Clean up allocated memory.
Andrew G. Morgan
1
-2
/
+11
2021-07-14
realloc less at startup executing a .so file
Andrew G. Morgan
1
-2
/
+2
2021-07-13
Allow for systems with no /proc/self/cmdline file.
Andrew G. Morgan
2
-2
/
+2
2021-07-12
Clarify some cap_launch documentation.
Andrew G. Morgan
1
-2
/
+6
2021-07-12
Support running pam_cap.so as a simple binary.
Andrew G. Morgan
3
-5
/
+70
2021-07-12
Support simply executing the built shared libraries.
Andrew G. Morgan
6
-16
/
+154
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
3
-13
/
+33
[next]