behavior of `chrt` changed when specifying a command

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Before the recent changes to chrt.c (commit e7a2d62434 and earlier),
one could let `chrt` run a command while specifying only a priority,
leaving `chrt` to pick SCHED_RR as the default policy:

  chrt 12 grep boo README

This would print one line from the README.

But running that command in current git gives:

  chrt: unsupported priority value for the policy: 0: see --max for valid range

One has to specify the policy explicitly for the command to work:

  chrt -r 12 grep boo README

If that is intentional, then the synopsis needs to be adjusted to show the need
for a policy option when wanting to run a command with `chrt`.


Benno

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux