All of lore.kernel.org
 help / color / mirror / Atom feed
* selftests/openat2: subtests "openat2 with valid how.mode and O_TMPFILE" failed
@ 2020-04-22  8:18 Liu Yiding
  2020-04-22 13:29 ` Aleksa Sarai
  0 siblings, 1 reply; 2+ messages in thread
From: Liu Yiding @ 2020-04-22  8:18 UTC (permalink / raw)
  To: Aleksa Sarai; +Cc: linux-kselftest

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

```


-- 
Best regards.
Liu Yiding


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: selftests/openat2: subtests "openat2 with valid how.mode and O_TMPFILE" failed
  2020-04-22  8:18 selftests/openat2: subtests "openat2 with valid how.mode and O_TMPFILE" failed Liu Yiding
@ 2020-04-22 13:29 ` Aleksa Sarai
  0 siblings, 0 replies; 2+ messages in thread
From: Aleksa Sarai @ 2020-04-22 13:29 UTC (permalink / raw)
  To: Liu Yiding; +Cc: linux-kselftest

[-- Attachment #1: Type: text/plain, Size: 403 bytes --]

On 2020-04-22, Liu Yiding <yidingx.liu@intel.com> wrote:
> # 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.

-- 
Aleksa Sarai
Senior Software Engineer (Containers)
SUSE Linux GmbH
<https://www.cyphar.com/>

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-04-22 13:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-22  8:18 selftests/openat2: subtests "openat2 with valid how.mode and O_TMPFILE" failed Liu Yiding
2020-04-22 13:29 ` Aleksa Sarai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.