summaryrefslogtreecommitdiffstats
path: root/tests/helpers
diff options
context:
space:
mode:
authorSami Kerola2016-04-03 10:35:29 +0200
committerKarel Zak2016-04-13 12:29:16 +0200
commit2e31d1c3a5d729c4a9062e37210a1c01623327d6 (patch)
tree1f0d80d4a491bd902bf936890d56276f4c3d47b9 /tests/helpers
parentcolcrt: avoid the command getting hung [afl] (diff)
downloadkernel-qcow2-util-linux-2e31d1c3a5d729c4a9062e37210a1c01623327d6.tar.gz
kernel-qcow2-util-linux-2e31d1c3a5d729c4a9062e37210a1c01623327d6.tar.xz
kernel-qcow2-util-linux-2e31d1c3a5d729c4a9062e37210a1c01623327d6.zip
chrt: validate priority before trying to use it
Earlier message: $ chrt -i 1 ls chrt: failed to set pid 0's policy: Invalid argument basically told 'something failed', while the new one tries to be more helpful. $ chrt -i 1 ls chrt: unsupported priority value for the policy: 1: see --max for valid range Addresses: https://bugs.debian.org/791707 Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'tests/helpers')
0 files changed, 0 insertions, 0 deletions