Home
last modified time | relevance | path

Searched refs:SECURITY_KEY1 (Results 1 – 4 of 4) sorted by relevance

/external/ltp/testcases/kernel/syscalls/listxattr/
Dlistxattr01.c42 #define SECURITY_KEY1 "security.ltptest1" macro
45 #define KEY_SIZE (sizeof(SECURITY_KEY1) - 1)
69 if (!has_attribute(buf, sizeof(buf), SECURITY_KEY1)) { in verify_listxattr()
71 SECURITY_KEY1); in verify_listxattr()
82 SAFE_SETXATTR(TESTFILE, SECURITY_KEY1, VALUE, VALUE_SIZE, XATTR_CREATE); in setup()
/external/ltp/testcases/kernel/syscalls/flistxattr/
Dflistxattr01.c42 #define SECURITY_KEY1 "security.ltptest1" macro
45 #define KEY_SIZE (sizeof(SECURITY_KEY1) - 1)
70 if (!has_attribute(buf, sizeof(buf), SECURITY_KEY1)) { in verify_flistxattr()
72 SECURITY_KEY1); in verify_flistxattr()
83 SAFE_FSETXATTR(fd, SECURITY_KEY1, VALUE, VALUE_SIZE, XATTR_CREATE); in setup()
/external/ltp/testcases/kernel/syscalls/llistxattr/
Dllistxattr01.c40 #define SECURITY_KEY1 "security.ltptest1" macro
44 #define KEY_SIZE (sizeof(SECURITY_KEY1) - 1)
70 if (has_attribute(buf, sizeof(buf), SECURITY_KEY1)) { in verify_llistxattr()
72 SECURITY_KEY1); in verify_llistxattr()
90 SAFE_LSETXATTR(TESTFILE, SECURITY_KEY1, VALUE, VALUE_SIZE, XATTR_CREATE); in setup()
/external/ltp/testcases/kernel/syscalls/lgetxattr/
Dlgetxattr01.c40 #define SECURITY_KEY1 "security.ltptest1" macro
66 set_xattr("testfile", SECURITY_KEY1, VALUE1, strlen(VALUE1)); in setup()
92 TEST(lgetxattr("symlink", SECURITY_KEY1, buf, size)); in verify_lgetxattr()