/macosx-10.10/OpenSSH-189/openssh/openbsd-compat/ |
H A D | getgrouplist.c | 43 #include <grp.h> 48 struct group *grp; local 70 while ((grp = getgrent())) { 71 if (grp->gr_gid == agroup) 74 if (groups[i] == grp->gr_gid) 78 for (i = 0; grp->gr_mem[i]; i++) { 79 if (!strcmp(grp->gr_mem[i], uname)) { 84 groups[ngroups++] = grp->gr_gid;
|
/macosx-10.10/pam_modules-140/modules/pam_group/ |
H A D | pam_group.c | 41 #include <grp.h> 70 struct group *grp; local 105 if ((grp = getgrnam(p)) == NULL || grp->gr_mem == NULL) 109 if (*grp->gr_mem == NULL) 117 if (mbr_gid_to_uuid(grp->gr_gid, g_uuid) != 0) 129 if ((grp = getgrnam(group)) == NULL || grp->gr_mem == NULL) { 135 if (*grp->gr_mem == NULL) { 141 if (pwd->pw_gid == grp [all...] |
/macosx-10.10/OpenSSH-189/openssh/ |
H A D | jpake.c | 84 ret->grp = jpake_default_group(); 199 jpake_step1(struct modp_group *grp, argument 221 if ((*priv1 = bn_rand_range_gt_one(grp->q)) == NULL || 222 (*priv2 = bn_rand_range_gt_one(grp->q)) == NULL) 232 if (BN_mod_exp(*g_priv1, grp->g, *priv1, grp->p, bn_ctx) == -1) 234 if (BN_mod_exp(*g_priv2, grp->g, *priv2, grp->p, bn_ctx) == -1) 238 if (schnorr_sign_buf(grp->p, grp 252 jpake_step2(struct modp_group *grp, BIGNUM *s, BIGNUM *mypub1, BIGNUM *theirpub1, BIGNUM *theirpub2, BIGNUM *mypriv2, const u_char *theirid, u_int theirid_len, const u_char *myid, u_int myid_len, const u_char *theirpub1_proof, u_int theirpub1_proof_len, const u_char *theirpub2_proof, u_int theirpub2_proof_len, BIGNUM **newpub, u_char **newpub_exponent_proof, u_int *newpub_exponent_proof_len) argument 355 jpake_key_confirm(struct modp_group *grp, BIGNUM *s, BIGNUM *step2_val, BIGNUM *mypriv2, BIGNUM *mypub1, BIGNUM *mypub2, BIGNUM *theirpub1, BIGNUM *theirpub2, const u_char *my_id, u_int my_id_len, const u_char *their_id, u_int their_id_len, const u_char *sess_id, u_int sess_id_len, const u_char *theirpriv2_s_proof, u_int theirpriv2_s_proof_len, BIGNUM **k, u_char **confirm_hash, u_int *confirm_hash_len) argument [all...] |
H A D | schnorr.c | 567 modp_group_free(struct modp_group *grp) argument 569 if (grp->g != NULL) 570 BN_clear_free(grp->g); 571 if (grp->p != NULL) 572 BN_clear_free(grp->p); 573 if (grp->q != NULL) 574 BN_clear_free(grp->q); 575 bzero(grp, sizeof(*grp)); 576 xfree(grp); 620 struct modp_group *grp; local [all...] |
/macosx-10.10/apr-32/apr/apr/user/unix/ |
H A D | groupinfo.c | 22 #include <grp.h> 39 struct group grp; local 44 rv = getgrgid_r(groupid, &grp, grbuf, sizeof(grbuf), &gr); 67 struct group grp; local 72 rv = getgrnam_r(groupname, &grp, grbuf, sizeof(grbuf), &gr);
|
/macosx-10.10/xnu-2782.1.97/tools/tests/libMicro/apple/ |
H A D | getgrent.c | 39 #include <grp.h> 117 struct group *grp; local 125 grp = getgrent(); 127 if (!grp) { 138 debug("gr_name: %s", grp->gr_name);
|
H A D | getgrgid.c | 40 #include <grp.h> 166 struct group *grp = NULL; local 192 grp = getgrgid( gid ); 194 if (!grp) {
|
H A D | getgrnam.c | 39 #include <grp.h> 163 struct group *grp = NULL; local 193 grp = getgrnam( &grpname_list[index] ); 195 if (!grp) {
|
/macosx-10.10/apr-32/apr/apr/user/netware/ |
H A D | groupinfo.c | 22 #include <grp.h>
|
/macosx-10.10/bash-94.1.2/bash-3.2/examples/loadables/ |
H A D | id.c | 16 #include <grp.h> 173 struct group *grp = NULL; local 179 grp = getgrgid (gid); 180 if (grp == NULL) 184 if (grp) 185 printf ("%s", grp->gr_name); 232 struct group *grp; local 243 grp = getgrgid (rgid); 244 if (grp == NULL) 247 printf ("(%s)", grp [all...] |
/macosx-10.10/remote_cmds-47/revnetgroup.tproj/ |
H A D | parse_netgroup.c | 186 struct netgrp *grp; local 217 grp = (struct netgrp *)malloc(sizeof (struct netgrp)); 218 bzero((char *)grp, sizeof (struct netgrp)); 219 grp->ng_next = grouphead.gr; 220 grouphead.gr = grp; 239 grp->ng_str[strpos] = (char *) 241 bcopy(spos, grp->ng_str[strpos], 251 grp->ng_str[strpos] = NULL; 263 grp->ng_str[NG_HOST] == NULL ? "" : grp [all...] |
/macosx-10.10/xnu-2782.1.97/bsd/kern/ |
H A D | vm_pressure.h | 35 void vm_pressure_init(lck_grp_t *grp, lck_attr_t *attr);
|
/macosx-10.10/OpenLDAP-499.27/OpenLDAP/servers/slapd/ |
H A D | user.c | 30 #include <grp.h> 96 struct group *grp; local 108 grp = getgrgid( gid ); 112 grp = getgrnam( group ); 113 if ( grp != NULL ) 114 gid = grp->gr_gid; 116 if ( grp == NULL ) {
|
/macosx-10.10/postfix-255/postfix/src/util/ |
H A D | dict_unix.c | 47 #include <grp.h> 109 struct group *grp; local 125 if ((grp = getgrnam(key)) == 0) { 140 grp->gr_name, grp->gr_passwd, (long) grp->gr_gid); 141 for (cpp = grp->gr_mem; *cpp; cpp++) {
|
H A D | set_eugid.c | 44 #include <grp.h>
|
H A D | set_ugid.c | 35 #include <grp.h>
|
H A D | chroot_uid.c | 34 #include <grp.h>
|
/macosx-10.10/ksh-23/ksh/src/lib/libcmd/ |
H A D | id.c | 66 #include <grp.h> 197 register struct group* grp; local 289 gname = (grp = getgrgid(group)) ? grp->gr_name : (char*)0; 308 while (grp = getgrent()) 309 if (p = grp->gr_mem) 318 sfprintf(sp, "%s", grp->gr_name); 319 else sfprintf(sp, "%u(%s)", grp->gr_gid, grp->gr_name); 334 putid(sp, flags, " egid", (grp [all...] |
/macosx-10.10/cxxfilt-11/cxxfilt/opcodes/ |
H A D | maxq-dis.c | 304 group_info grp) 337 if ((grp.flag & BIT_NO) == BIT_NO) 338 info->fprintf_func (info->stream, ".%d", grp.bit_no); 361 /* && condition with sec part added on 26 May for resolving 2 & 3 grp 560 group_info grp; local 579 get_insn_opcode (((insn[0] << 8) | (insn[1])), &grp); 581 get_insn_opcode (((insn[1] << 8) | (insn[0])), &grp); 583 derived_code = ((grp.group_no << 4) | grp.sub_opcode); 598 if ((grp 302 maxq_print_arg(MAX_ARG_TYPE arg, struct disassemble_info * info, group_info grp) argument [all...] |
/macosx-10.10/xnu-2782.1.97/osfmk/kern/ |
H A D | locks.h | 161 lck_grp_t *grp, 166 lck_grp_t *grp); 169 lck_grp_t *grp); 172 lck_grp_t *grp, 176 lck_grp_t *grp, 183 lck_grp_t *grp); 230 lck_grp_t *grp, 235 lck_grp_t *grp, 246 lck_grp_t *grp); 250 lck_grp_t *grp); [all...] |
/macosx-10.10/system_cmds-643.1.1/newgrp.tproj/ |
H A D | newgrp.c | 38 #include <grp.h> 159 struct group *grp; local 172 if ((grp = getgrnam(grpname)) == NULL) 174 (grp = getgrgid((gid_t)lgid)) == NULL ) { 184 status = mbr_gid_to_uuid(grp->gr_gid, group_uuid); 197 if (pwd->pw_gid == grp->gr_gid) 199 for (p = grp->gr_mem; *p != NULL; p++) 206 grp_passwd = grp->gr_passwd; 227 if (grp->gr_gid != egid && inarray(grp [all...] |
/macosx-10.10/ruby-106/ruby/ext/etc/ |
H A D | etc.c | 23 #include <grp.h> 349 setup_group(struct group *grp) argument 355 tbl = grp->gr_mem; 361 safe_setup_str(grp->gr_name), 363 safe_setup_str(grp->gr_passwd), 365 GIDT2NUM(grp->gr_gid), 392 struct group *grp; local 401 grp = getgrgid(gid); 402 if (grp == 0) rb_raise(rb_eArgError, "can't find group for %d", (int)gid); 403 return setup_group(grp); 429 struct group *grp; local 495 struct group *grp; local [all...] |
/macosx-10.10/xnu-2782.1.97/bsd/net/pktsched/ |
H A D | pktsched_qfq.c | 272 struct qfq_group *grp = qif->qif_groups[i]; local 274 if (grp != NULL) { 275 VERIFY(grp->qfg_slots != NULL); 276 _FREE(grp->qfg_slots, M_DEVBUF); 277 grp->qfg_slots = NULL; 278 _FREE(grp, M_DEVBUF); 423 struct qfq_group *grp; local 525 grp = qif->qif_groups[i]; 526 if (grp == NULL) { 527 grp 734 qfq_calc_state(struct qfq_if *qif, struct qfq_group *grp) argument 811 qfq_slot_insert(struct qfq_if *qif, struct qfq_group *grp, struct qfq_class *cl, u_int64_t roundedS) argument 826 qfq_front_slot_remove(struct qfq_group *grp) argument 841 qfq_slot_scan(struct qfq_if *qif, struct qfq_group *grp) argument 873 qfq_slot_rotate(struct qfq_if *qif, struct qfq_group *grp, u_int64_t roundedS) argument 890 struct qfq_group *grp; local 903 qfq_update_class(struct qfq_if *qif, struct qfq_group *grp, struct qfq_class *cl) argument 937 struct qfq_group *grp; local 1076 struct qfq_group *grp; local 1188 qfq_slot_remove(struct qfq_if *qif, struct qfq_group *grp, struct qfq_class *cl) argument 1220 struct qfq_group *grp = cl->cl_grp; local [all...] |
/macosx-10.10/procmail-14/procmail/src/ |
H A D | recommend.c | 16 { struct group*grp;struct stat stbuf;gid_t gid=(gid_t)-1; local 41 if(grp=getgrgid(gid)) 42 printf("chgrp %s %s %s\n",grp->gr_name,argv[1],argv[2]);
|
/macosx-10.10/NFS-82/nfsd/ |
H A D | mountd.c | 90 #include <grp.h> 1086 struct grouplist *grp; local 1144 grp = hp->ht_grp; 1145 switch (grp->gr_type) { 1151 strp = grp_name(grp); 1988 struct grouplist ngrp, *grp, *tgrp, tmpgrp; local 2206 if (!tmpgrp.gr_u.gt_netgroup || !(grp = get_grp(&tmpgrp))) { 2212 } else if (!add_grp(&tgrp, grp)) { 2214 free_grp(grp); 2252 grp 2923 grp_name(struct grouplist *grp) argument 2939 grp_addr(struct grouplist *grp) argument 3131 free_grp(struct grouplist *grp) argument 3479 find_group_match_in_host_list(struct hosttqh *head, struct grouplist *grp) argument 3493 find_group_address_match_in_host_list(struct hosttqh *head, struct grouplist *grp) argument 3578 hang_options_setup(struct expdir *xd, int opt_flags, struct xucred *cr, struct grouplist *grp, struct nfs_sec *secflavs, int *need_export) argument 3751 hang_options_mountdir(struct expdir *xd, char *dir, int opt_flags, struct grouplist *grp, struct nfs_sec *secflavs) argument 3971 struct grouplist *grp; local 4213 get_host_addresses(char *cp, struct grouplist *grp) argument 4326 struct grouplist *grp; local [all...] |