Home
last modified time | relevance | path

Searched refs:group (Results 1 – 25 of 211) sorted by relevance

123456789

/glibc-2.36/argp/
Dargp-parse.c218 struct group struct
235 struct group *parent; argument
248 group_parse (struct group *group, struct argp_state *state, int key, char *arg) in group_parse() argument
250 if (group->parser) in group_parse()
253 state->hook = group->hook; in group_parse()
254 state->input = group->input; in group_parse()
255 state->child_inputs = group->child_inputs; in group_parse()
256 state->arg_num = group->args_processed; in group_parse()
257 err = (*group->parser)(key, arg, state); in group_parse()
258 group->hook = state->hook; in group_parse()
[all …]
/glibc-2.36/include/
Dgrp.h8 extern int __getgrent_r (struct group *__resultbuf, char *buffer,
9 size_t __buflen, struct group **__result)
11 extern int __old_getgrent_r (struct group *__resultbuf, char *buffer,
12 size_t __buflen, struct group **__result);
13 extern int __fgetgrent_r (FILE * __stream, struct group *__resultbuf,
15 struct group **__result) attribute_hidden;
18 extern int __getgrgid_r (__gid_t __gid, struct group *__resultbuf,
20 struct group **__result) attribute_hidden;
21 extern int __old_getgrgid_r (__gid_t __gid, struct group *__resultbuf,
23 struct group **__result);
[all …]
/glibc-2.36/grp/
Dgrp.h42 struct group struct
73 extern struct group *getgrent (void);
83 extern struct group *fgetgrent (FILE *__stream);
93 extern int putgrent (const struct group *__restrict __p,
101 extern struct group *getgrgid (__gid_t __gid);
107 extern struct group *getgrnam (const char *__name);
131 extern int getgrent_r (struct group *__restrict __resultbuf,
133 struct group **__restrict __result)
141 extern int getgrgid_r (__gid_t __gid, struct group *__restrict __resultbuf,
143 struct group **__restrict __result)
[all …]
Dinitgroups.c46 internal_getgrouplist (const char *user, gid_t group, long int *size, in internal_getgrouplist() argument
56 int n = __nscd_getgrouplist (user, group, size, groupsp, limit); in internal_getgrouplist()
69 (*groupsp)[0] = group; in internal_getgrouplist()
98 status = compat_call (nip, user, group, &start, size, groupsp, in internal_getgrouplist()
101 status = DL_CALL_FCT (fct, (user, group, &start, size, groupsp, in internal_getgrouplist()
143 getgrouplist (const char *user, gid_t group, gid_t *groups, int *ngroups) in getgrouplist() argument
156 int total = internal_getgrouplist (user, group, &size, &newgroups, -1); in getgrouplist()
174 initgroups (const char *user, gid_t group) in nss_interface_function()
205 ngroups = internal_getgrouplist (user, group, &size, &groups, limit); in nss_interface_function()
Dtst-putgrent.c29 check (struct group e, const char *expected) in check()
102 check ((struct group) { in do_test()
106 check ((struct group) { in do_test()
113 check ((struct group) { in do_test()
147 check ((struct group) { in do_test()
150 check ((struct group) { in do_test()
155 check ((struct group) { in do_test()
Dgrp-merge.h27 __copy_grp (const struct group srcgrp, const size_t buflen,
28 struct group *destgrp, char *destbuf, char **endptr);
32 __merge_grp (struct group *savedgrp, char *savedbuf, char *savedend,
33 size_t buflen, struct group *mergegrp, char *mergebuf);
/glibc-2.36/conform/data/
Dgrp.h-data6 type {struct group}
7 element {struct group} {char*} gr_name
8 element {struct group} gid_t gr_gid
9 element {struct group} {char**} gr_mem
18 function {struct group*} getgrgid (gid_t)
19 function {struct group*} getgrnam (const char*)
20 function int getgrgid_r (gid_t, struct group*, char *, size_t, struct group**)
21 function int getgrnam_r (const char *, struct group *, char *, size_t, struct group**)
23 function {struct group*} getgrent (void)
/glibc-2.36/inet/
Dgetnetgrent_r.c85 __internal_setnetgrent_reuse (const char *group, struct __netgrent *datap, in __internal_setnetgrent_reuse() argument
106 status = DL_CALL_FCT (*fct.f, (group, datap)); in __internal_setnetgrent_reuse()
123 size_t group_len = strlen (group) + 1; in __internal_setnetgrent_reuse()
134 memcpy (new_elem->name, group, group_len); in __internal_setnetgrent_reuse()
142 __internal_setnetgrent (const char *group, struct __netgrent *datap) in __internal_setnetgrent() argument
147 return __internal_setnetgrent_reuse (group, datap, &errno); in __internal_setnetgrent()
152 nscd_setnetgrent (const char *group) in libc_hidden_def()
161 return __nscd_setnetgrent (group, &dataset); in libc_hidden_def()
167 setnetgrent (const char *group) in setnetgrent() argument
173 result = nscd_setnetgrent (group); in setnetgrent()
[all …]
/glibc-2.36/nss/nss_compat/
Dcompat-initgroups.c40 struct group * grp, char *buffer,
42 static enum nss_status (*getgrgid_r_impl) (gid_t gid, struct group * grp,
46 static enum nss_status (*getgrent_r_impl) (struct group * grp, char *buffer,
56 #define STRUCTURE group
205 check_and_add_group (const char *user, gid_t group, long int *start, in check_and_add_group() argument
207 struct group *grp) in check_and_add_group()
212 if (grp->gr_gid == group) in check_and_add_group()
229 gid_t group, long int *start, long int *size, in getgrent_next_nss() argument
233 struct group grpbuf; in getgrent_next_nss()
254 if (initgroups_dyn_impl (user, group, &mystart, &mysize, &mygroups, in getgrent_next_nss()
[all …]
/glibc-2.36/nscd/
Dnscd.conf59 enable-cache group yes
60 positive-time-to-live group 3600
61 negative-time-to-live group 60
62 suggested-size group 211
63 check-files group yes
64 persistent group yes
65 shared group yes
66 max-db-size group 33554432
67 auto-propagate group yes
Dnscd_proto.h45 extern int __nscd_getgrnam_r (const char *name, struct group *resultbuf,
47 struct group **result) attribute_hidden;
48 extern int __nscd_getgrgid_r (gid_t gid, struct group *resultbuf,
50 struct group **result) attribute_hidden;
68 extern int __nscd_getgrouplist (const char *user, gid_t group, long int *size,
82 extern int __nscd_setnetgrent (const char *group, struct __netgrent *datap)
Dnscd_getgr_r.c41 struct group *resultbuf, char *buffer,
42 size_t buflen, struct group **result);
46 __nscd_getgrnam_r (const char *name, struct group *resultbuf, char *buffer, in __nscd_getgrnam_r()
47 size_t buflen, struct group **result) in __nscd_getgrnam_r()
55 __nscd_getgrgid_r (gid_t gid, struct group *resultbuf, char *buffer, in __nscd_getgrgid_r()
56 size_t buflen, struct group **result) in __nscd_getgrgid_r()
84 struct group *resultbuf, char *buffer, size_t buflen, in nscd_getgr_r()
85 struct group **result) in nscd_getgr_r()
/glibc-2.36/manual/
Djob.texi58 group} or @dfn{job}. This is so that you can operate on all of them at
60 terminate all the processes in the foreground process group.
63 A @dfn{session} is a larger group of processes. Normally all the
66 Every process belongs to a process group. When a process is created, it
67 becomes a member of the same process group and session as its parent
68 process. You can put it in another process group using the
69 @code{setpgid} function, provided the process group belongs to the same
76 process group, and you can't move it out of that process group again.
92 one process group at a time. This is called the @dfn{foreground job} on
147 terminal, the process group is usually sent a @code{SIGTTIN} signal.
[all …]
/glibc-2.36/hesiod/nss_hesiod/
Dhesiod-grp.c32 #define STRUCTURE group in NSS_DECLARE_MODULE_FUNCTIONS()
49 lookup (const char *name, const char *type, struct group *grp, in lookup()
97 _nss_hesiod_getgrnam_r (const char *name, struct group *grp, in _nss_hesiod_getgrnam_r()
104 _nss_hesiod_getgrgid_r (gid_t gid, struct group *grp, in _nss_hesiod_getgrgid_r()
129 internal_gid_from_group (void *context, const char *groupname, gid_t *group) in internal_gid_from_group() argument
158 *group = val; in internal_gid_from_group()
169 _nss_hesiod_initgroups_dyn (const char *user, gid_t group, long int *start, in _nss_hesiod_initgroups_dyn() argument
218 group = val; in _nss_hesiod_initgroups_dyn()
222 status = internal_gid_from_group (context, p, &group); in _nss_hesiod_initgroups_dyn()
225 && !internal_gid_in_list (groups, group, *start)) in _nss_hesiod_initgroups_dyn()
[all …]
/glibc-2.36/scripts/
Dglibcextract.py70 if (match.group(1) in consts
71 and match.group(2) != consts[match.group(1)]):
73 % match.group(1))
74 consts[match.group(1)] = match.group(2)
100 name = match.group(1)
101 value = match.group(2)
109 args = match.group(1).split(',')
110 value = match.group(2)
Ddso-ordering-test.py340 opr = m.group(1)
341 obj = m.group(2)
357 obj = m.group(1)
358 idx_end = m.group(2)
367 obj_name = m.group(1)
368 idx_start = int(m.group (2))
403 value = m.group()
406 obj = s.group(1)
407 val = s.group(2)
1090 if m.group(1) == "":
[all …]
/glibc-2.36/nis/
Dnis_ismember.c27 internal_ismember (const_nis_name principal, const_nis_name group) in internal_ismember() argument
29 size_t grouplen = strlen (group); in internal_ismember()
37 cp = stpcpy (buf, nis_leaf_of_r (group, leafbuf, sizeof (leafbuf) - 1)); in internal_ismember()
39 cp2 = nis_domain_of_r (group, domainbuf, sizeof (domainbuf) - 1); in internal_ismember()
142 nis_ismember (const_nis_name principal, const_nis_name group) in nis_ismember() argument
144 if (group != NULL && group[0] != '\0' && principal != NULL) in nis_ismember()
145 return internal_ismember (principal, group) == 1 ? TRUE : FALSE; in nis_ismember()
Dnis_destroygroup.c23 nis_destroygroup (const_nis_name group) in nis_destroygroup() argument
25 if (group != NULL && group[0] != '\0') in nis_destroygroup()
27 size_t grouplen = strlen (group); in nis_destroygroup()
35 cp = stpcpy (buf, nis_leaf_of_r (group, leafbuf, sizeof (leafbuf) - 1)); in nis_destroygroup()
37 cp2 = nis_domain_of_r (group, domainbuf, sizeof (domainbuf) - 1); in nis_destroygroup()
Dnis_verifygroup.c23 nis_verifygroup (const_nis_name group) in nis_verifygroup() argument
25 if (group != NULL && group[0] != '\0') in nis_verifygroup()
27 size_t grouplen = strlen (group); in nis_verifygroup()
35 cp = stpcpy (buf, nis_leaf_of_r (group, leafbuf, sizeof (leafbuf) - 1)); in nis_verifygroup()
37 cp2 = nis_domain_of_r (group, domainbuf, sizeof (domainbuf) - 1); in nis_verifygroup()
Dnis_removemember.c24 nis_removemember (const_nis_name member, const_nis_name group) in nis_removemember() argument
26 if (group != NULL && group[0] != '\0') in nis_removemember()
28 size_t grouplen = strlen (group); in nis_removemember()
35 cp = rawmemchr (nis_leaf_of_r (group, buf, sizeof (buf) - 1), '\0'); in nis_removemember()
37 cp2 = nis_domain_of_r (group, domainbuf, sizeof (domainbuf) - 1); in nis_removemember()
Dnis_addmember.c24 nis_addmember (const_nis_name member, const_nis_name group) in nis_addmember() argument
26 if (group != NULL && group[0] != '\0') in nis_addmember()
28 size_t grouplen = strlen (group); in nis_addmember()
35 cp = rawmemchr (nis_leaf_of_r (group, buf, sizeof (buf) - 1), '\0'); in nis_addmember()
37 cp2 = nis_domain_of_r (group, domainbuf, sizeof (domainbuf) - 1); in nis_addmember()
Dnis_creategroup.c24 nis_creategroup (const_nis_name group, unsigned int flags) in nis_creategroup() argument
26 if (group != NULL && group[0] != '\0') in nis_creategroup()
28 size_t grouplen = strlen (group); in nis_creategroup()
37 cp = stpcpy (buf, nis_leaf_of_r (group, leafbuf, sizeof (leafbuf) - 1)); in nis_creategroup()
39 cp2 = nis_domain_of_r (group, domainbuf, sizeof (domainbuf) - 1); in nis_creategroup()
Dnis_print_group_entry.c25 nis_print_group_entry (const_nis_name group) in nis_print_group_entry() argument
27 if (group != NULL && group[0] != '\0') in nis_print_group_entry()
29 size_t grouplen = strlen (group); in nis_print_group_entry()
37 cp = stpcpy (buf, nis_leaf_of_r (group, leafbuf, sizeof (leafbuf) - 1)); in nis_print_group_entry()
39 cp2 = nis_domain_of_r (group, domainbuf, sizeof (domainbuf) - 1); in nis_print_group_entry()
/glibc-2.36/nss/
Dtst-nss-test4.c49 static struct group group_table_data1[] = {
56 static struct group group_table_data2[] = {
63 static struct group group_table[] = {
87 struct group *g = NULL; in do_test()
92 align_mask = __alignof__ (struct group *) - 1; in do_test()
/glibc-2.36/math/
Dgen-libm-test.py151 line_first = m.group(1)
152 line_second = m.group(2)
281 auto_tests[m.group(1)][m.group(2)][m.group(3)] = m.group(4)
328 return '%s (%s)' % (macro, m.group(1))
479 f_name = m.group(1)
480 cond = convert_condition(m.group(2))
581 test_list.append(gen_auto_tests(auto_tests, m.group(1),
582 m.group(2), m.group(3)))
587 test_list.append(gen_test_line(m.group(1), m.group(2),
588 m.group(3)))

123456789