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

/linux-4.1.27/include/uapi/linux/
H A Dmemfd.h5 #define MFD_CLOEXEC 0x0001U macro
/linux-4.1.27/tools/testing/selftests/memfd/
H A Dmemfd_test.c563 mfd_fail_new("", ~MFD_CLOEXEC); test_create()
568 /* verify MFD_CLOEXEC is allowed */ test_create()
569 fd = mfd_assert_new("", 0, MFD_CLOEXEC); test_create()
576 /* verify MFD_ALLOW_SEALING | MFD_CLOEXEC is allowed */ test_create()
577 fd = mfd_assert_new("", 0, MFD_ALLOW_SEALING | MFD_CLOEXEC); test_create()
591 MFD_CLOEXEC | MFD_ALLOW_SEALING); test_basic()
622 MFD_CLOEXEC); test_basic()
641 MFD_CLOEXEC | MFD_ALLOW_SEALING); test_seal_write()
665 MFD_CLOEXEC | MFD_ALLOW_SEALING); test_seal_shrink()
689 MFD_CLOEXEC | MFD_ALLOW_SEALING); test_seal_grow()
713 MFD_CLOEXEC | MFD_ALLOW_SEALING); test_seal_resize()
737 MFD_CLOEXEC | MFD_ALLOW_SEALING); test_share_dup()
777 MFD_CLOEXEC | MFD_ALLOW_SEALING); test_share_mmap()
809 MFD_CLOEXEC | MFD_ALLOW_SEALING); test_share_open()
850 MFD_CLOEXEC | MFD_ALLOW_SEALING); test_share_fork()
H A Dfuse_test.c252 MFD_CLOEXEC | MFD_ALLOW_SEALING); main()
/linux-4.1.27/mm/
H A Dshmem.c2911 #define MFD_ALL_FLAGS (MFD_CLOEXEC | MFD_ALLOW_SEALING)
2949 fd = get_unused_fd_flags((flags & MFD_CLOEXEC) ? O_CLOEXEC : 0); SYSCALL_DEFINE2()

Completed in 90 milliseconds