Home
last modified time | relevance | path

Searched refs:ngroups (Results 1 – 25 of 3172) sorted by relevance

12345678910>>...127

/dports/net/samba412/samba-4.12.15/source3/smbd/
H A Dsec_ctx.c38 t1->ngroups != t2->ngroups) { in unix_token_equal()
142 int ngroups; in get_current_groups() local
156 if (ngroups <= 0) { in get_current_groups()
165 if ((ngroups = sys_getgroups(ngroups,groups)) == -1) { in get_current_groups()
180 return ngroups; in get_current_groups()
293 if (syscall(SYS_initgroups, (ngroups > max) ? max : ngroups, in set_unix_security_ctx()
328 ctx_p->ut.ngroups = ngroups; in set_sec_ctx_internal()
337 if (ngroups) { in set_sec_ctx_internal()
360 current_user.ut.ngroups = ngroups; in set_sec_ctx_internal()
431 current_user.ut.ngroups = prev_ctx_p->ut.ngroups; in pop_sec_ctx()
[all …]
/dports/devel/libunit/unit-1.26.1/src/
H A Dnxt_credential.c98 int ngroups; in nxt_credential_groups_get() local
101 ngroups = NXT_NGROUPS; in nxt_credential_groups_get()
112 if (ngroups > NXT_NGROUPS) { in nxt_credential_groups_get()
114 ngroups = NGROUPS_MAX; in nxt_credential_groups_get()
117 uc->ngroups = ngroups; in nxt_credential_groups_get()
136 uc->ngroups = ngroups; in nxt_credential_groups_get()
182 int nsaved, ngroups; in nxt_credential_groups_get() local
199 uc->ngroups = 0; in nxt_credential_groups_get()
238 ngroups = getgroups(0, NULL); in nxt_credential_groups_get()
253 ngroups = getgroups(ngroups, uc->gids); in nxt_credential_groups_get()
[all …]
/dports/www/unit/unit-1.26.1/src/
H A Dnxt_credential.c98 int ngroups; in nxt_credential_groups_get() local
101 ngroups = NXT_NGROUPS; in nxt_credential_groups_get()
112 if (ngroups > NXT_NGROUPS) { in nxt_credential_groups_get()
114 ngroups = NGROUPS_MAX; in nxt_credential_groups_get()
117 uc->ngroups = ngroups; in nxt_credential_groups_get()
136 uc->ngroups = ngroups; in nxt_credential_groups_get()
182 int nsaved, ngroups; in nxt_credential_groups_get() local
199 uc->ngroups = 0; in nxt_credential_groups_get()
238 ngroups = getgroups(0, NULL); in nxt_credential_groups_get()
253 ngroups = getgroups(ngroups, uc->gids); in nxt_credential_groups_get()
[all …]
/dports/www/unit-java/unit-1.26.1/src/
H A Dnxt_credential.c98 int ngroups; in nxt_credential_groups_get() local
101 ngroups = NXT_NGROUPS; in nxt_credential_groups_get()
112 if (ngroups > NXT_NGROUPS) { in nxt_credential_groups_get()
114 ngroups = NGROUPS_MAX; in nxt_credential_groups_get()
117 uc->ngroups = ngroups; in nxt_credential_groups_get()
136 uc->ngroups = ngroups; in nxt_credential_groups_get()
182 int nsaved, ngroups; in nxt_credential_groups_get() local
199 uc->ngroups = 0; in nxt_credential_groups_get()
238 ngroups = getgroups(0, NULL); in nxt_credential_groups_get()
253 ngroups = getgroups(ngroups, uc->gids); in nxt_credential_groups_get()
[all …]
/dports/www/unit-perl/unit-1.26.1/src/
H A Dnxt_credential.c98 int ngroups; in nxt_credential_groups_get() local
101 ngroups = NXT_NGROUPS; in nxt_credential_groups_get()
112 if (ngroups > NXT_NGROUPS) { in nxt_credential_groups_get()
114 ngroups = NGROUPS_MAX; in nxt_credential_groups_get()
117 uc->ngroups = ngroups; in nxt_credential_groups_get()
136 uc->ngroups = ngroups; in nxt_credential_groups_get()
182 int nsaved, ngroups; in nxt_credential_groups_get() local
199 uc->ngroups = 0; in nxt_credential_groups_get()
238 ngroups = getgroups(0, NULL); in nxt_credential_groups_get()
253 ngroups = getgroups(ngroups, uc->gids); in nxt_credential_groups_get()
[all …]
/dports/www/unit-php/unit-1.26.1/src/
H A Dnxt_credential.c98 int ngroups; in nxt_credential_groups_get() local
101 ngroups = NXT_NGROUPS; in nxt_credential_groups_get()
112 if (ngroups > NXT_NGROUPS) { in nxt_credential_groups_get()
114 ngroups = NGROUPS_MAX; in nxt_credential_groups_get()
117 uc->ngroups = ngroups; in nxt_credential_groups_get()
136 uc->ngroups = ngroups; in nxt_credential_groups_get()
182 int nsaved, ngroups; in nxt_credential_groups_get() local
199 uc->ngroups = 0; in nxt_credential_groups_get()
238 ngroups = getgroups(0, NULL); in nxt_credential_groups_get()
253 ngroups = getgroups(ngroups, uc->gids); in nxt_credential_groups_get()
[all …]
/dports/www/unit-python/unit-1.26.1/src/
H A Dnxt_credential.c98 int ngroups; in nxt_credential_groups_get() local
101 ngroups = NXT_NGROUPS; in nxt_credential_groups_get()
112 if (ngroups > NXT_NGROUPS) { in nxt_credential_groups_get()
114 ngroups = NGROUPS_MAX; in nxt_credential_groups_get()
117 uc->ngroups = ngroups; in nxt_credential_groups_get()
136 uc->ngroups = ngroups; in nxt_credential_groups_get()
182 int nsaved, ngroups; in nxt_credential_groups_get() local
199 uc->ngroups = 0; in nxt_credential_groups_get()
238 ngroups = getgroups(0, NULL); in nxt_credential_groups_get()
253 ngroups = getgroups(ngroups, uc->gids); in nxt_credential_groups_get()
[all …]
/dports/science/nwchem-data/nwchem-7.0.2-release/src/argos/
H A Dargos_diana_groups.F20 ngroups=ngroups+1
24 read(card(8:67),1001) (igroups(ngroups,i),i=1,6),
25 + (rgroups(ngroups,i),i=1,2)
28 print*,'++++++++++',igroups(ngroups,5)
34 if(igroups(ngroups,5).eq.1)
35 + call argos_diana_grpcogdis(sgmnam,imol,isel,wt,x,ngroups)
36 if(igroups(ngroups,5).eq.2)
37 + call argos_diana_grpdis(sgmnam,imol,isel,wt,x,ngroups)
38 if(igroups(ngroups,5).eq.4)
40 if(igroups(ngroups,5).eq.5)
[all …]
/dports/science/nwchem/nwchem-7b21660b82ebd85ef659f6fba7e1e73433b0bd0a/src/argos/
H A Dargos_diana_groups.F20 ngroups=ngroups+1
24 read(card(8:67),1001) (igroups(ngroups,i),i=1,6),
25 + (rgroups(ngroups,i),i=1,2)
28 print*,'++++++++++',igroups(ngroups,5)
34 if(igroups(ngroups,5).eq.1)
35 + call argos_diana_grpcogdis(sgmnam,imol,isel,wt,x,ngroups)
36 if(igroups(ngroups,5).eq.2)
37 + call argos_diana_grpdis(sgmnam,imol,isel,wt,x,ngroups)
38 if(igroups(ngroups,5).eq.4)
40 if(igroups(ngroups,5).eq.5)
[all …]
/dports/security/pam_ssh/pam_ssh-8.0/openssh/
H A Dgroupaccess.c42 static int ngroups; variable
56 if (ngroups > 0) in ga_init()
59 ngroups = NGROUPS_MAX; in ga_init()
68 groups_bygid = xreallocarray(groups_bygid, ngroups, in ga_init()
73 for (i = 0, j = 0; i < ngroups; i++) in ga_init()
77 return (ngroups = j); in ga_init()
89 for (i = 0; i < ngroups; i++) in ga_match()
105 for (i = 0; i < ngroups; i++) { in ga_match_pattern_list()
127 if (ngroups > 0) { in ga_free()
128 for (i = 0; i < ngroups; i++) in ga_free()
[all …]
/dports/security/openssh-portable/openssh-8.8p1/
H A Dgroupaccess.c42 static int ngroups; variable
56 if (ngroups > 0) in ga_init()
59 ngroups = NGROUPS_MAX; in ga_init()
68 groups_bygid = xreallocarray(groups_bygid, ngroups, in ga_init()
73 for (i = 0, j = 0; i < ngroups; i++) in ga_init()
77 return (ngroups = j); in ga_init()
89 for (i = 0; i < ngroups; i++) in ga_match()
105 for (i = 0; i < ngroups; i++) { in ga_match_pattern_list()
127 if (ngroups > 0) { in ga_free()
128 for (i = 0; i < ngroups; i++) in ga_free()
[all …]
/dports/news/husky-areafix/husky-areafix-1.9.20191207/msged/
H A Dgroup.c28 static int ngroups=0, nmaxgroups=0; variable
40 if (!ngroups) in group_searchhandle()
43 if (lastmatch < ngroups) in group_searchhandle()
51 for (i = 0; i < ngroups; i++) in group_searchhandle()
69 if (!ngroups) in group_gethandle()
73 if (ngroups >= nmaxgroups) in group_gethandle()
80 handle = ngroups + 1; in group_gethandle()
81 ngroups++; in group_gethandle()
132 for (i = 0; i < ngroups; i++) in group_destroy()
141 ngroups = 0; in group_destroy()
[all …]
/dports/news/husky/husky-1.9.20191207/msged/
H A Dgroup.c28 static int ngroups=0, nmaxgroups=0; variable
40 if (!ngroups) in group_searchhandle()
43 if (lastmatch < ngroups) in group_searchhandle()
51 for (i = 0; i < ngroups; i++) in group_searchhandle()
69 if (!ngroups) in group_gethandle()
73 if (ngroups >= nmaxgroups) in group_gethandle()
80 handle = ngroups + 1; in group_gethandle()
81 ngroups++; in group_gethandle()
132 for (i = 0; i < ngroups; i++) in group_destroy()
141 ngroups = 0; in group_destroy()
[all …]
/dports/news/husky-fidoconf/husky-fidoconf-1.9.20191207/msged/
H A Dgroup.c28 static int ngroups=0, nmaxgroups=0; variable
40 if (!ngroups) in group_searchhandle()
43 if (lastmatch < ngroups) in group_searchhandle()
51 for (i = 0; i < ngroups; i++) in group_searchhandle()
69 if (!ngroups) in group_gethandle()
73 if (ngroups >= nmaxgroups) in group_gethandle()
80 handle = ngroups + 1; in group_gethandle()
81 ngroups++; in group_gethandle()
132 for (i = 0; i < ngroups; i++) in group_destroy()
141 ngroups = 0; in group_destroy()
[all …]
/dports/news/husky-sqpack/husky-sqpack-1.9.20191207/msged/
H A Dgroup.c28 static int ngroups=0, nmaxgroups=0; variable
40 if (!ngroups) in group_searchhandle()
43 if (lastmatch < ngroups) in group_searchhandle()
51 for (i = 0; i < ngroups; i++) in group_searchhandle()
69 if (!ngroups) in group_gethandle()
73 if (ngroups >= nmaxgroups) in group_gethandle()
80 handle = ngroups + 1; in group_gethandle()
81 ngroups++; in group_gethandle()
132 for (i = 0; i < ngroups; i++) in group_destroy()
141 ngroups = 0; in group_destroy()
[all …]
/dports/news/husky-huskylib/husky-huskylib-1.9.20191207/msged/
H A Dgroup.c28 static int ngroups=0, nmaxgroups=0; variable
40 if (!ngroups) in group_searchhandle()
43 if (lastmatch < ngroups) in group_searchhandle()
51 for (i = 0; i < ngroups; i++) in group_searchhandle()
69 if (!ngroups) in group_gethandle()
73 if (ngroups >= nmaxgroups) in group_gethandle()
80 handle = ngroups + 1; in group_gethandle()
81 ngroups++; in group_gethandle()
132 for (i = 0; i < ngroups; i++) in group_destroy()
141 ngroups = 0; in group_destroy()
[all …]
/dports/news/husky-smapi/husky-smapi-1.9.20191207,1/msged/
H A Dgroup.c28 static int ngroups=0, nmaxgroups=0; variable
40 if (!ngroups) in group_searchhandle()
43 if (lastmatch < ngroups) in group_searchhandle()
51 for (i = 0; i < ngroups; i++) in group_searchhandle()
69 if (!ngroups) in group_gethandle()
73 if (ngroups >= nmaxgroups) in group_gethandle()
80 handle = ngroups + 1; in group_gethandle()
81 ngroups++; in group_gethandle()
132 for (i = 0; i < ngroups; i++) in group_destroy()
141 ngroups = 0; in group_destroy()
[all …]
/dports/news/husky-htick/husky-htick-1.9.20191207/msged/
H A Dgroup.c28 static int ngroups=0, nmaxgroups=0; variable
40 if (!ngroups) in group_searchhandle()
43 if (lastmatch < ngroups) in group_searchhandle()
51 for (i = 0; i < ngroups; i++) in group_searchhandle()
69 if (!ngroups) in group_gethandle()
73 if (ngroups >= nmaxgroups) in group_gethandle()
80 handle = ngroups + 1; in group_gethandle()
81 ngroups++; in group_gethandle()
132 for (i = 0; i < ngroups; i++) in group_destroy()
141 ngroups = 0; in group_destroy()
[all …]
/dports/news/husky-hpt/husky-hpt-1.9.20191207/msged/
H A Dgroup.c28 static int ngroups=0, nmaxgroups=0; variable
40 if (!ngroups) in group_searchhandle()
43 if (lastmatch < ngroups) in group_searchhandle()
51 for (i = 0; i < ngroups; i++) in group_searchhandle()
69 if (!ngroups) in group_gethandle()
73 if (ngroups >= nmaxgroups) in group_gethandle()
80 handle = ngroups + 1; in group_gethandle()
81 ngroups++; in group_gethandle()
132 for (i = 0; i < ngroups; i++) in group_destroy()
141 ngroups = 0; in group_destroy()
[all …]
/dports/security/duo/duo_unix-1.11.4/compat/
H A Dgroupaccess.c43 static int ngroups; variable
57 if (ngroups > 0) in ga_init()
61 ngroups = 1024; in ga_init()
63 ngroups = NGROUPS_MAX; in ga_init()
80 for (i = 0, j = 0; i < ngroups; i++) in ga_init()
84 return (ngroups = j); in ga_init()
96 for (i = 0; i < ngroups; i++) in ga_match()
113 for (i = 0; i < ngroups; i++) { in ga_match_pattern_list()
135 if (ngroups > 0) { in ga_free()
136 for (i = 0; i < ngroups; i++) in ga_free()
[all …]
/dports/security/gnome-ssh-askpass/openssh-6.6p1/
H A Dgroupaccess.c42 static int ngroups; variable
56 if (ngroups > 0) in ga_init()
59 ngroups = NGROUPS_MAX; in ga_init()
61 ngroups = MAX(NGROUPS_MAX, sysconf(_SC_NGROUPS_MAX)); in ga_init()
69 for (i = 0, j = 0; i < ngroups; i++) in ga_init()
73 return (ngroups = j); in ga_init()
85 for (i = 0; i < ngroups; i++) in ga_match()
102 for (i = 0; i < ngroups; i++) { in ga_match_pattern_list()
124 if (ngroups > 0) { in ga_free()
125 for (i = 0; i < ngroups; i++) in ga_free()
[all …]
/dports/net/samba412/samba-4.12.15/tests/
H A Dgetgroups.c25 int ngroups = getgroups(0,&grp); in main() local
32 if (ngroups <= 0) in main()
33 ngroups = 32; in main()
35 igroups = (int *)malloc(sizeof(int)*ngroups); in main()
37 for (i=0;i<ngroups;i++) in main()
40 ngroups = getgroups(ngroups,(gid_t *)igroups); in main()
43 ngroups = 0; in main()
45 if (ngroups == 0) { in main()
52 if (ngroups == 1 && in main()
58 for (i=0;i<ngroups;i++) { in main()
/dports/net/rpki-client/rpki-client-portable-7.6/openbsd/src/lib/libc/gen/
H A Dgetgrouplist.c92 for (i = 0; i < *ngroups; i++) in _parse_netid()
97 if (i == *ngroups) { in _parse_netid()
98 if (*ngroups >= maxgroups) in _parse_netid()
100 groups[(*ngroups)++] = gid; in _parse_netid()
159 if (ngroups >= maxgroups) { in getgrouplist()
160 *grpcnt = ngroups; in getgrouplist()
163 groups[ngroups++] = agroup; in getgrouplist()
196 if (ngroups >= maxgroups) { in getgrouplist()
200 groups[ngroups++] = grp->gr_gid; in getgrouplist()
226 groups, &ngroups, maxgroups)) { in getgrouplist()
[all …]
/dports/ftp/tnftpd/tnftpd-20200704/libnetbsd/
H A Dgetgrouplist.c43 int i, ngroups; local
47 ngroups = 0;
53 if (ngroups < maxgroups)
54 groups[ngroups] = agroup;
57 ngroups++;
69 for (i = 0; i < MIN(ngroups, maxgroups); i++) {
73 if (ngroups < maxgroups)
74 groups[ngroups] = grp->gr_gid;
77 ngroups++;
83 *grpcnt = ngroups;
/dports/devel/concurrencykit/ck-0.6.0/regressions/ck_barrier/validate/
H A Dbarrier_combining.c54 static int ngroups; variable
69 while (ck_pr_load_int(&barrier_wait) != (nthr * ngroups)) in thread()
77 if (counter != nthr * ngroups * (j / ENTRIES + 1)) { in thread()
78 ck_error("FAILED [%d:%d]: %d != %d\n", i, j - 1, counter, nthr * ngroups); in thread()
103 ngroups = atoi(argv[1]); in main()
104 if (ngroups <= 0) { in main()
113 groupings = malloc(sizeof(ck_barrier_combining_group_t) * ngroups); in main()
118 threads = malloc(sizeof(pthread_t) * nthr * ngroups); in main()
125 for (i = 0; i < ngroups; i++) in main()
129 for (i = 0; i < (nthr * ngroups); i++) { in main()
[all …]

12345678910>>...127