Home
last modified time | relevance | path

Searched refs:XATTR_NAME_SELINUX (Results 1 – 8 of 8) sorted by relevance

/external/selinux/libselinux/src/
Dgetfilecon.c22 ret = getxattr(path, XATTR_NAME_SELINUX, buf, size - 1); in getfilecon_raw()
26 size = getxattr(path, XATTR_NAME_SELINUX, NULL, 0); in getfilecon_raw()
37 ret = getxattr(path, XATTR_NAME_SELINUX, buf, size - 1); in getfilecon_raw()
Dfgetfilecon.c22 ret = fgetxattr(fd, XATTR_NAME_SELINUX, buf, size - 1); in fgetfilecon_raw()
26 size = fgetxattr(fd, XATTR_NAME_SELINUX, NULL, 0); in fgetfilecon_raw()
37 ret = fgetxattr(fd, XATTR_NAME_SELINUX, buf, size - 1); in fgetfilecon_raw()
Dlgetfilecon.c22 ret = lgetxattr(path, XATTR_NAME_SELINUX, buf, size - 1); in lgetfilecon_raw()
26 size = lgetxattr(path, XATTR_NAME_SELINUX, NULL, 0); in lgetfilecon_raw()
37 ret = lgetxattr(path, XATTR_NAME_SELINUX, buf, size - 1); in lgetfilecon_raw()
Dpolicy.h10 #ifndef XATTR_NAME_SELINUX
11 #define XATTR_NAME_SELINUX "security.selinux" macro
Dsetfilecon.c12 int rc = setxattr(path, XATTR_NAME_SELINUX, context, strlen(context) + 1, in setfilecon_raw()
Dlsetfilecon.c12 int rc = lsetxattr(path, XATTR_NAME_SELINUX, context, strlen(context) + 1, in lsetfilecon_raw()
Dfsetfilecon.c12 int rc = fsetxattr(fd, XATTR_NAME_SELINUX, context, strlen(context) + 1, in fsetfilecon_raw()
/external/kernel-headers/original/uapi/linux/
Dxattr.h58 #define XATTR_NAME_SELINUX XATTR_SECURITY_PREFIX XATTR_SELINUX_SUFFIX macro