Home
last modified time | relevance | path

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

/third_party/ltp/testcases/kernel/syscalls/flistxattr/
H A Dflistxattr01.c30 #define SECURITY_KEY1 "security.ltptest1" macro
33 #define KEY_SIZE (sizeof(SECURITY_KEY1) - 1)
58 if (!has_attribute(buf, sizeof(buf), SECURITY_KEY1)) { in verify_flistxattr()
60 SECURITY_KEY1); in verify_flistxattr()
71 SAFE_FSETXATTR(fd, SECURITY_KEY1, VALUE, VALUE_SIZE, XATTR_CREATE); in setup()
/third_party/ltp/testcases/kernel/syscalls/listxattr/
H A Dlistxattr01.c30 #define SECURITY_KEY1 "security.ltptest1" macro
33 #define KEY_SIZE (sizeof(SECURITY_KEY1) - 1)
57 if (!has_attribute(buf, sizeof(buf), SECURITY_KEY1)) { in verify_listxattr()
59 SECURITY_KEY1); in verify_listxattr()
70 SAFE_SETXATTR(TESTFILE, SECURITY_KEY1, VALUE, VALUE_SIZE, XATTR_CREATE); in setup()
/third_party/ltp/testcases/kernel/syscalls/llistxattr/
H A Dllistxattr01.c30 #define SECURITY_KEY1 "security.ltptest1" macro
34 #define KEY_SIZE (sizeof(SECURITY_KEY1) - 1)
60 if (has_attribute(buf, sizeof(buf), SECURITY_KEY1)) { in verify_llistxattr()
62 SECURITY_KEY1); in verify_llistxattr()
80 SAFE_LSETXATTR(TESTFILE, SECURITY_KEY1, VALUE, VALUE_SIZE, XATTR_CREATE); in setup()
/third_party/ltp/testcases/kernel/syscalls/lgetxattr/
H A Dlgetxattr01.c30 #define SECURITY_KEY1 "security.ltptest1" macro
56 set_xattr("testfile", SECURITY_KEY1, VALUE1, strlen(VALUE1)); in setup()
82 TEST(lgetxattr("symlink", SECURITY_KEY1, buf, size)); in verify_lgetxattr()

Completed in 2 milliseconds