Home
last modified time | relevance | path

Searched refs:F_SEAL_SHRINK (Results 1 – 7 of 7) 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.c664 mfd_assert_add_seals(fd, F_SEAL_SHRINK | in test_basic()
666 mfd_assert_has_seals(fd, F_SEAL_SHRINK | in test_basic()
670 mfd_assert_add_seals(fd, F_SEAL_SHRINK | in test_basic()
672 mfd_assert_has_seals(fd, F_SEAL_SHRINK | in test_basic()
677 mfd_assert_has_seals(fd, F_SEAL_SHRINK | in test_basic()
693 mfd_fail_add_seals(fd, F_SEAL_SHRINK | in test_basic()
773 mfd_assert_add_seals(fd, F_SEAL_SHRINK); in test_seal_shrink()
774 mfd_assert_has_seals(fd, F_SEAL_SHRINK); in test_seal_shrink()
833 mfd_assert_add_seals(fd, F_SEAL_SHRINK | F_SEAL_GROW); in test_seal_resize()
834 mfd_assert_has_seals(fd, F_SEAL_SHRINK | F_SEAL_GROW); in test_seal_resize()
[all …]
/external/strace/xlat/
Df_seals.h5 #if !(defined(F_SEAL_SHRINK) || (defined(HAVE_DECL_F_SEAL_SHRINK) && HAVE_DECL_F_SEAL_SHRINK))
6 # define F_SEAL_SHRINK 2 macro
24 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()