Yeah, it'd be broken on kernels between 2.6.39 and roughly 3.6~3.12.
On Kobo, that means Mk. 6. (Mk. 5 is "safe" because it doesn't support O_PATH at all (2.6.35), and Mk. 7 is safe because it supports O_PATH everywhere. In between, O_PATH itself is supported in open, but breaks a number of fun and useful syscalls if they're fed an O_PATH fd).
Last edited by NiLuJe; 01-16-2021 at 08:17 PM.
|