Files
Dorjoy Chowdhury cf1b04aaef openat2: introduce EFTYPE error code
Introduce a new error code EFTYPE for wrong file type operations.
EFTYPE is already used in BSD systems like FreeBSD and macOS.

This will be used by the upcoming OPENAT2_REGULAR flag support to
return a specific error when a path doesn't refer to a regular file.

Signed-off-by: Dorjoy Chowdhury <[email protected]>
Link: https://patch.msgid.link/[email protected]
Reviewed-by: Jeff Layton <[email protected]>
Reviewed-by: Aleksa Sarai <[email protected]>
Signed-off-by: Christian Brauner (Amutable) <[email protected]>
2026-05-21 10:53:41 +02:00
..
…