/external/ltp/testcases/kernel/syscalls/memfd_create/ |
D | memfd_create01.c | 36 CHECK_MFD_ADD_SEALS(fd, F_SEAL_SHRINK | F_SEAL_WRITE); in test_basic() 37 CHECK_MFD_HAS_SEALS(fd, F_SEAL_SHRINK | F_SEAL_WRITE); in test_basic() 40 CHECK_MFD_ADD_SEALS(fd, F_SEAL_SHRINK | F_SEAL_WRITE); in test_basic() 41 CHECK_MFD_HAS_SEALS(fd, F_SEAL_SHRINK | F_SEAL_WRITE); in test_basic() 45 CHECK_MFD_HAS_SEALS(fd, F_SEAL_SHRINK | F_SEAL_GROW | in test_basic() 61 F_SEAL_SHRINK | F_SEAL_GROW | F_SEAL_WRITE); in test_no_sealing_without_flag() 89 CHECK_MFD_ADD_SEALS(fd, F_SEAL_SHRINK); in test_seal_shrink() 90 CHECK_MFD_HAS_SEALS(fd, F_SEAL_SHRINK); in test_seal_shrink() 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() [all …]
|
/external/linux-kselftest/tools/testing/selftests/memfd/ |
D | memfd_test.c | 633 mfd_assert_add_seals(fd, F_SEAL_SHRINK | in test_basic() 635 mfd_assert_has_seals(fd, F_SEAL_SHRINK | in test_basic() 639 mfd_assert_add_seals(fd, F_SEAL_SHRINK | in test_basic() 641 mfd_assert_has_seals(fd, F_SEAL_SHRINK | in test_basic() 646 mfd_assert_has_seals(fd, F_SEAL_SHRINK | in test_basic() 662 mfd_fail_add_seals(fd, F_SEAL_SHRINK | in test_basic() 709 mfd_assert_add_seals(fd, F_SEAL_SHRINK); in test_seal_shrink() 710 mfd_assert_has_seals(fd, F_SEAL_SHRINK); in test_seal_shrink() 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() [all …]
|
/external/strace/xlat/ |
D | f_seals.h | 13 #if defined(F_SEAL_SHRINK) || (defined(HAVE_DECL_F_SEAL_SHRINK) && HAVE_DECL_F_SEAL_SHRINK) 15 static_assert((F_SEAL_SHRINK) == (2), "F_SEAL_SHRINK != 2"); 18 # define F_SEAL_SHRINK 2 46 XLAT(F_SEAL_SHRINK),
|
D | f_seals.in | 2 F_SEAL_SHRINK 2
|
/external/ltp/include/lapi/ |
D | fcntl.h | 68 #ifndef F_SEAL_SHRINK 69 # define F_SEAL_SHRINK 0x0002 /* prevent file from shrinking */ macro
|
/external/kernel-headers/original/uapi/linux/ |
D | fcntl.h | 41 #define F_SEAL_SHRINK 0x0002 /* prevent file from shrinking */ 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 | 160 F_SEAL_SHRINK = 2
|
D | sys_amd64.const | 160 F_SEAL_SHRINK = 2
|
D | sys_ppc64le.const | 160 F_SEAL_SHRINK = 2
|
D | sys_arm.const | 160 F_SEAL_SHRINK = 2
|
D | sys_arm64.const | 160 F_SEAL_SHRINK = 2
|
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 | 540 F_SEAL_SHRINK = 0x2 const
|
D | zerrors_linux_ppc64.go | 540 F_SEAL_SHRINK = 0x2 const
|
D | zerrors_linux_arm.go | 540 F_SEAL_SHRINK = 0x2 const
|
D | zerrors_linux_mips64.go | 540 F_SEAL_SHRINK = 0x2 const
|
D | zerrors_linux_ppc64le.go | 540 F_SEAL_SHRINK = 0x2 const
|
D | zerrors_linux_arm64.go | 543 F_SEAL_SHRINK = 0x2 const
|
D | zerrors_linux_386.go | 541 F_SEAL_SHRINK = 0x2 const
|
D | zerrors_linux_mips.go | 540 F_SEAL_SHRINK = 0x2 const
|
D | zerrors_linux_s390x.go | 540 F_SEAL_SHRINK = 0x2 const
|
D | zerrors_linux_mipsle.go | 540 F_SEAL_SHRINK = 0x2 const
|
D | zerrors_linux_amd64.go | 541 F_SEAL_SHRINK = 0x2 const
|