Home
last modified time | relevance | path

Searched refs:xattr_value (Results 1 – 3 of 3) sorted by relevance

/external/ltp/testcases/kernel/syscalls/setxattr/
Dsetxattr01.c78 static char *xattr_value = XATTR_TEST_VALUE; variable
91 .value = &xattr_value,
98 .value = &xattr_value,
105 .value = &xattr_value,
119 .value = &xattr_value,
126 .value = &xattr_value,
134 .value = &xattr_value,
142 .value = &xattr_value,
148 .value = &xattr_value,
/external/ltp/testcases/kernel/syscalls/fsetxattr/
Dfsetxattr01.c61 static char *xattr_value = XATTR_TEST_VALUE; variable
75 .value = &xattr_value,
82 .value = &xattr_value,
89 .value = &xattr_value,
103 .value = &xattr_value,
110 .value = &xattr_value,
118 .value = &xattr_value,
126 .value = &xattr_value,
132 .value = &xattr_value,
/external/selinux/libselinux/src/
Dselinux_restorecon.c302 unsigned char *xattr_value = NULL; in add_xattr_entry() local
313 xattr_value = malloc(fc_digest_len); in add_xattr_entry()
314 if (!xattr_value) in add_xattr_entry()
317 xattr_size = getxattr(directory, RESTORECON_LAST, xattr_value, in add_xattr_entry()
320 free(xattr_value); in add_xattr_entry()
327 free(xattr_value); in add_xattr_entry()
332 sprintf((&sha1_buf[i * 2]), "%02x", xattr_value[i]); in add_xattr_entry()
334 rc = memcmp(fc_digest, xattr_value, fc_digest_len); in add_xattr_entry()
347 free(xattr_value); in add_xattr_entry()
791 char *xattr_value = NULL; in selinux_restorecon() local
[all …]