summary: Test for BZ#1330705 (open() and openat() ignore 'mode' with O_TMPFILE) description: | Bug summary: open() and openat() ignore 'mode' with O_TMPFILE on newer kernels Bugzilla link: https://bugzilla.redhat.com/show_bug.cgi?id=1330705 The test program calls openat with __O_TMPFILE(O_TMPFILE) flag and checks if a file was created with right mode(0600). The kernel must support O_TMPFILE(be >= 3.11, or with the backported feature). link: - relates: https://bugzilla.redhat.com/show_bug.cgi?id=1330705 contact: Sergey Kolosov component: - glibc test: ./runtest.sh framework: beakerlib recommend: - glibc - gcc duration: 2h extra-summary: /tools/glibc/Regression/bz1330705-open-and-openat-ignore-mode-with-O-TMPFILE extra-task: /tools/glibc/Regression/bz1330705-open-and-openat-ignore-mode-with-O-TMPFILE