Home
last modified time | relevance | path

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

/linux-4.4.14/tools/testing/selftests/memfd/
Dmemfd_test.c564 mfd_fail_new("", ~MFD_CLOEXEC); in test_create()
570 fd = mfd_assert_new("", 0, MFD_CLOEXEC); in test_create()
578 fd = mfd_assert_new("", 0, MFD_ALLOW_SEALING | MFD_CLOEXEC); in test_create()
592 MFD_CLOEXEC | MFD_ALLOW_SEALING); in test_basic()
623 MFD_CLOEXEC); in test_basic()
642 MFD_CLOEXEC | MFD_ALLOW_SEALING); in test_seal_write()
666 MFD_CLOEXEC | MFD_ALLOW_SEALING); in test_seal_shrink()
690 MFD_CLOEXEC | MFD_ALLOW_SEALING); in test_seal_grow()
714 MFD_CLOEXEC | MFD_ALLOW_SEALING); in test_seal_resize()
738 MFD_CLOEXEC | MFD_ALLOW_SEALING); in test_share_dup()
[all …]
Dfuse_test.c252 MFD_CLOEXEC | MFD_ALLOW_SEALING); in main()
/linux-4.4.14/include/uapi/linux/
Dmemfd.h5 #define MFD_CLOEXEC 0x0001U macro
/linux-4.4.14/mm/
Dshmem.c2920 #define MFD_ALL_FLAGS (MFD_CLOEXEC | MFD_ALLOW_SEALING)
2958 fd = get_unused_fd_flags((flags & MFD_CLOEXEC) ? O_CLOEXEC : 0); in SYSCALL_DEFINE2()