Searched defs:root (Results 1 - 5 of 5) sorted by relevance
/lxc/src/lxc/cgroups/ |
H A D | cgroup.c | 160 bool cgroup_mount(const char *root, struct lxc_handler *handler, int type) argument 163 return ops->mount_cgroup(handler->cgroup_data, root, type);
|
H A D | cgfs.c | 1410 static bool cgroupfs_mount_cgroup(void *hdata, const char *root, int type) argument 1412 size_t bufsz = strlen(root) + sizeof("/sys/fs/cgroup"); 1448 snprintf(path, bufsz, "%s/sys/fs/cgroup", root); 1452 root); 1508 ERROR("could not automatically mount cgroup-full to /sys/fs/cgroup/%s: host has no mount point for this cgroup filesystem that has access to the root cgroup", dirname);
|
H A D | cgfsng.c | 68 root), or init's cgroup (if root). 1470 * root can write to the files to attach. We chmod them 664 so that 1600 static bool cgfsng_mount(void *hdata, const char *root, int type) argument 1613 tmpfspath = must_make_path(root, "/sys/fs/cgroup", NULL); 1624 root) < 0) 1732 /* Only root needs to escape to the cgroup of its init */
|
H A D | cgmanager.c | 298 * Escape to the root cgroup if we are root, so that the container will 457 ERROR("Failed to chown %s:%s to container root", 1429 * We check whether we can talk to cgmanager, escape to root cgroup if 1430 * we are root, then close the connection. 1441 // if root, try to escape to root cgroup 1555 WARN("Failed to chown %s to container root", d->cgroup_path); 1602 static bool cgm_bind_dir(const char *root, const char *dirname) argument 1607 cgpath = NIH_MUST( nih_strdup(NULL, root) ); 1644 cgm_mount_cgroup(void *hdata, const char *root, int type) argument [all...] |
/lxc/src/lxc/ |
H A D | conf.c | 998 /* change into new root fs */ 1004 /* pivot_root into our new root fs */ 1011 * at this point the old-root is mounted on top of our new-root 1013 * to old-root 1020 SYSERROR("Error detaching old root"); 1222 int prepare_ramfs_root(char *root) argument 1230 if (realpath(root, nroot) == NULL) 1240 if (mount(root, "/", NULL, MS_REC | MS_BIND, NULL) < 0) { 1241 SYSERROR("Failed to move %s into /", root); [all...] |
Completed in 33 milliseconds