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

/linux-4.1.27/include/uapi/linux/
H A Dmemfd.h6 #define MFD_ALLOW_SEALING 0x0002U macro
/linux-4.1.27/tools/testing/selftests/memfd/
H A Dmemfd_test.c564 mfd_fail_new("", ~MFD_ALLOW_SEALING); test_create()
572 /* verify MFD_ALLOW_SEALING is allowed */ test_create()
573 fd = mfd_assert_new("", 0, MFD_ALLOW_SEALING); 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()
619 /* verify sealing does not work without MFD_ALLOW_SEALING */ 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)
2963 if (flags & MFD_ALLOW_SEALING) SYSCALL_DEFINE2()

Completed in 98 milliseconds