Searched refs:oldroot (Results 1 – 4 of 4) sorted by relevance
93 char *oldroot; in hidden_def() local102 oldroot = strdup(selinux_root); in hidden_def()103 if (!oldroot) in hidden_def()105 olddir = strdup(oldroot); in hidden_def()117 if (strcmp(oldroot, newroot)) { in hidden_def()129 if (strcmp(oldroot, newroot)) { in hidden_def()130 rc = selinux_set_policy_root(oldroot); in hidden_def()138 free(oldroot); in hidden_def()
593 oldroot = root594 oldroot[KEY] = key595 oldroot[RESULT] = result602 root = oldroot[NEXT]611 cache[key] = oldroot
1755 int oldroot, newroot; in enter_pivot_root() local1763 oldroot = open("/", O_DIRECTORY | O_RDONLY | O_CLOEXEC); in enter_pivot_root()1764 if (oldroot < 0) in enter_pivot_root()1785 if (fchdir(oldroot)) in enter_pivot_root()1805 if (close(oldroot)) in enter_pivot_root()
143 * is a flat list (nill rooted tree). All children of oldroot are added to148 // If the oldroot tree was a nil node, then we know at this point