Commit Graph

7 Commits

Author SHA1 Message Date
zhanchengbin 6519b62644 fsck: Processes may kill other processes.
A error in disk-utils/fsck.c, if run the fsck -N command, processes
don't execute, just show what would be done. However, the pid whose
value is -1 is added to the instance_list list in the execute
function,if the kill_all function is called later, kill(-1, signum)
is executed, Signals are sent to all processes except the number one
process and itself. Other processes will be killed if they use the
default signal processing function.

Signed-off-by: zhanchengbin <zhanchengbin1@huawei.com>
Reviewed-by: Lukas Czerner <lczerner@redhat.com>
2023-02-17 15:03:42 +08:00
Karel Zak 8e642aa0dc sfdisk: inform about failed fsync() [coverity scan]
Signed-off-by: Karel Zak <kzak@redhat.com>
2023-02-17 15:02:18 +08:00
Karel Zak 8d503f85a8 sfdisk: improve code readability for coverity scan
Signed-off-by: Karel Zak <kzak@redhat.com>
2023-02-17 15:01:59 +08:00
Karel Zak 599e3fd306 fdisk: make it more obvious that DOS means MBR
Fixes: https://github.com/util-linux/util-linux/issues/1890
Signed-off-by: Karel Zak <kzak@redhat.com>
2023-02-17 15:01:43 +08:00
Karel Zak 75a8cd2a69 fdisk: fix --output option parsing
Fixes: https://github.com/util-linux/util-linux/issues/1859
Addresses: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1022249
Signed-off-by: Karel Zak <kzak@redhat.com>
2023-02-17 15:01:35 +08:00
su-fang e72d587bc0 merge upstream 2.38.1 2023-02-17 14:33:46 +08:00
openKylinBot fa45c7ac50 Import Upstream version 2.34 2022-05-14 03:14:32 +08:00