HomeSort by relevance Sort by last modified time
    Searched refs:secontext (Results 1 - 7 of 7) sorted by null

  /bootable/recovery/minzip/
DirUtil.c 149 char *secontext = NULL; local
152 selabel_lookup(sehnd, &secontext, cpath, mode);
153 setfscreatecon(secontext);
161 if (secontext) {
162 freecon(secontext);
Zip.c 1119 char *secontext = NULL; local
    [all...]
  /system/core/init/
util.c 472 char *secontext = NULL; local
475 selabel_lookup(sehandle, &secontext, path, mode);
476 setfscreatecon(secontext);
483 if (secontext) {
485 freecon(secontext);
496 char *secontext = NULL; local
505 if (selabel_lookup(sehandle, &secontext, pathname, sb.st_mode) < 0)
507 if (lsetfilecon(pathname, secontext) < 0) {
508 freecon(secontext);
511 freecon(secontext);
    [all...]
devices.c 197 char *secontext = NULL; local
203 selabel_lookup(sehandle, &secontext, path, mode);
204 setfscreatecon(secontext);
218 if (secontext) {
219 freecon(secontext);
  /external/yaffs2/yaffs2/utils/
mkyaffs2image.c 260 static int write_object_header(int objId, yaffs_ObjectType t, struct stat *s, int parent, const char *name, int equivalentObj, const char * alias, const char *secontext)
272 if (secontext) {
273 xvalsize = strlen(secontext) + 1;
292 memcpy(xb, secontext, xvalsize);
343 char *secontext = NULL; local
397 if (selabel_lookup(sehnd, &secontext,
431 error = write_object_header(newObj, YAFFS_OBJECT_TYPE_HARDLINK, &stats, parent, entry->d_name, equivalentObj, NULL, secontext);
448 error = write_object_header(newObj, YAFFS_OBJECT_TYPE_SYMLINK, &stats, parent, entry->d_name, -1, symname, secontext);
454 error = write_object_header(newObj, YAFFS_OBJECT_TYPE_FILE, &stats, parent, entry->d_name, -1, NULL, secontext);
490 error = write_object_header(newObj, YAFFS_OBJECT_TYPE_SPECIAL, &stats, parent, entry->d_name, -1, NULL, secontext);
550 char *secontext = NULL; local
    [all...]
  /system/extras/ext4_utils/
make_ext4fs.c 433 char *secontext = NULL; local
441 if (selabel_lookup(sehnd, &secontext, sepath, S_IFDIR) < 0) {
444 if (secontext) {
445 printf("Labeling %s as %s\n", sepath, secontext);
446 inode_set_selinux(root_inode_num, secontext);
449 freecon(secontext);
  /bootable/recovery/updater/
install.c 82 char *secontext = NULL; local
85 selabel_lookup(sehandle, &secontext, mount_point, 0755);
86 setfscreatecon(secontext);
93 if (secontext) {
94 freecon(secontext);
    [all...]

Completed in 1261 milliseconds