Searched refs:XATTR_NAME_SELINUX (Results 1 – 8 of 8) sorted by relevance
/external/libselinux/src/ |
D | lgetfilecon.c | 22 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()
|
D | getfilecon.c | 22 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()
|
D | fgetfilecon.c | 22 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()
|
D | policy.h | 7 #define XATTR_NAME_SELINUX "security.selinux" macro
|
D | setfilecon.c | 12 return setxattr(path, XATTR_NAME_SELINUX, context, strlen(context) + 1, in setfilecon()
|
D | lsetfilecon.c | 12 return lsetxattr(path, XATTR_NAME_SELINUX, context, strlen(context) + 1, in lsetfilecon()
|
D | fsetfilecon.c | 12 return fsetxattr(fd, XATTR_NAME_SELINUX, context, strlen(context) + 1, in fsetfilecon()
|
/external/yaffs2/yaffs2/utils/ |
D | mkyaffs2image.c | 36 #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()
|