selftests/openat2: subtests "openat2 with valid how.mode and O_TMPFILE" failed
Hi, Aleksa.
I met error "Operation not supported" when i ran selftests/openat2
``` # openat2 unexpectedly returned # -95 (Operation not supported) not ok 106 openat2 with valid how.mode and O_TMPFILE succeeds ```
Is there any limits to run selftests/openat2?
Some info of my testing env.
``` root@vm-snb-79 ~# df -h /usr/src/linux-selftests-x86_64-rhel-7.6-7111951b8d4973bda27ff663f2cf18b663d15b48/tools/testing/selftests/openat2 Filesystem Size Used Avail Use% Mounted on none 0 0 0 - / root@vm-snb-79 ~# uname -r 5.6.0-00335-g7111951b8d497 ```
Signature · 2 lines
Best regards. Liu Yiding
Quoted 2 lines · Liu Yiding
# openat2 unexpectedly returned # -95 (Operation not supported) not ok 106 openat2 with valid how.mode and O_TMPFILE succeeds
I believe some filesystems don't support O_TMPFILE, hence -EOPNOTSUPP. Try using a different filesystem.
Signature · 4 lines
Aleksa Sarai Senior Software Engineer (Containers) SUSE Linux GmbH <https://www.cyphar.com/>