Home
last modified time | relevance | path

Searched refs:MFD_CLOEXEC (Results 1 – 4 of 4) sorted by relevance

/Linux-v4.19/tools/testing/selftests/memfd/
Dmemfd_test.c599 mfd_fail_new("", ~MFD_CLOEXEC); in test_create()
605 fd = mfd_assert_new("", 0, MFD_CLOEXEC); in test_create()
613 fd = mfd_assert_new("", 0, MFD_ALLOW_SEALING | MFD_CLOEXEC); in test_create()
629 MFD_CLOEXEC | MFD_ALLOW_SEALING); in test_basic()
660 MFD_CLOEXEC); in test_basic()
681 MFD_CLOEXEC | MFD_ALLOW_SEALING); in test_seal_write()
707 MFD_CLOEXEC | MFD_ALLOW_SEALING); in test_seal_shrink()
733 MFD_CLOEXEC | MFD_ALLOW_SEALING); in test_seal_grow()
759 MFD_CLOEXEC | MFD_ALLOW_SEALING); in test_seal_resize()
785 MFD_CLOEXEC | MFD_ALLOW_SEALING); in test_share_dup()
[all …]
Dfuse_test.c270 MFD_CLOEXEC | MFD_ALLOW_SEALING); in main()
/Linux-v4.19/include/uapi/linux/
Dmemfd.h8 #define MFD_CLOEXEC 0x0001U macro
/Linux-v4.19/mm/
Dmemfd.c264 #define MFD_ALL_FLAGS (MFD_CLOEXEC | MFD_ALLOW_SEALING | MFD_HUGETLB)
309 fd = get_unused_fd_flags((flags & MFD_CLOEXEC) ? O_CLOEXEC : 0); in SYSCALL_DEFINE2()