Home
last modified time | relevance | path

Searched refs:getgrnam (Results 1 – 25 of 57) sorted by relevance

123

/external/python/cpython2/Lib/distutils/
Darchive_util.py23 from grp import getgrnam
25 getgrnam = None variable
29 if getgrnam is None or name is None:
32 result = getgrnam(name)
/external/python/cpython2/Lib/test/
Dtest_grp.py42 e2 = grp.getgrnam(name)
51 self.assertRaises(TypeError, grp.getgrnam)
86 self.assertRaises(KeyError, grp.getgrnam, fakename)
/external/python/cpython2/Doc/library/
Dgrp.rst7 :synopsis: The group database (getgrnam() and friends).
36 accessible via :func:`getgrnam` or :func:`getgrgid`.)
47 .. function:: getgrnam(name)
/external/ltp/testcases/kernel/syscalls/open/
Dopen10.c108 group = getgrnam("nobody"); in main()
110 group = getgrnam("nogroup"); in main()
118 group = getgrnam("everybody"); in main()
122 group = getgrnam("bin"); in main()
/external/ltp/testcases/kernel/syscalls/creat/
Dcreat08.c120 if ((group = getgrnam("nobody")) == NULL) { in main()
121 if ((group = getgrnam("nogroup")) == NULL) { in main()
128 if ((group = getgrnam("bin")) == NULL) { in main()
129 if ((group = getgrnam("shell")) == NULL) { in main()
/external/toybox/toys/pending/
Dgroupadd.c71 if (!(grp = getgrnam(toys.optargs[1]))) in groupadd_main()
96 if (getgrnam(s)) error_exit("'%s' in use", s); in groupadd_main()
Duseradd.c97 if (getgrnam(pwd.pw_name)) error_exit("group '%s' in use", pwd.pw_name);
Dmdev.c153 grp = getgrnam(str); in make_device()
/external/ltp/testcases/kernel/syscalls/chmod/
Dchmod05.c189 bin_group = getgrnam("everybody"); in setup()
191 bin_group = getgrnam("bin"); in setup()
Dchmod07.c180 if ((ltpgroup = getgrnam(LTPGRP)) == NULL) in setup()
/external/ltp/testcases/kernel/syscalls/fchmod/
Dfchmod05.c181 bin_group = getgrnam("everybody"); in setup()
183 bin_group = getgrnam("bin"); in setup()
Dfchmod02.c183 if ((ltpgroup = getgrnam(LTPGRP)) == NULL) { in setup()
/external/ltp/testcases/kernel/syscalls/setregid/
Dsetregid04.c114 if (getgrnam(#GROUPNAME) == NULL) { \
117 GROUPNAME ## _gr = *(getgrnam(#GROUPNAME));
Dsetregid02.c158 struct group *ret = getgrnam(name); in get_group_by_name()
Dsetregid03.c189 junk = getgrnam(#group); \ in setup()
/external/e2fsprogs/include/mingw/
Dgrp.h6 __inline struct group * getgrnam(char* g){return 0;} in getgrnam() function
/external/e2fsprogs/include/nonunix/
Dgrp.h6 __inline struct group * getgrnam(char* g){return 0;} in getgrnam() function
/external/python/cpython2/Lib/
Dshutil.py21 from grp import getgrnam
23 getgrnam = None variable
316 if getgrnam is None or name is None:
319 result = getgrnam(name)
/external/autotest/client/site_tests/security_SysLogPermissions/
Dsecurity_SysLogPermissions.py19 syslog_gid = grp.getgrnam('syslog').gr_gid
/external/libcap/progs/old/
Dsucap.c82 struct group *gr = getgrnam(argv[2]); in main()
/external/wpa_supplicant_8/src/utils/
Dos_unix.c331 struct group *grp = getgrnam("wifi"); in os_program_init()
350 grp = getgrnam("inet"); in os_program_init()
354 grp = getgrnam("keystore"); in os_program_init()
/external/iptables/extensions/
Dlibxt_owner.c157 if ((grp = getgrnam(cb->arg)) != NULL) in owner_mt_parse_v0()
204 if ((grp = getgrnam(cb->arg)) != NULL) in owner_mt6_parse_v0()
263 if ((grp = getgrnam(cb->arg)) != NULL) in owner_mt_parse()
/external/python/cpython2/Lib/plat-os2emx/
Dgrp.py171 def getgrnam(name): function
/external/autotest/utils/
Dservice_helper.py64 group_info = grp.getgrnam(group)
/external/python/cpython2/Modules/
Dgrpmodule.c125 if ((p = getgrnam(name)) == NULL) { in grp_getgrnam()

123