Searched defs:groups (Results 1 - 5 of 5) sorted by relevance

/lxc/src/lxc/
H A Darguments.h103 char *groups; /* also used by lxc-ls */ member in struct:lxc_arguments
H A Dlxc_user_nic.c131 "Failed to get number of groups the user belongs to: %s.\n",
140 usernic_error("Failed to allocate memory while getting groups "
149 usernic_error("Failed to get process groups: %s.\n",
273 char **groups; local
286 groups = get_groupnames();
299 if (!name_is_in_groupnames(name + 1, groups))
326 free_groupnames(groups);
H A Dconf.h349 struct lxc_list groups; member in struct:lxc_conf
H A Dconfile.c1191 char *groups, *groupptr, *sptr, *token; local
1198 groups = strdup(value);
1199 if (!groups) {
1204 /* in case several groups are specified in a single line
1205 * split these groups in a single element for the list */
1206 for (groupptr = groups;;groupptr = NULL) {
1215 SYSERROR("failed to allocate groups list");
1226 lxc_list_add_tail(&lxc_conf->groups, grouplist);
1229 free(groups);
2282 lxc_list_for_each(it, &c->groups) {
[all...]
/lxc/src/lxc/tools/
H A Dlxc_ls.c65 char *groups; member in struct:ls
171 {"groups", required_argument, 0, 'g'},
179 [-P lxcpath] [--active] [--running] [--frozen] [--stopped] [--nesting] [-g groups] [--filter regex]\n\
180 [-1] [-P lxcpath] [--active] [--running] [--frozen] [--stopped] [--nesting] [-g groups] [--filter regex]\n\
181 [-f] [-P lxcpath] [--active] [--running] [--frozen] [--stopped] [--nesting] [-g groups] [--filter regex]\n\
197 -g --groups comma separated list of groups a container must have to be displayed\n",
242 if (my_args.groups) {
243 grps = lxc_string_split_and_trim(my_args.groups, ',');
285 free(m->groups);
[all...]

Completed in 29 milliseconds