Searched refs:gr (Results 1 – 9 of 9) sorted by relevance
/busybox-1.35.0/libbb/ |
D | bb_pwd.c | 27 struct group *gr = getgrnam(name); in xgetgrnam() local 28 if (!gr) in xgetgrnam() 30 return gr; in xgetgrnam() 44 struct group *gr = getgrgid(gid); in xgetgrgid() local 45 if (!gr) in xgetgrgid() 47 return gr; in xgetgrgid() 59 struct group *gr = xgetgrgid(gid); in xgid2group() local 60 return gr->gr_name; in xgid2group() 71 struct group *gr = getgrgid(gid); in gid2group() local 72 return (gr) ? gr->gr_name : NULL; in gid2group()
|
/busybox-1.35.0/loginutils/ |
D | addgroup.c | 94 struct group gr; in new_group() local 98 gr.gr_gid = gid; in new_group() 99 gr.gr_name = group; in new_group() 100 xgroup_study(&gr); in new_group() 103 p = xasprintf("x:%u:", (unsigned) gr.gr_gid); in new_group() 171 struct group *gr; in addgroup_main() local 181 gr = xgetgrnam(argv[1]); /* unknown group: exit */ in addgroup_main() 183 for (; *(gr->gr_mem) != NULL; (gr->gr_mem)++) { in addgroup_main() 184 if (strcmp(argv[0], *(gr->gr_mem)) == 0) { in addgroup_main()
|
D | deluser.c | 111 struct group *gr; in deluser_main() local 115 gr = getgrnam(name); in deluser_main() 116 if (!gr) in deluser_main() 119 gr = xgetgrnam(name); /* bail out if GROUP is wrong */ in deluser_main() 126 if (pw->pw_gid == gr->gr_gid) in deluser_main()
|
/busybox-1.35.0/libpwdgrp/ |
D | uidgid_get.c | 34 struct group *gr; in get_uidgid() local 69 gr = getgrnam(group); in get_uidgid() 70 if (!gr) in get_uidgid() 72 u->gid = gr->gr_gid; in get_uidgid()
|
/busybox-1.35.0/selinux/ |
D | Kbuild.src | 4 # Copyright (C) 2007 by KaiGai Kohei <kaigai@kaigai.gr.jp>
|
/busybox-1.35.0/util-linux/ |
D | ipcs.c | 106 struct group *gr; in print_perms() local 113 gr = getgrgid(ipcp->cgid); in print_perms() 114 if (gr) printf(" %-10s", gr->gr_name); in print_perms() 120 gr = getgrgid(ipcp->gid); in print_perms() 121 if (gr) printf(" %-10s\n", gr->gr_name); in print_perms()
|
/busybox-1.35.0/archival/ |
D | rpm.c | 248 struct group *gr = getgrnam(rpm_getstr(TAG_FILEGROUPNAME, fileref)); in fileaction_setowngrp() local 249 int gid = gr ? gr->gr_gid : getgid(); in fileaction_setowngrp()
|
/busybox-1.35.0/shell/ |
D | hush.c | 3392 int gr; in glob_brace() local 3396 gr = glob(pattern, 0, NULL, &globdata); in glob_brace() 3397 debug_printf_glob("glob('%s'):%d\n", pattern, gr); in glob_brace() 3398 if (gr != 0) { in glob_brace() 3399 if (gr == GLOB_NOMATCH) { in glob_brace() 3407 if (gr == GLOB_NOSPACE) in glob_brace() 3411 bb_error_msg_and_die("glob error %d on '%s'", gr, pattern); in glob_brace() 3480 int gr; in perform_glob() local 3502 gr = glob(pattern, 0, NULL, &globdata); in perform_glob() 3503 debug_printf_glob("glob('%s'):%d\n", pattern, gr); in perform_glob() [all …]
|
/busybox-1.35.0/editors/ |
D | sed1line.txt | 418 Yiorgos Adamopoulos <adamo@softlab.ece.ntua.gr>
|