This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
tst-open-tmpfile and pre-3.18 kernels
- From: Joseph Myers <joseph at codesourcery dot com>
- To: <libc-alpha at sourceware dot org>, <fweimer at redhat dot com>
- Date: Mon, 2 Jan 2017 17:46:25 +0000
- Subject: tst-open-tmpfile and pre-3.18 kernels
- Authentication-results: sourceware.org; auth=none
I'm observing a test failure
FAIL: io/tst-open-tmpfile
on a system with a 3.14 kernel. This appears to correspond to a lack of
the fix:
commit 69a91c237ab0ebe4e9fdeaf6d0090c85275594ec
Author: Eric Rannaud <e@nanocritical.com>
Date: Thu Oct 30 01:51:01 2014 -0700
fs: allow open(dir, O_TMPFILE|..., 0) with mode 0
meaning I get
error: openat ("/dev/shm", O_TMPFILE | O_RDWR): Permission denied
in tst-open-tmpfile.out.
Should we make the test also treat EACCES as meaning lack of O_TMPFILE
support to allow for this kernel bug, or just document this on the release
wiki page as a known cause of a test failure?
--
Joseph S. Myers
joseph@codesourcery.com