summaryrefslogtreecommitdiffstats
AgeCommit message (Expand)AuthorFilesLines
2022-07-17Up the release version to 2.65v1.2.65psx/v1.2.65libcap-korg-2.65libcap-2.65cap/v1.2.65Andrew G. Morgan10-12/+12
2022-07-09Include more signatures in pgp.keys.asc.Andrew G. Morgan1-90/+161
2022-05-17Close out this comment in the go/MakefileAndrew G. Morgan1-1/+4
2022-04-30Prevent 'capsh --user=xxx --' from generating a bash error.Andrew G. Morgan2-1/+24
2022-04-28Improve documentation for cap_get_pid and cap_reset_ambient.Andrew G. Morgan1-18/+35
2022-04-17Fix syntax error in DEBUG protected setcap.c code.Andrew G. Morgan1-1/+1
2022-04-11More useful captree usage string and man page.Andrew G. Morgan2-7/+17
2022-04-10Up the release version to 2.64v1.2.64psx/v1.2.64libcap-korg-2.64libcap-2.64cap/v1.2.64Andrew G. Morgan9-11/+11
2022-04-10Avoid a deadlock in forked psx thread exit.Andrew G. Morgan1-3/+10
2022-04-10Include LIBCAP_{MAJOR,MINOR} #define's in sys/capability.hAndrew G. Morgan2-0/+9
2022-04-09Clarify how the cap_get_pid() argument is interpreted.Andrew G. Morgan1-1/+6
2022-03-29Fix prctl return code/errno handling in libcap.Andrew G. Morgan2-26/+37
2022-02-13Be explicit about CGO_ENABLED=1 for compare-cap build.Andrew G. Morgan1-2/+2
2022-02-05psx: free allocated memory at exit.Andrew G. Morgan1-1/+43
2022-01-23Up the release version to 2.63v1.2.63psx/v1.2.63libcap-korg-2.63libcap-2.63cap/v1.2.63Andrew G. Morgan8-10/+10
2022-01-23Trim includes.Andrew G. Morgan6-9/+6
2022-01-23Add a test case for a deadlock.Andrew G. Morgan3-3/+44
2022-01-19Reset the value of errno for main()Andrew G. Morgan2-5/+12
2021-12-13Fix argument crash dump order in psx text dumper.Andrew G. Morgan1-6/+6
2021-12-12Make cgo psx_syscall variant crash like runtime.AllThreadsSyscallAndrew G. Morgan9-19/+162
2021-12-11Up the release version to 2.62v1.2.62psx/v1.2.62libcap-korg-2.62libcap-2.62cap/v1.2.62Andrew G. Morgan8-10/+10
2021-12-11Clean up cap package documentation for Launch.Andrew G. Morgan1-5/+8
2021-12-11Complete launch thread exit sequence.Andrew G. Morgan1-20/+29
2021-12-10Take more care post launchAndrew G. Morgan4-6/+72
2021-12-04Drop perl from the build requirements.Andrew G. Morgan5-11/+32
2021-11-28Fix `-Wformat` on 32-bit platformsDavid Seifert1-1/+1
2021-11-21Include link for cap_max_bits.3 man page.Andrew G. Morgan2-5/+8
2021-11-21Recognize default secbits of 0 as "HYBRID" mode.Andrew G. Morgan5-3/+21
2021-11-20Up the release version to 2.61v1.2.61psx/v1.2.61libcap-korg-2.61libcap-2.61cap/v1.2.61Andrew G. Morgan8-10/+10
2021-11-20Clean up libpsx.so execable mode.Andrew G. Morgan2-2/+17
2021-11-20Add some more info to the libcap.so as an executable.Andrew G. Morgan2-0/+49
2021-11-20Add some information about cap_max_bits().Andrew G. Morgan3-1/+17
2021-11-17Prune the the.Andrew G. Morgan3-4/+4
2021-11-14Force libcap.so to initialize itself when run directly.Andrew G. Morgan4-3/+22
2021-11-14Work around musl not hard-coding the ABI for Linux x86_64.Andrew G. Morgan1-4/+8
2021-11-13Work around a __i386__ compilation issue for runnable .so files.Andrew G. Morgan1-14/+20
2021-11-10Pick the correct topdir in our sucap example.Andrew G. Morgan1-1/+1
2021-11-09Include some helpful debugging for capso.soAndrew G. Morgan2-1/+16
2021-11-07Use calloc'd memory for unix domain socket exchange.Andrew G. Morgan1-24/+43
2021-11-07An example of a shared library object with its own file capability.Andrew G. Morgan5-0/+353
2021-11-06capsh: better error handling for integer parsing.Andrew G. Morgan1-9/+40
2021-11-06setcap: clean up error handling of the ns rootid argument.Andrew G. Morgan1-8/+33
2021-10-22Up the release version to 2.60v1.2.60psx/v1.2.60libcap-korg-2.60libcap-2.60cap/v1.2.60Andrew G. Morgan8-10/+10
2021-10-22Add --quiet and cap_launch() support to capsh.Andrew G. Morgan2-17/+87
2021-10-22Unify the cap package tests for good *Set or *IAB types.Andrew G. Morgan5-33/+58
2021-10-22Concurrency fixes for *cap.Set atomicity.Andrew G. Morgan4-36/+58
2021-10-22Bugfix for (*IAB).Fill() and improve atomicity of API.Andrew G. Morgan3-15/+105
2021-10-22Make cap_launcher_t operations atomic.Andrew G. Morgan4-21/+72
2021-10-22Add a cap_iab_dup() function and make IAB access atomic.Andrew G. Morgan10-16/+97
2021-10-22Make cap_t operations thread safe.Andrew G. Morgan7-57/+152
2021-10-01Implement cap_fill_flag() and cap.FillFlag() APIs.Andrew G. Morgan8-15/+68
2021-10-01Lower the start up memory allocation overhead.Andrew G. Morgan4-7/+16
2021-09-29Fix miscellaneous build and lint warnings.Andrew G. Morgan11-439/+459
2021-09-28Make capshdoc.h stand alone compile friendly.Andrew G. Morgan2-2/+6
2021-09-26Up the release version to 2.59v1.2.59psx/v1.2.59libcap-korg-2.59libcap-2.59cap/v1.2.59Andrew G. Morgan8-10/+10
2021-09-24Fix to 'make clean sudotest' reliablyAndrew G. Morgan1-1/+1
2021-09-24Recognize that NULL is an invalid cap_t and cap_iab_t.Andrew G. Morgan5-13/+33
2021-09-23Update example to avoid reference to deprecated Compare function.Andrew G. Morgan1-1/+1
2021-09-22Spelling fix.Andrew G. Morgan1-1/+1
2021-09-17More compliant cap.Differs documentation.Andrew G. Morgan1-3/+17
2021-09-17Up the release version to 2.58v1.2.58psx/v1.2.58libcap-korg-2.58libcap-2.58cap/v1.2.58Andrew G. Morgan8-10/+10
2021-09-14Fix typo in capsh.Andrew G. Morgan1-1/+1
2021-09-14Add some debugging info for the pam_cap.so deferred callback.Andrew G. Morgan1-0/+18
2021-09-14Another attempt at supporting Ambient vector setting from pam_cap.so.Andrew G. Morgan3-60/+55
2021-09-14Not sure why I didn't include this line before!Andrew G. Morgan1-0/+1
2021-09-13Simplify the contric/sucap/su structure.Andrew G. Morgan2-77/+80
2021-09-13Add PAM "session" support to pam_cap.so.Andrew G. Morgan3-19/+79
2021-09-12Free _cap_proc_dir on exit.Andrew G. Morgan1-0/+13
2021-09-12kdebug shouldn't require sudotest to build uns_test binary.Andrew G. Morgan1-1/+2
2021-09-11Recover the kdebug make rules.Andrew G. Morgan1-1/+1
2021-09-11Add in something the builder can override to augment the GO buildsAndrew G. Morgan2-12/+13
2021-09-10Update pam_cap .gitignore fileAndrew G. Morgan1-0/+1
2021-09-10Another missing dependency for make -j13Andrew G. Morgan1-1/+6
2021-09-10More standard deprecation comment for cap.Compare and cap.IABInitAndrew G. Morgan2-6/+39
2021-09-09Up the release version to 2.57v1.2.57psx/v1.2.57libcap-korg-2.57libcap-2.57cap/v1.2.57Andrew G. Morgan8-10/+10
2021-09-07Implement --strict capsh argument.Andrew G. Morgan3-95/+109
2021-09-07Be more systematic about POSIX.1e value group namesAndrew G. Morgan6-78/+94
2021-09-05Fixed parallel make issuesAndrew G. Morgan3-3/+3
2021-09-05Treat ENOTSUP as an expected error for getcap.Andrew G. Morgan1-1/+1
2021-09-05Add --mode query support to capshAndrew G. Morgan2-27/+41
2021-09-04Refactor top level Makefile to reduce redundant buildingAndrew G. Morgan6-28/+21
2021-09-04Don't build the tests/binaries until we want to run themAndrew G. Morgan1-5/+3
2021-09-04Build system fixesDavid Seifert1-2/+3
2021-09-02Up the release version to 2.56v1.2.56psx/v1.2.56libcap-korg-2.56libcap-2.56cap/v1.2.56Andrew G. Morgan8-10/+10
2021-09-02Document latest option for captree in its man page.Andrew G. Morgan1-1/+8
2021-09-02Make captree use --color on any terminal by default.Andrew G. Morgan1-13/+28
2021-09-01Avoid disecting sub-trees of processes in captree output.Andrew G. Morgan1-12/+84
2021-09-01Don't display duplicate subtrees with captree.Andrew G. Morgan1-0/+8
2021-09-01sucap/su should start with an empty INHERITABLE flag.Andrew G. Morgan1-3/+14
2021-09-01Canonicalize build systemDavid Seifert6-20/+12
2021-09-01cap_iab.3 doc fixes and cleanupAndrew G. Morgan1-34/+31
2021-09-01Permit root to run test_pam_cap without arguments.Andrew G. Morgan1-1/+6
2021-08-31Move $(LDFLAGS) earlier in build command lines.Andrew G. Morgan3-13/+15
2021-08-31Resurrect the $(WARNINGS) for the target buildAndrew G. Morgan2-6/+6
2021-08-30Be more consistent with make variables.Andrew G. Morgan4-25/+27
2021-08-29Up the release version to 2.55v1.2.55psx/v1.2.55libcap-korg-2.55libcap-2.55cap/v1.2.55Andrew G. Morgan8-10/+10
2021-08-29Update man pages.Andrew G. Morgan5-30/+50
2021-08-29Add captree command line options and support process by name.Andrew G. Morgan3-9/+117
2021-08-28Make sudotest more robust against untestable environmentsAndrew G. Morgan7-9/+41
2021-08-28Avoid the build server failure.Andrew G. Morgan2-9/+19
2021-08-27Still unclear where cap_test is crashing.Andrew G. Morgan1-0/+28
2021-08-27Speculative fix for build failure.Andrew G. Morgan3-6/+16
2021-08-27Implement libcap:cap_proc_root() function.Andrew G. Morgan4-4/+74
2021-08-27More fixes for static analysis issues.Andrew G. Morgan9-38/+199
2021-08-26Stop installing the cap and psx packages, but do install captree.Andrew G. Morgan3-7/+33
2021-08-26Eliminate an alignment issue found by clang.Andrew G. Morgan2-79/+81
2021-08-26Fix some static analysis results.Andrew G. Morgan11-8/+69
2021-08-25Up the release version to 2.54v1.2.54psx/v1.2.54libcap-korg-2.54libcap-2.54cap/v1.2.54Andrew G. Morgan8-10/+10
2021-08-25Add a comment about overriding DYNAMIC.Andrew G. Morgan1-0/+1
2021-08-25Support overriding choice of 'sudo'.Andrew G. Morgan5-17/+18
2021-08-25Add some more information to help, and contextual error messages.Andrew G. Morgan1-7/+21
2021-08-25Absorb some of archlinux's Make.Rule customizations.Andrew G. Morgan1-1/+9
2021-08-25Address a compiler warning with the tests/uns_test.Andrew G. Morgan1-1/+3
2021-08-23Make 'progs/getpcaps --iab' act like 'go/captree' in output formatAndrew G. Morgan1-12/+23
2021-08-23Revert most of the LDFLAGS -> LDSTATIC change.Andrew G. Morgan2-11/+17
2021-08-23Allow the builder to force -lpam linkage.Andrew G. Morgan2-7/+25
2021-08-23libcap/Makefile: don't overwrite 'empty' when generating loader.txtArnout Vandecappelle (Essensium/Mind)1-1/+1
2021-08-22Add cap_iab_{compare,get_pid} functions to libcap; --iab to getpcaps.Andrew G. Morgan10-8/+175
2021-08-22Add the captree example.Andrew G. Morgan4-2/+331
2021-08-22Revamp the comparison API of *Set and *IAB tuples; add IABGetPID().Andrew G. Morgan5-13/+157
2021-08-22Fix error code handling for failed cap_reset_ambient()Andrew G. Morgan1-8/+3
2021-08-21Handle libcap allocation failures more explicitly and fix a memory leak.Andrew G. Morgan4-22/+66
2021-08-21Check return values of allocating functionsSamanta Navarro1-0/+12
2021-08-21Fix endless loop with very long stringsSamanta Navarro1-1/+1
2021-08-19Drop non-standard IPATH in favor of CPPFLAGS.Andrew G. Morgan5-23/+31
2021-08-19Make lib*.so files executable.Andrew G. Morgan1-2/+2
2021-08-15Up the release version to 2.53v1.2.53psx/v1.2.53libcap-korg-2.53libcap-2.53cap/v1.2.53Andrew G. Morgan7-9/+9
2021-08-14Fix typos.Samanta Navarro25-59/+59
2021-08-14Complete cap_launch fix.Andrew G. Morgan1-1/+3
2021-08-14Fix cap_launch failures - error propogation.Andrew G. Morgan2-19/+28
2021-08-13Support distributions that build libcap with aggressive link options.Andrew G. Morgan5-21/+54
2021-08-11Support CC=clang again.Andrew G. Morgan4-4/+7
2021-08-10Noticed that this pam_cap/Makefile comment had unintentionally migratedAndrew G. Morgan1-5/+5
2021-08-03Add some documentation concerning the cap.FuncLauncher() behavior.Andrew G. Morgan1-1/+11
2021-08-01Up the release version to 2.52v1.2.52psx/v1.2.52libcap-korg-2.52libcap-2.52cap/v1.2.52Andrew G. Morgan7-9/+9
2021-08-01Revive an ancient 'su' implementation to explore use with libcap.Andrew G. Morgan5-511/+638
2021-08-01Import an old version of su from SimplePAMApps-0.60Andrew G. Morgan3-0/+1534
2021-08-01Add a note about cap_launch callback function return values.Andrew G. Morgan1-8/+17
2021-07-15Clean up allocated memory.Andrew G. Morgan1-2/+11
2021-07-14realloc less at startup executing a .so fileAndrew G. Morgan1-2/+2
2021-07-13Allow for systems with no /proc/self/cmdline file.Andrew G. Morgan2-2/+2
2021-07-12Clarify some cap_launch documentation.Andrew G. Morgan1-2/+6
2021-07-12Support running pam_cap.so as a simple binary.Andrew G. Morgan3-5/+70
2021-07-12Support simply executing the built shared libraries.Andrew G. Morgan6-16/+154
2021-07-02When --suggest'ing also compare against capability namesAndrew G. Morgan1-0/+10
2021-07-02Provide a '--current' command line argument for capsh.Andrew G. Morgan3-13/+33
2021-06-28Add pam_cap.so "default=<IAB>" module argument supportAndrew G. Morgan4-12/+130
2021-06-22Minor edits of README.Andrew G. Morgan1-19/+27
2021-06-21Update comment in gowns sources.Andrew G. Morgan1-1/+5
2021-06-21Permit compilation with -std=c89.Andrew G. Morgan6-7/+15
2021-06-20Up the release version to 2.51v1.2.51psx/v1.2.51libcap-korg-2.51libcap-2.51cap/v1.2.51Andrew G. Morgan7-9/+9
2021-06-20No longer need the go/pkg directory.Andrew G. Morgan1-1/+0
2021-06-20Do away with GOPATH based GO building.Andrew G. Morgan4-46/+60
2021-06-20Clean up some compilation warningsAndrew G. Morgan3-3/+7
2021-06-19Add kernel test to quicktest.shAndrew G. Morgan3-2/+14
2021-06-19Add fill support for the 1e capabilitiesAndrew G. Morgan7-7/+112
2021-06-19Stabilize exporting capabilities into a comparable external formatAndrew G. Morgan5-34/+157
2021-05-30Add an autoauth module flag to pam_cap.soAndrew G. Morgan2-5/+22
2021-05-28Make capsh an installed binary againAndrew G. Morgan1-2/+2
2021-05-28More info for how to coax go.dev into noticing module updatesAndrew G. Morgan1-2/+6
2021-05-24Up the release version to 2.50v1.2.50psx/v1.2.50libcap-korg-2.50libcap-2.50cap/v1.2.50Andrew G. Morgan6-7/+7
2021-05-24Skip pam_cap.so build on musl compilation part of make distcheck.Andrew G. Morgan1-1/+1
2021-05-24Add a handy update script for the various go.mod files.Andrew G. Morgan2-1/+12
2021-05-17Shorten the URLs for bug reports and mention release notes.Andrew G. Morgan2-4/+14
2021-05-16Add support for --suggest=phrase to capsh.Andrew G. Morgan5-18/+48
2021-05-16Validate that user namespaces require CAP_SETFCAP to map UID=0.Andrew G. Morgan6-11/+188
2021-05-07Add a module argument to pam_cap.so to assist with ambient supportAndrew G. Morgan5-17/+80
2021-04-22Fruit of more static analysis resultsAndrew G. Morgan3-7/+23
2021-04-21Add some man page documentation for the capsh "--iab" argumentAndrew G. Morgan2-2/+9
2021-04-21Bug fixes identified by static code analysis.Andrew G. Morgan2-13/+26
2021-04-19Clean up the comments and links in goapps/web/Andrew G. Morgan2-18/+9
2021-04-18Minor fixes for man pages.Andrew G. Morgan3-5/+5
2021-04-17Add some documentation for capsh --explain=cap_fooAndrew G. Morgan1-0/+6
2021-03-30More aggressive cap_test to ensure the launcher isolates contextAndrew G. Morgan2-26/+40
2021-03-27Add --explain=cap_foo support to capsh.Andrew G. Morgan7-12/+497
2021-03-19Fix tyop in go pragma.Andrew G. Morgan1-2/+2
2021-03-13Up the release version to 2.49v1.2.49psx/v1.2.49libcap-korg-2.49libcap-2.49cap/v1.2.49Andrew G. Morgan6-7/+7
2021-03-13Allow musl gcc to be used with cgo for Go programsAndrew G. Morgan1-15/+15
2021-03-13Add some code to automatically exit the kernel testAndrew G. Morgan5-6/+64
2021-03-10A man page for the IAB set functions.Andrew G. Morgan11-6/+185
2021-03-10Comment fixes regarding new cap.Launcher featuresAndrew G. Morgan2-2/+9
2021-03-07Make the cap_launch.3 documentation and code use common conventionsAndrew G. Morgan3-12/+9
2021-03-07Update the man pages with a page for cap_launch.3Andrew G. Morgan11-1/+184
2021-03-06Fix the README reference to the License file.Andrew G. Morgan3-3/+3
2021-03-06Sadness trying to satisfy automation and lawyers.cap/v1.2.49-rc3Andrew G. Morgan4-22/+0
2021-03-06Go apparently needs files to be named insensitive of case.cap/v1.2.49-rc2Andrew G. Morgan4-4/+4
2021-03-06Provide a pair of cap.Prctl{w,}() convenience functionscap/v1.2.49-rc1Andrew G. Morgan2-10/+39
2021-03-06Implement cap.FuncLauncher()Andrew G. Morgan6-66/+302
2021-03-06Add some test cases for cap_func_launcher() and callbacksAndrew G. Morgan2-2/+39
2021-03-06Implement libcap:cap_func_launcher()Andrew G. Morgan3-10/+42
2021-03-06Improve libcap/cap package comment.Andrew G. Morgan1-12/+36
2021-03-06Make documentation more consistently formattedAndrew G. Morgan8-141/+105
2021-02-26Rework psx to compile more robustly and have clearer documentation.Andrew G. Morgan2-18/+36
2021-02-21Clean up comment now that go1.16 has been released.Andrew G. Morgan1-3/+3
2021-02-14Trying to stop the DOS attack on me from lawyers.Andrew G. Morgan9-775/+829
2021-02-06Don't export symbols that are internal.Andrew G. Morgan1-11/+11
2021-02-04Upgrade cap and psx Go modules to version 1.2.48psx/v1.2.48cap/v1.2.48Andrew G. Morgan7-13/+13
2021-02-04Up the release version to 2.48v0.2.48psx/v0.2.48libcap-korg-2.48libcap-2.48cap/v0.2.48Andrew G. Morgan6-7/+7
2021-02-04Make more uniform GO build options.Andrew G. Morgan4-15/+28
2021-02-02Drop all symlinks from the repositoryAndrew G. Morgan4-7/+11