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

  /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
385 if (selabel_lookup(sehnd, &secontext,
417 error = write_object_header(newObj, YAFFS_OBJECT_TYPE_HARDLINK, &stats, parent, entry->d_name, equivalentObj, NULL, secontext);
434 error = write_object_header(newObj, YAFFS_OBJECT_TYPE_SYMLINK, &stats, parent, entry->d_name, -1, symname, secontext);
440 error = write_object_header(newObj, YAFFS_OBJECT_TYPE_FILE, &stats, parent, entry->d_name, -1, NULL, secontext);
476 error = write_object_header(newObj, YAFFS_OBJECT_TYPE_SPECIAL, &stats, parent, entry->d_name, -1, NULL, secontext);
536 char *secontext = NULL; local
    [all...]
  /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/extras/ext4_utils/
make_ext4fs.c 426 char *secontext = NULL; local
434 if (selabel_lookup(sehnd, &secontext, sepath, S_IFDIR) < 0) {
437 if (secontext) {
438 printf("Labeling %s as %s\n", sepath, secontext);
439 inode_set_selinux(root_inode_num, secontext);
442 freecon(secontext);
  /system/core/init/
devices.c 195 char *secontext = NULL; local
201 selabel_lookup(sehandle, &secontext, path, mode);
202 setfscreatecon(secontext);
216 if (secontext) {
217 freecon(secontext);
229 char *secontext = NULL; local
232 selabel_lookup(sehandle, &secontext, path, mode);
233 setfscreatecon(secontext);
240 if (secontext) {
241 freecon(secontext);
    [all...]
builtins.c 739 char *secontext = NULL; local
749 if (selabel_lookup(sehandle, &secontext, args[i], sb.st_mode) < 0)
751 if (lsetfilecon(args[i], secontext) < 0) {
752 freecon(secontext);
755 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 176 milliseconds