behavior of `chrt` changed when specifying a command
Benno Schulenberg <[email protected]>
| Newsgroups | org.kernel.vger.util-linux |
|---|---|
| Message-ID | <[email protected]> |
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
OpenPGP_signature.asc
(application/pgp-signature, 840 B)
-----BEGIN PGP SIGNATURE----- wsF5BAABCAAjFiEEFo5vQpe/16ea/USWUUu+Lrjhlh8FAmhcCu4FAwAAAAAACgkQUUu+Lrjhlh/r 0g//cul+pe8zl+HM6iyL2AinhNB1EBW5pSBv3S4+emrOFdON/NadgqbXo0urnXL894/YlUZmozDU y6YwMeQKu0WlUXHKKUxk9JbOPGQLozxc4ZwX0mSLoHDAkVgeizvJRyqt3jUeZVyKkgtypN2mHkuR Vd9kYL+PK6ZYqk5r+N0ZJC5F3MYucHPS2O5cl4xdpQZFtH6nywfS/t1l3AmlR6SOhgHR2Uy95CfO /Vn9Btpb329QTwnFXaXHDmXiIQCCSG+KyvzEu9Np7CuvHJfLd5VD66+xJQREXVViXom19k+QeBRx DQKosHr8kwl7kgwfd3XDKJgjQqOgIABpJQmqPQhI7OT4xk8HIe7qXQBDadZl2cGS9wx57JqHMyZU C1INtvyZDIrSO5Qy7lz3LhAgm/3iPFkkrMOE7NKHjFZZ49BcqsX+bpMBV07yjQlMJ4Jmc6uLrMdF 8QG0j1KrRtNWiYwJv+oYOHMnu0uNGO7qjiw28u2pfdN9VEJF5BW9W2AyZ336mpSmfBCR0VqfzHMe sgqNsarxxQRrO/U9A2yoqsOUJBhClQl5/yEjKaZNaok0REYKzJyBIq141YXrq6FgMKuOnD5FolMJ ezWax3AdCAREKcmimU2oILIuzeCHGpwBtoS558J2lr8UzcbNm/t3TrK42XUb5pCZficdxWzt6sKX q3o= =MGge -----END PGP SIGNATURE-----