Searched defs:gid (Results 1 - 7 of 7) sorted by relevance

/lxc/src/lxc/
H A Dcaps.c131 gid_t gid = getgid(); local
147 if (setresgid(gid, gid, gid)) {
148 ERROR("failed to change gid to '%d': %m", gid);
H A Dattach_options.h104 * \note Set to \c -1 for default behaviour (init gid for userns
107 gid_t gid; member in struct:lxc_attach_options_t
142 /* .gid = */ (gid_t)-1, \
H A Darguments.h97 gid_t gid; member in struct:lxc_arguments
H A Dattach.c528 /* skip fields: gid, gecos, dir, go to next field 'shell' */
619 gid_t gid = (gid_t)-1; local
638 gid = (gid_t) value;
640 if (uid != (uid_t)-1 && gid != (gid_t)-1)
650 if (gid != (gid_t)-1)
651 *init_gid = gid;
1152 if (options->gid != (gid_t)-1)
1153 new_gid = options->gid;
1173 SYSERROR("Switching to container gid.");
H A Dutils.c2056 int lxc_switch_uid_gid(uid_t uid, gid_t gid) argument
2058 if (setgid(gid) < 0) {
2059 SYSERROR("Failed to switch to gid %d.", gid);
2062 NOTICE("Switched to gid %d.", gid);
H A Dconf.c1341 const char *devpts_mntopts = "newinstance,ptmxmode=0666,mode=0620,gid=5";
3435 * return the host uid/gid to which the container root is mapped in
3602 * chown_mapped_root: for an unprivileged user with uid/gid X to
3677 // save the current gid of "path"
3684 * A file has to be group-owned by a gid mapped into the
3711 ERROR("Error gid printing map string");
3719 ERROR("Error gid printing map string");
3726 ERROR("Error gid printing map string");
4487 uid_t uid, gid_t gid)
4490 int hostgid_mapped = mapped_hostid(gid, con
4486 idmap_add_id(struct lxc_conf *conf, uid_t uid, gid_t gid) argument
4650 unsigned int uid = 0, urange = 0, gid = 0, grange = 0; local
[all...]
/lxc/src/lxc/bdev/
H A Dlxcbtrfs.h229 __le32 gid; member in struct:btrfs_inode_item

Completed in 56 milliseconds