summaryrefslogtreecommitdiffstats
path: root/.gitignore
diff options
context:
space:
mode:
authorAleksa Sarai <cyphar@cyphar.com>2020-02-13 08:26:56 +0100
committerShuah Khan <skhan@linuxfoundation.org>2020-02-13 21:15:45 +0100
commit9a0584f05687947d5a0b87f046bcd2592a55e67c (patch)
treee3cba4bbf9887d85332e056c852ecec9159f646c /.gitignore
parentselftests: use LDLIBS for libraries instead of LDFLAGS (diff)
downloadlinux-9a0584f05687947d5a0b87f046bcd2592a55e67c.tar.xz
linux-9a0584f05687947d5a0b87f046bcd2592a55e67c.zip
selftests: openat2: fix build error on newer glibc
It appears that newer glibcs check that openat(O_CREAT) was provided a fourth argument (rather than passing garbage), resulting in the following build error: > In file included from /usr/include/fcntl.h:301, > from helpers.c:9: > In function 'openat', > inlined from 'touchat' at helpers.c:49:11: > /usr/include/x86_64-linux-gnu/bits/fcntl2.h:126:4: error: call to > '__openat_missing_mode' declared with attribute error: openat with O_CREAT > or O_TMPFILE in third argument needs 4 arguments > 126 | __openat_missing_mode (); > | ^~~~~~~~~~~~~~~~~~~~~~~~ Reported-by: Shuah Khan <shuah@kernel.org> Signed-off-by: Aleksa Sarai <cyphar@cyphar.com> Tested-by: Shuah Khan <skhan@linuxfoundation.org> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions