Public bug reported: With the introduction of utilization clamps interface on sched_[sg]etattr, sched_getattr will fail when used with the previous smaller struct sched_attr. And instead of using E2BIG as documented, it also ends up using EFBIG instead.
The interface change currently breaks userspace on 5.3 kernel. ** Affects: linux (Ubuntu) Importance: High Assignee: Thadeu Lima de Souza Cascardo (cascardo) Status: In Progress ** Affects: linux (Ubuntu Eoan) Importance: High Assignee: Thadeu Lima de Souza Cascardo (cascardo) Status: In Progress ** Also affects: linux (Ubuntu Eoan) Importance: Undecided Status: New ** Changed in: linux (Ubuntu Eoan) Status: New => In Progress ** Changed in: linux (Ubuntu Eoan) Importance: Undecided => High ** Changed in: linux (Ubuntu Eoan) Assignee: (unassigned) => Thadeu Lima de Souza Cascardo (cascardo) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1842473 Title: sched_getattr will return EFBIG To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1842473/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs