[vlc-devel] [PATCH] linux: vlc_memfd: handle EOPNOTSUPP errno

Rémi Denis-Courmont 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 :
> https://github.com/linux-test-project/ltp/blob/master/testcases/kernel/sysc
> 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 
you did...

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.

-- 
Rémi Denis-Courmont




More information about the vlc-devel mailing list