/external/ltp/testcases/kernel/syscalls/memfd_create/ |
D | memfd_create01.c | 44 CHECK_MFD_ADD_SEALS(fd, F_SEAL_GROW | F_SEAL_SEAL); in test_basic() 45 CHECK_MFD_HAS_SEALS(fd, F_SEAL_SHRINK | F_SEAL_GROW | in test_basic() 49 CHECK_MFD_FAIL_ADD_SEALS(fd, F_SEAL_GROW); in test_basic() 61 F_SEAL_SHRINK | F_SEAL_GROW | F_SEAL_WRITE); in test_no_sealing_without_flag() 106 CHECK_MFD_ADD_SEALS(fd, F_SEAL_GROW); in test_seal_grow() 107 CHECK_MFD_HAS_SEALS(fd, F_SEAL_GROW); in test_seal_grow() 123 CHECK_MFD_ADD_SEALS(fd, F_SEAL_SHRINK | F_SEAL_GROW); in test_seal_resize() 124 CHECK_MFD_HAS_SEALS(fd, F_SEAL_SHRINK | F_SEAL_GROW); in test_seal_resize() 158 CHECK_MFD_FAIL_ADD_SEALS(fd, F_SEAL_GROW); in test_share_dup() 159 CHECK_MFD_FAIL_ADD_SEALS(fd2, F_SEAL_GROW); in test_share_dup() [all …]
|
/external/strace/xlat/ |
D | f_seals.h | 20 #if defined(F_SEAL_GROW) || (defined(HAVE_DECL_F_SEAL_GROW) && HAVE_DECL_F_SEAL_GROW) 22 static_assert((F_SEAL_GROW) == (4), "F_SEAL_GROW != 4"); 25 # define F_SEAL_GROW 4 47 XLAT(F_SEAL_GROW),
|
D | f_seals.in | 3 F_SEAL_GROW 4
|
/external/linux-kselftest/tools/testing/selftests/memfd/ |
D | memfd_test.c | 645 mfd_assert_add_seals(fd, F_SEAL_GROW | F_SEAL_SEAL); in test_basic() 647 F_SEAL_GROW | in test_basic() 652 mfd_fail_add_seals(fd, F_SEAL_GROW); in test_basic() 663 F_SEAL_GROW | in test_basic() 735 mfd_assert_add_seals(fd, F_SEAL_GROW); in test_seal_grow() 736 mfd_assert_has_seals(fd, F_SEAL_GROW); in test_seal_grow() 761 mfd_assert_add_seals(fd, F_SEAL_SHRINK | F_SEAL_GROW); in test_seal_resize() 762 mfd_assert_has_seals(fd, F_SEAL_SHRINK | F_SEAL_GROW); in test_seal_resize() 803 mfd_fail_add_seals(fd, F_SEAL_GROW); in test_share_dup() 804 mfd_fail_add_seals(fd2, F_SEAL_GROW); in test_share_dup() [all …]
|
/external/ltp/include/lapi/ |
D | fcntl.h | 71 #ifndef F_SEAL_GROW 72 # define F_SEAL_GROW 0x0004 /* prevent file from growing */ macro
|
/external/kernel-headers/original/uapi/linux/ |
D | fcntl.h | 42 #define F_SEAL_GROW 0x0004 /* prevent file from growing */ macro
|
/external/perfetto/src/tracing/ipc/ |
D | posix_shared_memory.cc | 64 res = fcntl(*fd, F_ADD_SEALS, F_SEAL_SHRINK | F_SEAL_GROW | F_SEAL_SEAL); in Create()
|
/external/perfetto/src/profiling/memory/ |
D | shared_ring_buffer.cc | 48 constexpr auto kFDSeals = F_SEAL_SHRINK | F_SEAL_GROW | F_SEAL_SEAL;
|
/external/syzkaller/sys/linux/ |
D | sys_386.const | 158 F_SEAL_GROW = 4
|
D | sys_amd64.const | 158 F_SEAL_GROW = 4
|
D | sys_ppc64le.const | 158 F_SEAL_GROW = 4
|
D | sys_arm.const | 158 F_SEAL_GROW = 4
|
D | sys_arm64.const | 158 F_SEAL_GROW = 4
|
D | sys.txt | 1028 seal_types = F_SEAL_SEAL, F_SEAL_SHRINK, F_SEAL_GROW, F_SEAL_WRITE
|
/external/syzkaller/vendor/golang.org/x/sys/unix/ |
D | zerrors_linux_mips64le.go | 538 F_SEAL_GROW = 0x4 const
|
D | zerrors_linux_ppc64.go | 538 F_SEAL_GROW = 0x4 const
|
D | zerrors_linux_arm.go | 538 F_SEAL_GROW = 0x4 const
|
D | zerrors_linux_mips64.go | 538 F_SEAL_GROW = 0x4 const
|
D | zerrors_linux_ppc64le.go | 538 F_SEAL_GROW = 0x4 const
|
D | zerrors_linux_arm64.go | 541 F_SEAL_GROW = 0x4 const
|
D | zerrors_linux_386.go | 539 F_SEAL_GROW = 0x4 const
|
D | zerrors_linux_mips.go | 538 F_SEAL_GROW = 0x4 const
|
D | zerrors_linux_s390x.go | 538 F_SEAL_GROW = 0x4 const
|
D | zerrors_linux_mipsle.go | 538 F_SEAL_GROW = 0x4 const
|
D | zerrors_linux_amd64.go | 539 F_SEAL_GROW = 0x4 const
|