Lines Matching refs:group
24 fprintf(stderr, "Create: %s [-b] [-u owner] [-g group] [-t device-name] "
38 struct group *gr;
40 gid_t group = -1;
72 group = gr->gr_gid;
75 group = strtol(optarg, &end, 0);
77 fprintf(stderr, "'%s' is neither a groupname nor a numeric group.\n",
122 if(owner == (uid_t)-1 && group == (gid_t)-1) {
132 if(group != (gid_t)-1) {
133 if(ioctl(tap_fd, TUNSETGROUP, group) < 0){
150 if(group != (gid_t)-1)
151 printf(" gid %d", group);