sched_getattr will return EFBIG
Bug #1842473 reported by
Thadeu Lima de Souza Cascardo
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
In Progress
|
High
|
Thadeu Lima de Souza Cascardo | ||
Eoan |
Won't Fix
|
High
|
Thadeu Lima de Souza Cascardo |
Bug Description
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.
To post a comment you must log in.
This breaks ltp syscalls regression testing on 5.3. The EFBIG versus E2BIG should not happen in practice unless the other bug is also present, so I wouldn't bother fixing it on older versions.