Home
last modified time | relevance | path

Searched refs:MFD_ALLOW_SEALING (Results 1 – 8 of 8) sorted by relevance

/external/ltp/testcases/kernel/syscalls/memfd_create/
Dmemfd_create01.c231 {MFD_ALLOW_SEALING, &test_basic, "Basic tests + set/get seals"},
234 {MFD_ALLOW_SEALING, &test_seal_write, "Write seal"},
235 {MFD_ALLOW_SEALING, &test_seal_shrink, "Shrink seal"},
236 {MFD_ALLOW_SEALING, &test_seal_grow, "Grow seal"},
237 {MFD_ALLOW_SEALING, &test_seal_resize, "Resize seal"},
239 {MFD_ALLOW_SEALING, &test_share_dup, "Seals shared for dup"},
240 {MFD_ALLOW_SEALING, &test_share_mmap, "Seals shared for mmap"},
241 {MFD_ALLOW_SEALING, &test_share_open, "Seals shared for open"},
Dmemfd_create02.c52 {"invalid flags fail 4", "test", ~MFD_ALLOW_SEALING, EINVAL },
57 {"valid flags 2 pass", "test", MFD_ALLOW_SEALING, 0 },
58 {"valid flags 3 pass", "test", MFD_CLOEXEC | MFD_ALLOW_SEALING, 0 },
/external/strace/xlat/
Dmemfd_create_flags.h5 #if !(defined(MFD_ALLOW_SEALING) || (defined(HAVE_DECL_MFD_ALLOW_SEALING) && HAVE_DECL_MFD_ALLOW_SE…
6 # define MFD_ALLOW_SEALING 2 macro
18 XLAT(MFD_ALLOW_SEALING),
Dmemfd_create_flags.in2 MFD_ALLOW_SEALING 2
/external/linux-kselftest/tools/testing/selftests/memfd/
Dmemfd_test.c565 mfd_fail_new("", ~MFD_ALLOW_SEALING); in test_create()
574 fd = mfd_assert_new("", 0, MFD_ALLOW_SEALING); 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()
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()
778 MFD_CLOEXEC | MFD_ALLOW_SEALING); in test_share_mmap()
[all …]
Dfuse_test.c252 MFD_CLOEXEC | MFD_ALLOW_SEALING); in main()
/external/ltp/include/lapi/
Dmemfd.h23 #ifndef MFD_ALLOW_SEALING
24 # define MFD_ALLOW_SEALING 0x0002U macro
/external/kernel-headers/original/uapi/linux/
Dmemfd.h6 #define MFD_ALLOW_SEALING 0x0002U macro