[vlc-devel] [PATCH] linux: vlc_memfd: handle EOPNOTSUPP errno
remi at remlab.net
Fri Jun 14 15:42:04 CEST 2019
Le vendredi 14 juin 2019, 12:11:33 EEST Thomas Guillem a écrit :
> alls/open/open14.c#L52 EISDIR and ENOENT are expected to be checked in order
> to test if TMPFILE is supported.
And thanks for posting code that confirms exactly what I wrote and infirm what
LTP only checks for EISDIR (O_TMPFILE ignored and not supported) and ENOTSUP
(O_TMPFILE not ignored and not supported).
ENOENT has nothing to do with O_TMPFILE, everything to do with the
(non-)existence of /tmp.
More information about the vlc-devel