Home
last modified time | relevance | path

Searched refs:F_SEAL_GROW (Results 1 – 25 of 25) sorted by relevance

/external/ltp/testcases/kernel/syscalls/memfd_create/
Dmemfd_create01.c44 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/
Df_seals.h20 #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),
Df_seals.in3 F_SEAL_GROW 4
/external/linux-kselftest/tools/testing/selftests/memfd/
Dmemfd_test.c645 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/
Dfcntl.h71 #ifndef F_SEAL_GROW
72 # define F_SEAL_GROW 0x0004 /* prevent file from growing */ macro
/external/kernel-headers/original/uapi/linux/
Dfcntl.h42 #define F_SEAL_GROW 0x0004 /* prevent file from growing */ macro
/external/perfetto/src/tracing/ipc/
Dposix_shared_memory.cc64 res = fcntl(*fd, F_ADD_SEALS, F_SEAL_SHRINK | F_SEAL_GROW | F_SEAL_SEAL); in Create()
/external/perfetto/src/profiling/memory/
Dshared_ring_buffer.cc48 constexpr auto kFDSeals = F_SEAL_SHRINK | F_SEAL_GROW | F_SEAL_SEAL;
/external/syzkaller/sys/linux/
Dsys_386.const158 F_SEAL_GROW = 4
Dsys_amd64.const158 F_SEAL_GROW = 4
Dsys_ppc64le.const158 F_SEAL_GROW = 4
Dsys_arm.const158 F_SEAL_GROW = 4
Dsys_arm64.const158 F_SEAL_GROW = 4
Dsys.txt1028 seal_types = F_SEAL_SEAL, F_SEAL_SHRINK, F_SEAL_GROW, F_SEAL_WRITE
/external/syzkaller/vendor/golang.org/x/sys/unix/
Dzerrors_linux_mips64le.go538 F_SEAL_GROW = 0x4 const
Dzerrors_linux_ppc64.go538 F_SEAL_GROW = 0x4 const
Dzerrors_linux_arm.go538 F_SEAL_GROW = 0x4 const
Dzerrors_linux_mips64.go538 F_SEAL_GROW = 0x4 const
Dzerrors_linux_ppc64le.go538 F_SEAL_GROW = 0x4 const
Dzerrors_linux_arm64.go541 F_SEAL_GROW = 0x4 const
Dzerrors_linux_386.go539 F_SEAL_GROW = 0x4 const
Dzerrors_linux_mips.go538 F_SEAL_GROW = 0x4 const
Dzerrors_linux_s390x.go538 F_SEAL_GROW = 0x4 const
Dzerrors_linux_mipsle.go538 F_SEAL_GROW = 0x4 const
Dzerrors_linux_amd64.go539 F_SEAL_GROW = 0x4 const