aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Expand)AuthorFilesLines
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
2021-02-02CamelCase the seccomp explore.go exampleAndrew G. Morgan1-41/+42
2021-02-02Add some CGO_ENABLED=0 documentation for the Syscall functions.Andrew G. Morgan1-0/+2
2021-02-02libcap: Use $(MAKE) instead of makeAndrew Delgadillo2-22/+22
2021-02-02Update the libpsx man page.Andrew G. Morgan1-3/+8
2021-01-29Correct a stale comment in psx.c related to weak linkingAndrew G. Morgan1-8/+9
2021-01-27Update the "psx" README file.Andrew G. Morgan1-11/+19
2021-01-27Minor doc fixes for the "cap" module.Andrew G. Morgan1-5/+5
2021-01-23Up the release version to 2.47v0.2.47psx/v0.2.47libcap-korg-2.47libcap-2.47cap/v0.2.47Andrew G. Morgan6-10/+10
2021-01-23Minor cap package comment update.Andrew G. Morgan1-2/+2
2021-01-23Capture a standalone example of using psx with PR_SET_NO_NEW_PRIVS.Andrew G. Morgan2-0/+281
2021-01-23Restructured gowns to default to uid base of getuid().Andrew G. Morgan1-59/+69
2020-12-26Augment NOPRIV libcap mode with the sticky NO_NEW_PRIVS prctl bit.Andrew G. Morgan5-4/+44
2020-12-26People keep emailing me about the license for libcap.Andrew G. Morgan4-41/+65
2020-12-26Clean up the exit status to match other binaries.Andrew G. Morgan1-5/+5
2020-12-23checkpointAndrew G. Morgan3-10/+15
2020-12-23Minor fixes for "cap" package documentation.Andrew G. Morgan2-5/+5
2020-12-22No longer need the Go build tag allthreadssyscall.Andrew G. Morgan4-17/+10
2020-12-22Improve the usage and diagnostic message for setcapAndrew G. Morgan1-14/+30
2020-12-12Up the release version to 2.46v0.2.46psx/v0.2.46libcap-korg-2.46libcap-2.46cap/v0.2.46Andrew G. Morgan5-6/+6
2020-12-12Be more complete when looking for stray files in the build treeAndrew G. Morgan1-1/+1
2020-12-11Refactor the "psx" vs "cap" package cgo-or-not complexity to "psx".psx/v0.2.46-rc5Andrew G. Morgan8-178/+190
2020-12-10Fix some typos in the psx.c code related to 6 argument syscalls.psx/v0.2.46-rc4Andrew G. Morgan5-9/+39
2020-12-09Further trim the psx headers and support easy vendoring.psx/v0.2.46-rc3Andrew G. Morgan6-34/+7
2020-12-09Update .gitignore file for goapps builds in-tree.Andrew G. Morgan1-0/+2
2020-12-08Add a go.mod file for building gowns.Andrew G. Morgan2-2/+20
2020-12-08SIGRTMAX does not play well with Go, so use SIGSYS for the psx interrupt.psx/v0.2.46-rc2Andrew G. Morgan4-9/+96
2020-12-07Make quicktest.sh work again with kernel testAndrew G. Morgan3-5/+17
2020-12-07Clean up gowns invocation for shell etc.Andrew G. Morgan1-28/+86
2020-11-28Demonstrate using libcap and namespaces in Go.Andrew G. Morgan1-0/+181
2020-11-11Allow a dying thread to participate in the psx mechanism.psx/v0.2.46-rc1Andrew G. Morgan2-0/+67
2020-11-10Migrate building progs/tcapsh-static to sudotestAndrew G. Morgan1-4/+4
2020-11-09Remove the golang POSIX semantics validation tests.Andrew G. Morgan6-239/+0
2020-11-02Up the release version to 2.45v0.2.45psx/v0.2.45libcap-korg-2.45libcap-2.45cap/v0.2.45Andrew G. Morgan4-5/+5
2020-11-01Some distributions can't support shared librariesAndrew G. Morgan2-9/+35
2020-10-28Guarantee sufficient memory for scratch pathnameAndrew G. Morgan1-1/+1
2020-10-27Support systems with no available pthreads support.Andrew G. Morgan4-38/+94
2020-10-27If needed search PATH for capsh (==) self-execution.Andrew G. Morgan3-5/+67
2020-10-25Lessen the system requirements for running make sudotestAndrew G. Morgan1-2/+2
2020-10-24Demonstrate why libpsx is important for multithreaded C code.Andrew G. Morgan3-1/+177
2020-10-18Fix tests:sudotest for DYNAMIC=yes testingAndrew G. Morgan3-9/+14
2020-10-13Support shared library build and linkage of -lpsxAndrew G. Morgan5-41/+54
2020-10-13Clean up the libpsx.3 man page.Andrew G. Morgan1-18/+22
2020-10-04Up the release version to 2.44v0.2.44psx/v0.2.44libcap-korg-2.44libcap-2.44cap/v0.2.44Andrew G. Morgan4-5/+5
2020-10-04unbreak CROSS_COMPILERolf Eike Beer1-3/+3
2020-10-03add COPTS and BUILD_COPTS to specify optimization flags without touching CFLAGSRolf Eike Beer1-2/+4
2020-09-22Adjust builds for golang versions that default to not supporting GOPATH.Andrew G. Morgan1-9/+9
2020-09-12Be slightly more selective in what to build.Andrew G. Morgan2-3/+7
2020-09-07Migrate all uses of tcapsh-static to sudotest target.Andrew G. Morgan2-4/+4
2020-09-07Support dynamic test compilation and execution.Andrew G. Morgan7-22/+35
2020-09-07Allow a build of libcap independent of libpsx.Andrew G. Morgan1-12/+26
2020-09-06Add a note about updating the Go module documentationAndrew G. Morgan1-0/+8
2020-08-15Clean up the Go package documentation now that go1.15 is released.Andrew G. Morgan2-9/+2
2020-08-15Up the release version to 2.43v0.2.43psx/v0.2.43libcap-korg-2.43libcap-2.43cap/v0.2.43Andrew G. Morgan5-9/+11
2020-08-13Add new value CAP_CHECKPOINT_RESTORE = 40.Andrew G. Morgan3-82/+100
2020-08-13Further trim layers of abstraction for psx pthread_create wrapping.psx/v0.2.43rc1Andrew G. Morgan1-5/+7
2020-08-06Move mkdir to common install targetChristian Kastner1-1/+1
2020-08-05When doing a distclean validate that the tree is fully committed.Andrew G. Morgan1-0/+1
2020-08-05no more psx_test_wrapPetr Ovtchenkov2-2/+1
2020-08-01Up the release version to 2.42v0.2.42psx/v0.2.42libcap-korg-2.42libcap-2.42cap/v0.2.42Andrew G. Morgan4-5/+5
2020-07-31build-system: fixes for cross-compilationFabrice Fontaine1-8/+8
2020-07-29Minor fix for install target.Andrew G. Morgan1-2/+4
2020-07-29libcap: split install into install-shared/install-staticThomas Petazzoni1-4/+10
2020-07-26Tweaking the psx and cap package documentation further.psx/v0.2.42-rc2cap/v0.2.42-rc2Andrew G. Morgan4-34/+51
2020-07-26Mode cap package documentation updates.psx/v0.2.42-rc1cap/v0.2.42-rc1Andrew G. Morgan8-24/+88
2020-07-25Test errno behavior for psx syscalls.Andrew G. Morgan2-8/+73
2020-07-24Up the release version to 2.41v0.2.41psx/v0.2.41libcap-korg-2.41libcap-2.41cap/v0.2.41Andrew G. Morgan4-5/+5
2020-07-23Reflect a minor improvement in cap_to_text() output in man page.Andrew G. Morgan2-4/+49
2020-07-23Manual pages: cap_from_text.3: Clarify a detail of cap_from_text() action listMichael Kerrisk (man-pages)1-3/+10
2020-07-23Trivial change to align code with change to man page.Andrew G. Morgan1-3/+3
2020-07-23Manual pages: use "root user ID" rather than "rootid"Michael Kerrisk (man-pages)3-8/+9
2020-07-23A more compact form for the text representation of capabilities.Andrew G. Morgan4-10/+35
2020-07-22Make Go cap.String() and (*cap.Set).String() equal C equivalents.Andrew G. Morgan2-41/+162
2020-07-21Fix for cap.FromText().Andrew G. Morgan3-2/+31
2020-07-21Add missing function (*cap.Set).SetNSOwner().Andrew G. Morgan1-0/+15
2020-07-20Manual pages: capsh.1: Change .TP indent to the defaultMichael Kerrisk (man-pages)1-1/+1
2020-07-20Manual pages: cap_get_proc.3, capsh.1: Use "UID" and "GID" consistentlyMichael Kerrisk (man-pages)2-9/+11
2020-07-20Manual pages: cap_get_proc.3: Update description of capsetp()Michael Kerrisk (man-pages)1-13/+27
2020-07-20Manual pages: setcap.8: Typo fixMichael Kerrisk (man-pages)1-1/+1
2020-07-20Manual pages: getpcaps.8: SEE ALSO: fix section number for capshMichael Kerrisk (man-pages)1-1/+3
2020-07-20Manual pages: getpcaps.8: Remove a stray .br macroMichael Kerrisk (man-pages)1-1/+0
2020-07-20Manual pages: getpcaps.8: Format options as a hanging listMichael Kerrisk (man-pages)1-3/+3
2020-07-20Manual pages: getcap.8: Fix a clumsily worded sentenceMichael Kerrisk (man-pages)1-1/+1
2020-07-20Manual pages: getcap.8: Add missing wordMichael Kerrisk (man-pages)1-1/+1
2020-07-20Manual pages; cap_get_file.3: Fix some clumsily worded textMichael Kerrisk (man-pages)1-4/+4
2020-07-20Manual pages: cap_copy_ext.3: Typo fixMichael Kerrisk (man-pages)1-1/+1
2020-07-20Manual pages: capsh.1: Various minor wording and formatting fixesMichael Kerrisk (man-pages)1-15/+32
2020-07-20Manual pages: cap_init.3: Formatting fixMichael Kerrisk (man-pages)1-1/+1
2020-07-20Manual pages: various pages: Use "\-" for real minus signsMichael Kerrisk (man-pages)4-17/+17
2020-07-19Up the release version to 2.40v0.2.40psx/v0.2.40libcap-korg-2.40libcap-2.40cap/v0.2.40Andrew G. Morgan5-6/+6
2020-07-16capsh.c: Spelling fixes in usage() messageMichael Kerrisk (man-pages)1-2/+2
2020-07-16Fix typo in capabilities.h file.Andrew G. Morgan1-1/+1
2020-07-16Various source files: spelling fixes on commentsMichael Kerrisk (man-pages)5-9/+9
2020-07-16pam_cap.c: Spelling fix in output stringMichael Kerrisk (man-pages)1-1/+1
2020-07-16Manual pages: capsh.1: Describe the argument of --secbits in more detailMichael Kerrisk (man-pages)1-0/+3
2020-07-16Manual pages: capsh.1: Update the capsh --decode exampleMichael Kerrisk (man-pages)1-7/+5
2020-07-16Manual pages: capsh.1: Correct/update the Cap field example for /proc/PID/statusMichael Kerrisk (man-pages)1-4/+5
2020-07-16Manual pages: capsh.1: Remove stray .TP macroMichael Kerrisk (man-pages)1-2/+0
2020-07-16Manual pages: capsh.1: spelling fixesMichael Kerrisk (man-pages)1-2/+2
2020-07-16Manual pages: cap_get_proc.3: formatting fixMichael Kerrisk (man-pages)1-1/+2
2020-07-16More clear explanation for cap_get_name(0) output.Andrew G. Morgan1-2/+2
2020-07-16Manual pages: cap_get_file.3: Remove stray macros that have no effectMichael Kerrisk (man-pages)1-2/+0
2020-07-16Manual pages: cap_get_file.3, getcap.8, setcap.8: clarify "namespace"Michael Kerrisk (man-pages)3-3/+3
2020-07-16Manual pages: cap_from_text.3: typo fixMichael Kerrisk (man-pages)1-1/+1
2020-07-16Manual pages: setcap.8: Formatting fix: use bold for function nameMichael Kerrisk (man-pages)1-1/+1
2020-07-16Manual pages: cap_get_file.3, getcap.8, setcap.8: SEE ALSO: add user_namespac...Michael Kerrisk (man-pages)3-1/+4
2020-07-16Manual pages: getcap.8, getpcaps.8, setcap.8: SEE ALSO: add capabilities(7)Michael Kerrisk (man-pages)3-0/+3
2020-07-14Documentation improvements for cap Go package.Andrew G. Morgan6-52/+50
2020-07-14Some README files for the Go packages.Andrew G. Morgan2-0/+30
2020-07-13Force an update of the go.mod files before building official release.Andrew G. Morgan3-5/+6
2020-07-11Use an older Go API for replacing stringsAndrew G. Morgan1-2/+2
2020-07-11Up the release version to 2.39v0.2.39psx/v0.2.39libcap-korg-2.39libcap-2.39cap/v0.2.39Andrew G. Morgan2-2/+2
2020-07-11More experiments with markdown as a representation for the man pages.Andrew G. Morgan2-6/+16
2020-07-11Some documentation for individual capability values.Andrew G. Morgan45-8/+536
2020-07-09libcap/cap Go package documentation cleanup.Andrew G. Morgan6-23/+45
2020-07-09Rewrite libpsx thread shutdown path to support musl.Andrew G. Morgan8-85/+68
2020-07-09Remove incorrect and misleading comment.Andrew G. Morgan1-1/+0
2020-07-07Add a Go example of changing UID/GID.Andrew G. Morgan2-0/+160
2020-07-07It looks as if the module files need a libcap directory tag.Andrew G. Morgan1-1/+3
2020-07-06Drop the go suffix from module name.Andrew G. Morgan1-1/+1
2020-07-05Up the release version to 2.38psx/v0.2.38libcap-korg-2.38libcap-2.38cap/v0.2.38Andrew G. Morgan4-9/+15
2020-07-05Fix a rare deadlock in cap.Launch().Andrew G. Morgan2-27/+49
2020-07-05Fix capability list generation and legacy go package install.Andrew G. Morgan2-9/+15
2020-07-05Documentation fixes for go packages.Andrew G. Morgan3-34/+45
2020-07-04Restructure the tree a little to provide a module example.Andrew G. Morgan6-5/+28
2020-07-03A final twist in the Go module support.Andrew G Morgan1-1/+2
2020-07-03Up the release version to 2.37v0.2.37psx/v0.2.37libcap-korg-2.37libcap-2.37cap/v0.2.37Andrew G. Morgan2-1/+3
2020-07-03Create symlink for including psx_syscall.hAndrew G. Morgan1-0/+1
2020-07-03Migrate header for psx_syscall.h to Go package tree.Andrew G. Morgan2-1/+0
2020-07-03Refactored the psx package to build as a Go module.Andrew G. Morgan8-53/+30
2020-07-03A step closer to modularizing the cap and psx packages.Andrew G. Morgan15-160/+480
2020-07-02Revamp the way we package cap and psx packages.Andrew G. Morgan13-47/+250
2020-07-02First attempt at supporting the Go "psx" package as a module.Andrew G. Morgan5-3/+437
2020-07-02CAP_BPF is the CAP_LAST_CAP now.Andrew G. Morgan1-1/+33
2020-06-29Tidy up the comment related to the XATTR backup definitions.Andrew G. Morgan1-1/+6
2020-06-29libcap: Fix for older kernelsPrasanth R1-0/+11
2020-06-29Fix declaration of mostly never compiled code.Andrew G. Morgan1-1/+1
2020-06-11cap_get_proc.3: change "current process" to "calling process"Michael Kerrisk (man-pages)1-10/+10
2020-06-11Improve synopsis formatting of getpcaps.8 man page.Andrew G. Morgan1-1/+1
2020-06-11getpcaps.8: Note that pid==0 displays capabilities of getpcaps itselfMichael Kerrisk (man-pages)1-1/+8
2020-06-11cap_get_proc.3: for cap_get_pid(), pid==0 means "the calling process"Michael Kerrisk (man-pages)1-0/+3
2020-06-11cap_get_proc.3: Typo fixesMichael Kerrisk (man-pages)1-3/+3
2020-06-04Better protect some header #define's.Andrew G. Morgan9-0/+20
2020-06-03Clean up an unused variable.Andrew G. Morgan1-1/+1
2020-06-02Up the release version to 2.36libcap-korg-2.36libcap-2.36Andrew G. Morgan1-1/+1
2020-06-02Linux 5.7 supports CAP_PERFMONAndrew G. Morgan3-2/+24
2020-06-02Update the CHANGELOG file to point to current locations.Andrew G. Morgan1-8/+6