[Toybox] [PATCH] Fix ionice's return value for getting process IO priority
enh
enh at google.com
Thu May 30 05:23:10 PDT 2024
[note: this isn't my patch; it was
https://android-review.googlesource.com/c/platform/external/toybox/+/3106282,
and i'm just forwarding it. the attachment is the original patch with
the original author's details, and i've cc:ed them. lgtm to me,
though, and matches the next function in the same file.]
In the user version, if you use ionice to get the process IO
priority without permission, -1 will be returned, but Idle: prio 7
will be printed at this time. This is an incorrect priority and
should return permission denied.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 97aa065.diff
Type: application/octet-stream
Size: 914 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20240530/6048f918/attachment.obj>
More information about the Toybox
mailing list