Home
last modified time | relevance | path

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

/linux-4.1.27/tools/testing/selftests/memfd/
Dmemfd_test.c563 mfd_fail_new("", ~MFD_CLOEXEC); in test_create()
569 fd = mfd_assert_new("", 0, MFD_CLOEXEC); in test_create()
577 fd = mfd_assert_new("", 0, MFD_ALLOW_SEALING | MFD_CLOEXEC); in test_create()
591 MFD_CLOEXEC | MFD_ALLOW_SEALING); in test_basic()
622 MFD_CLOEXEC); in test_basic()
641 MFD_CLOEXEC | MFD_ALLOW_SEALING); in test_seal_write()
665 MFD_CLOEXEC | MFD_ALLOW_SEALING); in test_seal_shrink()
689 MFD_CLOEXEC | MFD_ALLOW_SEALING); in test_seal_grow()
713 MFD_CLOEXEC | MFD_ALLOW_SEALING); in test_seal_resize()
737 MFD_CLOEXEC | MFD_ALLOW_SEALING); in test_share_dup()
[all …]
Dfuse_test.c252 MFD_CLOEXEC | MFD_ALLOW_SEALING); in main()
/linux-4.1.27/include/uapi/linux/
Dmemfd.h5 #define MFD_CLOEXEC 0x0001U macro
/linux-4.1.27/mm/
Dshmem.c2911 #define MFD_ALL_FLAGS (MFD_CLOEXEC | MFD_ALLOW_SEALING)
2949 fd = get_unused_fd_flags((flags & MFD_CLOEXEC) ? O_CLOEXEC : 0); in SYSCALL_DEFINE2()