Searched refs:secontext (Results 1 – 2 of 2) sorted by relevance
/third_party/f2fs-tools/fsck/ |
D | sload.c | 72 char *secontext = NULL; in set_selinux_xattr() local 85 if (selabel_lookup(sehnd, &secontext, mnt_path, mode) < 0) { in set_selinux_xattr() 91 if (secontext) { in set_selinux_xattr() 93 mnt_path, ino, secontext); in set_selinux_xattr() 94 inode_set_selinux(sbi, ino, secontext); in set_selinux_xattr() 96 freecon(secontext); in set_selinux_xattr()
|
/third_party/e2fsprogs/contrib/android/ |
D | perms.c | 69 char *secontext = NULL; in set_selinux_xattr() local 82 retval = selabel_lookup(params->sehnd, &secontext, params->filename, in set_selinux_xattr() 92 secontext, strlen(secontext) + 1); in set_selinux_xattr() 94 freecon(secontext); in set_selinux_xattr()
|