util-linux/sys-utils
Karel Zak 4f62b0b1dd readprofile: fix static analyzer warning [coverity scan]
Make sure we do not use step=0 and zero "fn_add - add0" as divisor.

Signed-off-by: Karel Zak <kzak@redhat.com>
2021-02-18 11:24:12 +01: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 blkdiscard: fix compiler warnings [-Wmaybe-uninitialized] 2020-12-14 15:56:55 +01: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 eject: cleanup before successful exit 2021-02-01 12:21:18 +01:00
fallocate.1 Revert "fallocate: (man) add hint about off/len limitations" 2021-01-06 12:05:50 +01:00
fallocate.c fallocate: fix --dig-holes at end of files 2020-09-14 12:03:50 +02:00
flock.1 *: spelling and grammar fixes 2020-12-17 23:39:05 +02: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 fstab.5: NTFS and FAT volume IDs use upper case 2021-01-05 14:28:48 +01: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 hwclock: fix compiler warnings [-Wmaybe-uninitialized] 2020-12-14 15:59:45 +01: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 ipcs: fallback for overflow 2021-01-18 16:04:18 +01:00
ipcutils.c fix compiler warnings 2021-01-21 10:26:25 +01: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: fix wrong printf() format specifier for ino_t data type 2020-12-05 23:51:27 +01:00
lscpu-arm.c lscpu: remove unnecessary prefix from static function 2020-12-15 11:31:57 +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: fix variable shadowing 2020-12-28 09:53:12 +00: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 libsmartcols: sanitize variable names on export output 2020-12-03 12:14:10 +01:00
lsipc.c lsipc: make default output byte sizes to be in human units 2020-12-28 09:53:13 +00: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 libsmartcols: sanitize variable names on export output 2020-12-03 12:14:10 +01: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 sys-utils: mount.8: fix a typo 2021-01-05 14:28:48 +01:00
mount.c build-sys: remove fallback for security_context_t 2021-01-13 13:12:19 +01: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: fix static analyzer warning [coverity scan] 2021-02-18 11:24:12 +01: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: fix static analyzer warning [coverity scan] 2021-02-18 11:09:31 +01: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 Merge branch 'privfix' of https://github.com/ericonr/util-linux 2020-11-23 10:19:01 +01: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 build-sys: move swapon from mount/ to sys-utils/ 2012-01-11 12:14:29 +01:00
swapoff.c swapoff: do not use 1 exist status at all 2020-05-28 12:51:26 +02:00
swapon-common.c mount, umount, swapon, fsck, lsblk, findmnt: harmonize six error messages 2016-03-16 10:39:38 +01:00
swapon-common.h swapon: split swapon-common.c 2014-09-22 13:16:25 +02:00
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: check if mount point to move even exists 2021-02-08 15:35:07 +01: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