Commit Graph

  • 542d7d86ec Revert "libcap: Add build ldflags to _makenames rule" master Andrew G. Morgan 2025-11-10 18:26:34 -08:00
  • d628b3bfe4 Do not cross compile mknames.go Will Fancher 2025-11-10 11:24:19 -05:00
  • 3b2513a1ba Up the release version to 2.77 v1.2.77 sig-libcap-2.77 psx/v1.2.77 libcap-korg-2.77 libcap-2.77 cap/v1.2.77 Andrew G. Morgan 2025-10-26 11:29:03 -07:00
  • c3ddf45d9a libcap: Add build ldflags to _makenames rule Khem Raj 2025-10-21 18:27:51 -07:00
  • 2d744fbaa4 libcap: Improve raw container calculation Chris Hofer 2025-06-26 13:47:44 +02:00
  • da06dc98d2 Fix bug in IABGetPID Garret Kelly 2025-08-05 20:01:34 -04:00
  • a37b302883 Make.Rules: Fix broken link to the sendmail issue Ariel Otilibili 2025-07-07 15:36:28 +02:00
  • a5753d0291 Fix bugs in setcap.c error strings. Andrew G. Morgan 2025-06-18 06:18:00 -07:00
  • 53b369b8ea Make the kdebug test use the terminal output. Andrew G. Morgan 2025-05-06 23:17:09 -07:00
  • 9a84906efe Add some C++ protection to the libcap/execable.* code. Andrew G. Morgan 2025-05-05 19:46:47 -07:00
  • 6cdd8cd72e Support for __xtensa__ architecture. Andrew G. Morgan 2025-04-19 08:00:23 -07:00
  • 7a2eee5660 First attempt at PSX support for microblaze, arc and openrisc. Andrew G. Morgan 2025-04-17 20:20:09 -07:00
  • 5f3e12ca39 Up the release version to 2.76 v1.2.76 sig-libcap-2.76 psx/v1.2.76 libcap-korg-2.76 libcap-2.76 cap/v1.2.76 Andrew G. Morgan 2025-04-13 09:47:12 -07:00
  • 8ff33c7ffd Drop example workaround for go.dev execution. cap/v1.2.76-rc4 Andrew G. Morgan 2025-04-13 08:48:40 -07:00
  • 07d8ce731d Be more systematic using the kernel signal handler APIs. psx/v1.2.76-rc1 Andrew G. Morgan 2025-03-29 08:01:03 -07:00
  • f0e4f395e0 Make example more friendly with a Makefile. Andrew G. Morgan 2025-03-05 08:04:05 -08:00
  • bbd88328b2 Extend support further to __m68k__ and possibly __sparc__. Andrew G. Morgan 2025-03-23 07:54:48 -07:00
  • 89b0e7a69a Add support for some less mainstream architectures. Andrew G. Morgan 2025-03-23 06:30:29 -07:00
  • 04b285680b Glibc needs a constant to be defined for puts() to work. Andrew G. Morgan 2025-03-22 09:49:50 -07:00
  • cedefd8e93 Delete a debugging printf in setcap. Andrew G. Morgan 2025-03-22 09:37:42 -07:00
  • 91e3124a29 More useful cross linking for man pages. Andrew G. Morgan 2025-03-19 20:17:01 -07:00
  • 087afa007d Break out description of text formats to a separate man page. Andrew G. Morgan 2025-03-19 19:50:17 -07:00
  • 4425764d96 Nothing references the SYSTEM_HEADERS make variable. Andrew G. Morgan 2025-03-17 19:25:46 -07:00
  • 824333d997 Some more runnable documentation examples. cap/v1.2.76-rc3 Andrew G. Morgan 2025-03-08 15:44:04 -08:00
  • fc8a50743b Delete one cap package example that fails and add two more. cap/v1.2.76-rc2 Andrew G. Morgan 2025-03-06 09:29:39 -08:00
  • 1b436ee55e Add more live examples to the cap package documentation. cap/v1.2.76-rc1 Andrew G. Morgan 2025-03-05 18:55:04 -08:00
  • f02e46a44a Up the release version to 2.75 v1.2.75 sig-libcap-2.75 psx/v1.2.75 libcap-korg-2.75 libcap-2.75 cap/v1.2.75 Andrew G. Morgan 2025-03-04 08:56:39 -08:00
  • fb2dede6e7 Fix psx module build. psx/v1.2.75-rc1 Andrew G. Morgan 2025-03-03 19:08:28 -08:00
  • def8fab2a3 Up the release version to 2.74 v1.2.74 sig-libcap-2.74 psx/v1.2.74 libcap-korg-2.74 libcap-2.74 cap/v1.2.74 Andrew G. Morgan 2025-03-02 16:09:34 -08:00
  • 805a6d3b3f Trim the examples for the cap package. Andrew G. Morgan 2025-03-02 15:59:14 -08:00
  • 7be690ed8c Improve weaver test to count zeros vs '-1' values. Andrew G. Morgan 2025-03-02 14:24:25 -08:00
  • 4b1d6d6332 Compile with -std=c89 option. Andrew G. Morgan 2025-03-02 11:46:52 -08:00
  • 20c22e64bf Be consistent about using SA_RESTORER. Andrew G. Morgan 2025-03-02 10:46:34 -08:00
  • b5b2e011a7 Drop linux/ headers for standard ones. Andrew G. Morgan 2025-03-02 10:22:56 -08:00
  • 7a7982067e Churn test should work with or without cgo. psx/v1.2.74-rc6 cap/v1.2.74-rc6 Andrew G. Morgan 2025-03-02 10:10:47 -08:00
  • d510712a27 Clean up go documentation. Andrew G. Morgan 2025-03-02 10:02:45 -08:00
  • dfb0fc263b Add riscv support for the psx mechanism. psx/v1.2.74-rc5 cap/v1.2.74-rc5 Andrew G. Morgan 2025-02-22 11:35:39 -08:00
  • cf8d9ad3ec Fix reliance on transitive include. Leo 2025-02-20 00:52:40 +01:00
  • 47f119fff3 Fix error when expanding hash map. psx/v1.2.74-rc4 cap/v1.2.74-rc4 Andrew G. Morgan 2025-02-17 21:43:26 -08:00
  • c32a4d372f Add s390x support for new PSX mechanism. Andrew G. Morgan 2025-02-17 21:42:20 -08:00
  • fc336e9794 Add a test for bad group prefix. Andrew G. Morgan 2025-02-16 20:17:08 -08:00
  • 1ad42b66c3 pam_cap: Fix potential configuration parsing error Tianjia Zhang 2025-02-17 10:31:55 +08:00
  • 9c46e11a46 Add PowerPC support for latest PSX implementation. psx/v1.2.74-rc3 cap/v1.2.74-rc3 Andrew G. Morgan 2025-02-16 16:12:46 -08:00
  • aabdd103bb Mention CAP_MODE_HYBRID in man page. psx/v1.2.74-rc2 cap/v1.2.74-rc2 Andrew G. Morgan 2025-02-16 10:26:58 -08:00
  • d7b41e480d doc: Fix typo of cap_cap_proc Tianjia Zhang 2025-02-13 10:22:59 +08:00
  • 5a9f9dde6c Add mips support for refactor of psx. Andrew G. Morgan 2025-02-15 14:18:02 -08:00
  • 025f28ca4f Avoid thread churn deadlock with PSX rewrite. psx/v1.2.74-rc1 Andrew G. Morgan 2025-02-01 08:49:27 -08:00
  • 2dda39e0e3 The go.dev site is unable to render this example. Andrew G. Morgan 2024-12-26 19:26:54 -08:00
  • 6ef6a9d1e4 Up the release version to 2.73 v1.2.73 sig-libcap-2.73 psx/v1.2.73 libcap-korg-2.73 libcap-2.73 cap/v1.2.73 Andrew G. Morgan 2024-12-01 20:18:58 -08:00
  • f6d4cb050c _GNU_SOURCE #define needed in psx.c to build -std=c99. Andrew G. Morgan 2024-11-28 09:36:27 -08:00
  • a9a34483d8 Slightly briefer cap example. Andrew G. Morgan 2024-11-27 17:44:55 -08:00
  • 4726b0da33 Use go vet as part of testing the go/ packages. Andrew G. Morgan 2024-11-22 18:31:47 -08:00
  • 69671a4972 gettid() is sporadically defined over various libc's. Andrew G. Morgan 2024-11-22 18:30:57 -08:00
  • a1859fdc9e Fix setcap after last commit broke it. Andrew G. Morgan 2024-11-22 18:28:26 -08:00
  • 80d7d006b9 Tidy up help message, and sort option processing of setcap. Andrew G. Morgan 2024-11-18 21:20:49 -08:00
  • a044d8b496 Address some static analysis observations. Andrew G. Morgan 2024-11-15 07:26:42 -08:00
  • 304089b078 psx: use getdents64 instead of getdents Xi Ruoyao 2024-11-12 11:44:56 +08:00
  • d35e7651b4 Third attempt to make a runnable example in the cap package docs. Andrew G. Morgan 2024-11-10 20:02:36 -08:00
  • 1a02e34cc4 Up the release version to 2.72 v1.2.72 sig-libcap-2.72 psx/v1.2.72 libcap-korg-2.72 libcap-2.72 cap/v1.2.72 Andrew G. Morgan 2024-11-10 15:26:15 -08:00
  • f001ee7343 Go, prior to 1.16.x, had an issue with interrupts and exiting threads. Andrew G. Morgan 2024-11-09 23:25:04 -08:00
  • b017fcff26 Eliminating -wrap use. Andrew G. Morgan 2024-11-09 21:33:33 -08:00
  • 1474f5b96e Stop claiming to support pre-go1.16 releases. Andrew G. Morgan 2024-11-08 19:41:51 -08:00
  • 31ed2fef38 Factor out the ((weak)) psx_load_syscalls() function. Andrew G. Morgan 2024-11-08 19:33:25 -08:00
  • c5a06aea03 First step in eliminating libpsx "--wrap"ing linkage. Andrew G. Morgan 2024-11-05 06:45:29 -08:00
  • 0ec5b2686d Address psx compilation warning from clang. Andrew G. Morgan 2024-10-27 07:51:39 -07:00
  • 12ff38be49 Tighten up the comments for the various signed tags moving forward. Andrew G. Morgan 2024-10-26 20:53:42 -07:00
  • 3f109e422a Second attempt to make a runnable example in the cap package. Andrew G. Morgan 2024-10-26 20:08:44 -07:00
  • 766527f2b9 Make make run_b219174 dependencies work. Andrew G. Morgan 2024-10-26 09:03:40 -07:00
  • 794b185b6a Shuffle the GPG key choices to favor the most modern key. Andrew G. Morgan 2024-10-26 07:46:45 -07:00
  • db256cd8f6 Add a test case for using libpsx with C++. Andrew G. Morgan 2024-10-25 22:51:04 -07:00
  • 12e163ac21 Rewrite libpsx to work with native linux threads. Andrew G. Morgan 2024-10-25 22:50:28 -07:00
  • c7dbcf0bc9 Up the release version to 2.71 v1.2.71 sig-libcap-2.71 psx/v1.2.71 libcap-korg-2.71 libcap-2.71 cap/v1.2.71 Andrew G. Morgan 2024-10-25 22:17:54 -07:00
  • 67b8bf1476 Tidy up some white space (tab -> space) Andrew G. Morgan 2024-10-25 22:01:03 -07:00
  • d510135f8d Add a more modern signing key. Andrew G. Morgan 2024-10-25 21:50:53 -07:00
  • c73ae0df31 c89 compilation test fix. Andrew G. Morgan 2024-10-24 21:28:22 -07:00
  • 9e4b652f48 Lessen the situations where cap.SETPCAP is required for IAB setting. Andrew G. Morgan 2024-10-19 16:37:56 -07:00
  • 676971a20a Document current behavior of cap_iab_set_proc() Andrew G. Morgan 2024-09-22 10:43:12 -07:00
  • 30892a5d5b Add a test example. Andrew G. Morgan 2024-09-22 09:54:04 -07:00
  • 7d571d1336 Suppress use of -Bsymbolic-functions which otherwise breaks libpsx Andrew G. Morgan 2024-08-17 09:36:33 -07:00
  • 651d99fdf0 libcap: Use all $(xFLAGS) when building 'empty' Pierre-Clément Tosi 2024-08-08 14:35:11 +01:00
  • bbcfccdcc4 Setting ambient bits does not require CAP_SETPCAP. Andrew G. Morgan 2024-08-16 20:20:12 -07:00
  • dc3b42a261 Work around a longstanding problem with glibc/fedora with segfaulting Andrew G. Morgan 2024-06-22 12:28:19 -07:00
  • d24490223f Document program exit for inconsistent system call behavior. Andrew G. Morgan 2024-06-21 07:10:53 -07:00
  • 8fe536b53f Up the release version to 2.70 v1.2.70 sig-libcap-2.70 psx/v1.2.70 libcap-korg-2.70 libcap-2.70 cap/v1.2.70 Andrew G. Morgan 2024-05-18 20:44:40 -07:00
  • 13b9ee57f9 Tidy up some of the automated formatting. Andrew G. Morgan 2024-04-05 18:36:55 -07:00
  • 56ee609f67 doc: document the use of * to refer to all users Carlos Rodriguez-Fernandez 2024-04-05 16:40:16 -07:00
  • caab6200d2 doc: document pam_cap and its conf Carlos Rodriguez-Fernandez 2024-04-03 12:13:10 -07:00
  • e79c7f06e1 Reformat doc text for web.go Andrew G. Morgan 2024-02-09 17:16:18 -08:00
  • 17c5e89521 getpcaps: fix program name in help message Jakub Wilk 2024-01-29 11:33:40 +01:00
  • 011eb766ce Fix reference formatting in the captree man page. Jakub Wilk 2024-01-12 20:30:34 +01:00
  • ee20d385ef Stop using _pam_overwrite() in pam_cap.c. Andrew G. Morgan 2023-12-22 06:37:02 -08:00
  • 6585135806 Restore c89 compaitbility for C source files. Andrew G. Morgan 2023-08-13 13:56:29 -07:00
  • 4ffb54079c Add a check for a capabability of all spaces. Andrew G. Morgan 2023-06-24 22:47:45 -07:00
  • ac8d461a2c Make it harder to set invalid capabilities on files. Andrew G. Morgan 2023-06-24 22:23:31 -07:00
  • 8785077d6c Tidy up the overview example for the "cap" package. Andrew G. Morgan 2023-05-24 06:55:47 -07:00
  • 8bed80f9b5 Up the release version to 2.69 v1.2.69 sig-libcap-2.69 psx/v1.2.69 libcap-korg-2.69 libcap-2.69 cap/v1.2.69 Andrew G. Morgan 2023-05-14 19:10:04 -07:00
  • 6baf268986 Ignore the content of a capability.conf file if it is world-writable. Andrew G. Morgan 2023-05-06 22:24:39 -07:00
  • 917c8b5d34 There was a small memory leak in pam_cap.so when libpam returned an error. Andrew G. Morgan 2023-05-03 20:12:52 -07:00
  • 422bec25ae Large strings can confuse libcap's internal strdup code. Andrew G. Morgan 2023-05-03 19:44:22 -07:00
  • bc6b36682f Correct the check of pthread_create()'s return value. Andrew G. Morgan 2023-05-03 19:18:36 -07:00