Searched refs:oldroot (Results 1 – 5 of 5) 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()
554 oldroot = root555 oldroot[KEY] = key556 oldroot[RESULT] = result563 root = oldroot[NEXT]572 cache[key] = oldroot
1588 int oldroot, newroot; in enter_pivot_root() local1596 oldroot = open("/", O_DIRECTORY | O_RDONLY | O_CLOEXEC); in enter_pivot_root()1597 if (oldroot < 0) in enter_pivot_root()1618 if (fchdir(oldroot)) in enter_pivot_root()1638 if (close(oldroot)) in enter_pivot_root()
559 struct menu *oldroot; in setParentMenu() local561 oldroot = rootEntry; in setParentMenu()569 if (item->menu == oldroot) { in setParentMenu()
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