Home
last modified time | relevance | path

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

/external/libselinux/src/
Dlgetfilecon.c22 ret = lgetxattr(path, XATTR_NAME_SELINUX, buf, size - 1); in lgetfilecon()
26 size = lgetxattr(path, XATTR_NAME_SELINUX, NULL, 0); in lgetfilecon()
37 ret = lgetxattr(path, XATTR_NAME_SELINUX, buf, size - 1); in lgetfilecon()
Dgetfilecon.c22 ret = getxattr(path, XATTR_NAME_SELINUX, buf, size - 1); in getfilecon()
26 size = getxattr(path, XATTR_NAME_SELINUX, NULL, 0); in getfilecon()
37 ret = getxattr(path, XATTR_NAME_SELINUX, buf, size - 1); in getfilecon()
Dfgetfilecon.c22 ret = fgetxattr(fd, XATTR_NAME_SELINUX, buf, size - 1); in fgetfilecon()
26 size = fgetxattr(fd, XATTR_NAME_SELINUX, NULL, 0); in fgetfilecon()
37 ret = fgetxattr(fd, XATTR_NAME_SELINUX, buf, size - 1); in fgetfilecon()
Dpolicy.h7 #define XATTR_NAME_SELINUX "security.selinux" macro
Dsetfilecon.c12 return setxattr(path, XATTR_NAME_SELINUX, context, strlen(context) + 1, in setfilecon()
Dlsetfilecon.c12 return lsetxattr(path, XATTR_NAME_SELINUX, context, strlen(context) + 1, in lsetfilecon()
Dfsetfilecon.c12 return fsetxattr(fd, XATTR_NAME_SELINUX, context, strlen(context) + 1, in fsetfilecon()
/external/yaffs2/yaffs2/utils/
Dmkyaffs2image.c36 #define XATTR_NAME_SELINUX "security.selinux" macro
268 int xnamelen = strlen(XATTR_NAME_SELINUX) + 1; in write_object_header()
290 strcpy(xb, XATTR_NAME_SELINUX); in write_object_header()