util-linux/sys-utils
Érico Rolim 93de9f687d setpriv: allow using [-+]all for capabilities.
The initial change to lib/caputils that allowed this was commit
5d95818757, which made it possible to
trust the value returned by cap_last_cap().

The error message was also somewhat misleading, since cap_last_cap()
being smaller than CAP_LAST_CAP happens when setpriv itself is built
with kernel headers older than the currently running kernel, not due to
libcap-ng.
2020-11-20 12:45:39 -03:00
..
.gitignore build-sys: .gitignore hwclock-parse-date.c 2019-11-07 10:43:46 +01:00
Makemodule.am lscpu-dmi: Move some functions related to DMI to lscpu-dmi 2020-11-20 09:17:12 +01:00
adjtime_config.5 docs: reword others "allow to" 2020-07-14 14:31:29 +02:00
blkdiscard.8 Manual pages: Standardize on AUTHORS as section title 2020-05-20 12:56:12 +02:00
blkdiscard.c build-sys: fix blkdiscard blkid.h use 2020-06-19 19:04:10 +02:00
blkzone.8 blkzone: add report capacity command 2020-09-11 12:28:19 +02:00
blkzone.c blkzone: add report capacity command 2020-09-11 12:28:19 +02:00
chcpu.8 doc: sys-utils/*: fix some warnings from "mandoc -T lint" 2020-06-15 11:28:01 +02:00
chcpu.c misc: consolidate version printing and close_stdout() 2019-04-16 15:14:13 +02:00
chmem.8 Manual pages: use the term "exit status" 2020-05-20 12:56:52 +02:00
chmem.c [clang-tidy] fix wrong *cmp usage 2020-04-20 13:21:00 -07:00
choom.1 doc: sys-utils/*: fix some warnings from "mandoc -T lint" 2020-06-15 11:28:01 +02:00
choom.c choom: improve docs 2019-08-01 11:06:06 +02:00
ctrlaltdel.8 Manual pages: order AUTHORS / COPYRIGHT / SEE ALSO / AVAILABILITY consistently 2020-05-22 10:25:49 +02:00
ctrlaltdel.c ctrlaltdel: display error message indicated by errno 2020-03-29 20:19:11 +01:00
dmesg.1 dmesg: add --since and --until 2020-10-21 12:09:18 +02:00
dmesg.c dmesg: add --since and --until 2020-10-21 12:09:18 +02:00
eject.1 man pages: Add a comma after "e.g." and "i.e." 2019-12-17 12:32:43 +01:00
eject.c cast NULL to char * when using execl 2020-10-29 19:49:07 +02:00
fallocate.1 Manual pages: use the term "exit status" 2020-05-20 12:56:52 +02:00
fallocate.c fallocate: fix --dig-holes at end of files 2020-09-14 12:03:50 +02:00
flock.1 flock: keep -E exit status more restrictive 2020-11-09 10:53:23 +01:00
flock.c flock: keep -E exit status more restrictive 2020-11-09 10:53:23 +01:00
fsfreeze.8 doc: sys-utils/*: fix some warnings from "mandoc -T lint" 2020-06-15 11:28:01 +02:00
fsfreeze.c fsfreeze: remove unnecessary condition [lgtm scan] 2019-09-20 15:57:31 +02:00
fstab.5 Manual pages: order NOTES / HISTORY / BUGS / EXAMPLE consistently 2020-05-22 10:25:50 +02:00
fstrim.8 fstrim: add --listed-in <file[:file ..]> 2020-05-22 14:48:31 +02:00
fstrim.c fstrim: add --listed-in <file[:file ..]> 2020-05-22 14:48:31 +02:00
fstrim.service.in fstrim: add --listed-in <file[:file ..]> 2020-05-22 14:48:31 +02:00
fstrim.timer fstrim: remove fstab condition from fstrim.timer 2020-10-13 11:28:07 -04:00
hwclock-cmos.c hwclock: add SPDX-License-Identifier(s) 2019-11-08 11:12:13 +01:00
hwclock-parse-date.y hwclock: make tz use more robust [coverity scan] 2020-10-01 13:44:44 +02:00
hwclock-rtc.c [clang-tidy] do not use else after return 2020-04-20 13:20:59 -07:00
hwclock.8.in Manual pages: various: reword "allow(s) to" 2020-07-14 14:08:54 +02:00
hwclock.c hwclock: do not assume __NR_settimeofday_time32 2020-11-17 11:32:45 +01:00
hwclock.h build-sys: use parse-date() only for hwclock 2019-11-07 09:02:23 +01:00
ipcmk.1 doc: sys-utils/*: fix some warnings from "mandoc -T lint" 2020-06-15 11:28:01 +02:00
ipcmk.c lib/randutils: rename random_get_bytes() 2020-11-03 12:38:45 +01:00
ipcrm.1 Manual pages: ipcmk.1, ipcrm.1, ipcs.1, lsipc.1: SEE ALSO: add sysvipc(7) 2020-05-28 14:51:53 +02:00
ipcrm.c misc: consolidate version printing and close_stdout() 2019-04-16 15:14:13 +02:00
ipcs.1 doc: Fix some warnings from "test-groff" for manuals 2020-06-10 10:22:58 +02:00
ipcs.c [clang-tidy] do not return in void functions 2020-04-19 14:03:21 -07:00
ipcutils.c [clang-tidy] do not use else after return 2020-04-20 13:20:59 -07:00
ipcutils.h ipcs: use new ul_path_* API 2018-06-21 13:07:46 +02:00
irq-common.c irqtop/lsirq: add additional desc for softirq 2020-07-23 12:23:56 +02:00
irq-common.h irqtop/lsirq: support softirq 2020-07-23 12:23:56 +02:00
irqtop.1 manpages: fix "The example command" in AVAILABILITY section 2020-07-24 09:09:43 +02:00
irqtop.c irqtop/lsirq: add additional desc for softirq 2020-07-23 12:23:56 +02:00
ldattach.8 Manual pages: order AUTHORS / COPYRIGHT / SEE ALSO / AVAILABILITY consistently 2020-05-22 10:25:49 +02:00
ldattach.c [clang-tidy] do not return in void functions 2020-04-19 14:03:21 -07:00
losetup.8 man: make tilde and caret characters to render correctly 2020-11-14 15:22:34 +00:00
losetup.c losetup: increase limit of setup attempts 2020-10-13 12:55:44 +02:00
lscpu-arm.c lscpu: show the number of physical socket on aarch64 machine without ACPI PPTT 2020-11-20 09:17:12 +01:00
lscpu-cpu.c lscpu: fix memory leaks 2020-11-13 10:20:33 +01:00
lscpu-cputype.c lscpu: fix resource leak [coverity scan] 2020-11-19 12:00:58 +01:00
lscpu-dmi.c lscpu: add helper to get physical sockets 2020-11-20 09:17:12 +01:00
lscpu-topology.c lscpu: improve topology calculation 2020-11-13 09:19:02 +01:00
lscpu-virt.c lscpu-dmi: Move some functions related to DMI to lscpu-dmi 2020-11-20 09:17:12 +01:00
lscpu.1 lscpu: use cluster on aarch64 machine which doesn't have ACPI PPTT 2020-11-20 09:17:12 +01:00
lscpu.c lscpu: show the number of physical socket on aarch64 machine without ACPI PPTT 2020-11-20 09:17:12 +01:00
lscpu.h lscpu: show the number of physical socket on aarch64 machine without ACPI PPTT 2020-11-20 09:17:12 +01:00
lsipc.1 Man pages: ipcmk.1, ipcs.1, lsipc.1: explicitly mention "System V" 2020-05-28 14:51:53 +02:00
lsipc.c [clang-tidy] do not use else after return 2020-04-20 13:20:59 -07:00
lsirq.1 manpages: fix "The example command" in AVAILABILITY section 2020-07-24 09:09:43 +02:00
lsirq.c irqtop/lsirq: add additional desc for softirq 2020-07-23 12:23:56 +02:00
lsmem.1 Manual pages: wording fix: "another" ==> "other" 2020-05-29 14:31:47 +02:00
lsmem.c lsmem: report inaccessible /sys/devices/system/memory 2020-07-08 08:51:45 +02:00
lsns.8 docs: (man) remove double quotes (") in .SH lines 2020-05-19 12:15:34 +02:00
lsns.c [clang-tidy] do not use else after return 2020-04-20 13:20:59 -07:00
mount.8 man: make tilde and caret characters to render correctly 2020-11-14 15:22:34 +00:00
mount.c him -> them 2020-08-28 19:16:33 +02:00
mountpoint.1 doc: sys-utils/*: fix some warnings from "mandoc -T lint" 2020-06-15 11:28:01 +02:00
mountpoint.c mountpoint: add --nofollow option 2019-08-02 19:39:05 +01:00
nsenter.1 Manual pages: nsenter.1: note that 'file' can be a bind mount 2020-05-25 14:16:45 +02:00
nsenter.c nsenter / switch_root: fix insecure chroot [coverity scan] 2020-10-16 11:32:38 +02:00
pivot_root.8 Manual pages: Standardize on EXAMPLE as section title 2020-05-20 12:56:12 +02:00
pivot_root.c misc: consolidate version printing and close_stdout() 2019-04-16 15:14:13 +02:00
prlimit.1 Manual pages: rename EXAMPLE section to EXAMPLES 2020-05-28 14:51:54 +02:00
prlimit.c [clang-tidy] do not use else after return 2020-04-20 13:20:59 -07:00
readprofile.8 man: make tilde and caret characters to render correctly 2020-11-14 15:22:34 +00:00
readprofile.c readprofile: be more explicit with used types [cppcheck] 2019-05-28 12:17:26 +02:00
renice.1 doc: sys-utils/*: fix some warnings from "mandoc -T lint" 2020-06-15 11:28:01 +02:00
renice.c renice: fix arguments description in --help 2019-11-08 11:32:18 +01:00
rfkill.8 Manual pages: Standardize on EXAMPLE as section title 2020-05-20 12:56:12 +02:00
rfkill.c rfkill: stop execution when rfkill device cannot be opened 2020-11-14 15:22:34 +00:00
rtcwake.8.in man pages: Add a comma after "e.g." and "i.e." 2019-12-17 12:32:43 +01:00
rtcwake.c various: fix more lgtm scan warnings 2020-02-20 20:18:46 +00:00
setarch.8 Manual pages: various: reword "allow(s) to" 2020-07-14 14:08:54 +02:00
setarch.c cast NULL to char * when using execl 2020-10-29 19:49:07 +02:00
setpriv.1 Manual pages: setpriv.1: warn users of restrictions on capability changes 2020-06-15 11:34:58 +02:00
setpriv.c setpriv: allow using [-+]all for capabilities. 2020-11-20 12:45:39 -03:00
setsid.1 Manual pages: order AUTHORS / COPYRIGHT / SEE ALSO / AVAILABILITY consistently 2020-05-22 10:25:49 +02:00
setsid.c misc: consolidate version printing and close_stdout() 2019-04-16 15:14:13 +02:00
swapoff.8
swapoff.c swapoff: do not use 1 exist status at all 2020-05-28 12:51:26 +02:00
swapon-common.c
swapon-common.h
swapon.8 doc: sys-utils/*: fix some warnings from "mandoc -T lint" 2020-06-15 11:28:01 +02:00
swapon.c [clang-tidy] do not return in void functions 2020-04-19 14:03:21 -07:00
switch_root.8 Manual pages: order AUTHORS / COPYRIGHT / SEE ALSO / AVAILABILITY consistently 2020-05-22 10:25:49 +02:00
switch_root.c switch_root: fix double close [coverity scan] 2020-10-16 11:56:35 +02:00
tunelp.8 Manual pages: order NOTES / HISTORY / BUGS / EXAMPLE consistently 2020-05-22 10:25:50 +02:00
tunelp.c [clang-tidy] fix misleading identation 2020-04-20 13:21:00 -07:00
umount.8 umount: ignore --no-canonicalize,-c for non-root users 2020-11-19 11:12:06 +01:00
umount.c umount: ignore --no-canonicalize,-c for non-root users 2020-11-19 11:12:06 +01:00
unshare.1 unshare: (man) add note about signals on --fork 2020-07-03 13:03:58 +02:00
unshare.c unshare: fix bad bit shift operation [coverity scan] 2020-10-16 11:27:42 +02:00
wdctl.8 Manual pages: wdctl.8: typo fix 2020-07-24 14:41:49 +02:00
wdctl.c wdctl: remove duplicate include of <unistd.h> 2019-08-19 15:00:35 +02:00
zramctl.8 Manual pages: order AUTHORS / COPYRIGHT / SEE ALSO / AVAILABILITY consistently 2020-05-22 10:25:49 +02:00
zramctl.c [clang-tidy] do not use else after return 2020-04-20 13:20:59 -07:00