Home
last modified time | relevance | path

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

/system/extras/ext4_utils/
Dcontents.h32 char *secon; member
41 int inode_set_selinux(u32 inode_num, const char *secon);
Dcontents.c467 int inode_set_selinux(u32 inode_num, const char *secon) in inode_set_selinux() argument
469 if (!secon) in inode_set_selinux()
473 XATTR_SELINUX_SUFFIX, secon, strlen(secon) + 1); in inode_set_selinux()
Dmake_ext4fs.c235 if (selabel_lookup(sehnd, &dentries[i].secon, dentries[i].path, stat.st_mode) < 0) { in build_directory_structure()
239 if (dentries[i].secon && verbose) in build_directory_structure()
240 printf("Labeling %s as %s\n", dentries[i].path, dentries[i].secon); in build_directory_structure()
285 if (selabel_lookup(sehnd, &dentries[0].secon, dentries[0].path, dentries[0].mode) < 0) in build_directory_structure()
333 ret = inode_set_selinux(entry_inode, dentries[i].secon); in build_directory_structure()
344 free(dentries[i].secon); in build_directory_structure()