Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/syscalls/memfd_create/
Dmemfd_create01.c36 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/
Dmemfd_test.c633 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/
Df_seals.h13 #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),
Df_seals.in2 F_SEAL_SHRINK 2
/external/ltp/include/lapi/
Dfcntl.h68 #ifndef F_SEAL_SHRINK
69 # define F_SEAL_SHRINK 0x0002 /* prevent file from shrinking */ macro
/external/kernel-headers/original/uapi/linux/
Dfcntl.h41 #define F_SEAL_SHRINK 0x0002 /* prevent file from shrinking */ 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.const160 F_SEAL_SHRINK = 2
Dsys_amd64.const160 F_SEAL_SHRINK = 2
Dsys_ppc64le.const160 F_SEAL_SHRINK = 2
Dsys_arm.const160 F_SEAL_SHRINK = 2
Dsys_arm64.const160 F_SEAL_SHRINK = 2
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.go540 F_SEAL_SHRINK = 0x2 const
Dzerrors_linux_ppc64.go540 F_SEAL_SHRINK = 0x2 const
Dzerrors_linux_arm.go540 F_SEAL_SHRINK = 0x2 const
Dzerrors_linux_mips64.go540 F_SEAL_SHRINK = 0x2 const
Dzerrors_linux_ppc64le.go540 F_SEAL_SHRINK = 0x2 const
Dzerrors_linux_arm64.go543 F_SEAL_SHRINK = 0x2 const
Dzerrors_linux_386.go541 F_SEAL_SHRINK = 0x2 const
Dzerrors_linux_mips.go540 F_SEAL_SHRINK = 0x2 const
Dzerrors_linux_s390x.go540 F_SEAL_SHRINK = 0x2 const
Dzerrors_linux_mipsle.go540 F_SEAL_SHRINK = 0x2 const
Dzerrors_linux_amd64.go541 F_SEAL_SHRINK = 0x2 const