/illumos-gate/usr/src/lib/libbc/inc/include/ |
H A D | grp.h | 29 struct group { /* see getgrent(3) */ struct 37 struct group *getgrent(); 40 struct group *getgrgid(/* gid_t gid */); 41 struct group *getgrnam(/* char *name */);
|
/illumos-gate/usr/src/head/ |
H A D | grp.h | 48 struct group { /* see getgrent(3C) */ struct 55 extern struct group *getgrgid(gid_t); /* MT-unsafe */ 56 extern struct group *getgrnam(const char *); /* MT-unsafe */ 59 extern struct group *getgrent_r(struct group *, char *, int); 60 extern struct group *fgetgrent_r(FILE *, struct group *, char *, int); 63 extern struct group *fgetgrent(FILE *); /* MT-unsafe */ 70 extern struct group *getgrent(void); /* MT-unsafe */ 117 extern int getgrgid_r(gid_t, struct group *, cha [all...] |
/illumos-gate/usr/src/common/crypto/ecc/ |
H A D | ecl.c | 63 ECGroup *group; local 65 group = (ECGroup *) kmem_alloc(sizeof(ECGroup), kmflag); 67 group = (ECGroup *) malloc(sizeof(ECGroup)); 69 if (group == NULL) 71 group->constructed = MP_YES; 72 group->meth = NULL; 73 group->text = NULL; 74 MP_DIGITS(&group->curvea) = 0; 75 MP_DIGITS(&group->curveb) = 0; 76 MP_DIGITS(&group 106 ECGroup *group = NULL; local 147 ECGroup *group = NULL; local 192 ECGroup *group = NULL; local 234 ECGroup *group = NULL; local 395 ECGroup *group = NULL; local 422 ECPoint_validate(const ECGroup *group, const mp_int *px, const mp_int *py) argument 438 ECGroup_free(ECGroup *group) argument [all...] |
H A D | ec2_mont.c | 62 gf2m_Mdouble(mp_int *x, mp_int *z, const ECGroup *group, int kmflag) argument 70 MP_CHECKOK(group->meth->field_sqr(x, x, group->meth)); 71 MP_CHECKOK(group->meth->field_sqr(z, &t1, group->meth)); 72 MP_CHECKOK(group->meth->field_mul(x, &t1, z, group->meth)); 73 MP_CHECKOK(group->meth->field_sqr(x, x, group->meth)); 74 MP_CHECKOK(group 89 gf2m_Madd(const mp_int *x, mp_int *x1, mp_int *z1, mp_int *x2, mp_int *z2, const ECGroup *group, int kmflag) argument 121 gf2m_Mxy(const mp_int *x, const mp_int *y, mp_int *x1, mp_int *z1, mp_int *x2, mp_int *z2, const ECGroup *group) argument 195 ec_GF2m_pt_mul_mont(const mp_int *n, const mp_int *px, const mp_int *py, mp_int *rx, mp_int *ry, const ECGroup *group) argument [all...] |
H A D | ecp_jm.c | 66 mp_int *raz4, mp_int scratch[], const ECGroup *group) 89 MP_CHECKOK(group->meth->field_sqr(px, t0, group->meth)); 90 MP_CHECKOK(group->meth->field_add(t0, t0, M, group->meth)); 91 MP_CHECKOK(group->meth->field_add(t0, M, t0, group->meth)); 92 MP_CHECKOK(group->meth->field_add(t0, paz4, M, group->meth)); 95 MP_CHECKOK(group 64 ec_GFp_pt_dbl_jm(const mp_int *px, const mp_int *py, const mp_int *pz, const mp_int *paz4, mp_int *rx, mp_int *ry, mp_int *rz, mp_int *raz4, mp_int scratch[], const ECGroup *group) argument 134 ec_GFp_pt_add_jm_aff(const mp_int *px, const mp_int *py, const mp_int *pz, const mp_int *paz4, const mp_int *qx, const mp_int *qy, mp_int *rx, mp_int *ry, mp_int *rz, mp_int *raz4, mp_int scratch[], const ECGroup *group) argument 224 ec_GFp_pt_mul_jm_wNAF(const mp_int *n, const mp_int *px, const mp_int *py, mp_int *rx, mp_int *ry, const ECGroup *group) argument [all...] |
H A D | ecl_mult.c | 57 * of the group of points on the elliptic curve. Input and output values 60 ECPoint_mul(const ECGroup *group, const mp_int *k, const mp_int *px, argument 66 ARGCHK((k != NULL) && (group != NULL), MP_BADARG); 69 /* want scalar to be less than or equal to group order */ 70 if (mp_cmp(k, &group->order) > 0) { 72 MP_CHECKOK(mp_mod(k, &group->order, &kt)); 81 if (group->base_point_mul) { 82 MP_CHECKOK(group->base_point_mul(&kt, rx, ry, group)); 84 MP_CHECKOK(group 114 ec_pts_mul_basic(const mp_int *k1, const mp_int *k2, const mp_int *px, const mp_int *py, mp_int *rx, mp_int *ry, const ECGroup *group) argument 169 ec_pts_mul_simul_w2(const mp_int *k1, const mp_int *k2, const mp_int *px, const mp_int *py, mp_int *rx, mp_int *ry, const ECGroup *group) argument 319 ECPoints_mul(const ECGroup *group, const mp_int *k1, const mp_int *k2, const mp_int *px, const mp_int *py, mp_int *rx, mp_int *ry) argument [all...] |
H A D | ec2_aff.c | 81 const ECGroup *group) 109 MP_CHECKOK(group->meth->field_add(py, qy, &tempy, group->meth)); 110 MP_CHECKOK(group->meth->field_add(px, qx, &tempx, group->meth)); 111 MP_CHECKOK(group->meth-> 112 field_div(&tempy, &tempx, &lambda, group->meth)); 113 MP_CHECKOK(group->meth->field_sqr(&lambda, &tempx, group->meth)); 114 MP_CHECKOK(group 79 ec_GF2m_pt_add_aff(const mp_int *px, const mp_int *py, const mp_int *qx, const mp_int *qy, mp_int *rx, mp_int *ry, const ECGroup *group) argument 161 ec_GF2m_pt_sub_aff(const mp_int *px, const mp_int *py, const mp_int *qx, const mp_int *qy, mp_int *rx, mp_int *ry, const ECGroup *group) argument 181 ec_GF2m_pt_dbl_aff(const mp_int *px, const mp_int *py, mp_int *rx, mp_int *ry, const ECGroup *group) argument 192 ec_GF2m_pt_mul_aff(const mp_int *n, const mp_int *px, const mp_int *py, mp_int *rx, mp_int *ry, const ECGroup *group) argument 285 ec_GF2m_validate_point(const mp_int *px, const mp_int *py, const ECGroup *group) argument [all...] |
H A D | ecp_aff.c | 87 const ECGroup *group) 116 MP_CHECKOK(group->meth->field_sub(py, qy, &tempy, group->meth)); 117 MP_CHECKOK(group->meth->field_sub(px, qx, &tempx, group->meth)); 118 MP_CHECKOK(group->meth-> 119 field_div(&tempy, &tempx, &lambda, group->meth)); 129 MP_CHECKOK(group->meth->field_sqr(qx, &tempx, group->meth)); 131 if (group 85 ec_GFp_pt_add_aff(const mp_int *px, const mp_int *py, const mp_int *qx, const mp_int *qy, mp_int *rx, mp_int *ry, const ECGroup *group) argument 171 ec_GFp_pt_sub_aff(const mp_int *px, const mp_int *py, const mp_int *qx, const mp_int *qy, mp_int *rx, mp_int *ry, const ECGroup *group) argument 192 ec_GFp_pt_dbl_aff(const mp_int *px, const mp_int *py, mp_int *rx, mp_int *ry, const ECGroup *group) argument 205 ec_GFp_pt_mul_aff(const mp_int *n, const mp_int *px, const mp_int *py, mp_int *rx, mp_int *ry, const ECGroup *group) argument 298 ec_GFp_validate_point(const mp_int *px, const mp_int *py, const ECGroup *group) argument [all...] |
H A D | ecp_jac.c | 67 mp_int *ry, mp_int *rz, const ECGroup *group) 77 if (group->meth->field_enc) { 78 MP_CHECKOK(group->meth->field_enc(rz, rz, group->meth)); 91 mp_int *rx, mp_int *ry, const ECGroup *group) 114 MP_CHECKOK(group->meth->field_div(NULL, pz, &z1, group->meth)); 115 MP_CHECKOK(group->meth->field_sqr(&z1, &z2, group->meth)); 116 MP_CHECKOK(group 66 ec_GFp_pt_aff2jac(const mp_int *px, const mp_int *py, mp_int *rx, mp_int *ry, mp_int *rz, const ECGroup *group) argument 90 ec_GFp_pt_jac2aff(const mp_int *px, const mp_int *py, const mp_int *pz, mp_int *rx, mp_int *ry, const ECGroup *group) argument 153 ec_GFp_pt_add_jac_aff(const mp_int *px, const mp_int *py, const mp_int *pz, const mp_int *qx, const mp_int *qy, mp_int *rx, mp_int *ry, mp_int *rz, const ECGroup *group) argument 242 ec_GFp_pt_dbl_jac(const mp_int *px, const mp_int *py, const mp_int *pz, mp_int *rx, mp_int *ry, mp_int *rz, const ECGroup *group) argument 335 ec_GFp_pt_mul_jac(const mp_int *n, const mp_int *px, const mp_int *py, mp_int *rx, mp_int *ry, const ECGroup *group) argument 416 ec_GFp_pts_mul_jac(const mp_int *k1, const mp_int *k2, const mp_int *px, const mp_int *py, mp_int *rx, mp_int *ry, const ECGroup *group) argument [all...] |
H A D | ecp_test.c | 119 ECGroup_free(group); \ 120 group = ECGroup_fromHex(params, KM_SLEEP); \ 121 if (group == NULL) { \ 122 printf(" Error: could not construct group.\n"); \ 126 MP_CHECKOK( ectest_curve_GFp(group, ectestPrint, ectestTime, 1, KM_SLEEP) ); \ 132 ECGroup_free(group); \ 133 group = ECGroup_fromName(name, KM_SLEEP); \ 134 if (group == NULL) { \ 135 printf(" Warning: could not construct group.\n"); \ 138 MP_CHECKOK( ectest_curve_GFp(group, ectestPrin 146 ectest_curve_GFp(ECGroup *group, int ectestPrint, int ectestTime, int generic, int kmflag) argument 430 ECGroup *group = NULL; local [all...] |
H A D | ec2_test.c | 120 ECGroup_free(group); \ 121 group = ECGroup_fromHex(params, KM_SLEEP); \ 122 if (group == NULL) { \ 123 printf(" Error: could not construct group.\n"); \ 127 MP_CHECKOK( ectest_curve_GF2m(group, ectestPrint, ectestTime, 1, KM_SLEEP) ); \ 133 ECGroup_free(group); \ 134 group = ECGroup_fromName(name, KM_SLEEP); \ 135 if (group == NULL) { \ 136 printf(" Warning: could not construct group.\n"); \ 139 MP_CHECKOK( ectest_curve_GF2m(group, ectestPrin 147 ectest_curve_GF2m(ECGroup *group, int ectestPrint, int ectestTime, int generic, int kmflag) argument 467 ECGroup *group = NULL; local [all...] |
H A D | ecp.h | 62 mp_int *ry, const ECGroup *group); 67 mp_int *ry, const ECGroup *group); 71 mp_int *ry, const ECGroup *group); 74 mp_err ec_GFp_validate_point(const mp_int *px, const mp_int *py, const ECGroup *group); 82 const ECGroup *group); 88 mp_int *ry, mp_int *rz, const ECGroup *group); 94 const ECGroup *group); 110 mp_int *rz, const ECGroup *group); 115 mp_int *rz, const ECGroup *group); 123 const ECGroup *group); [all...] |
/illumos-gate/usr/src/lib/libbc/inc/5include/ |
H A D | grp.h | 37 struct group { /* see getgrent(3) */ struct 51 struct group *getgrent(); 54 struct group *getgrgid(/* gid_t gid */); 55 struct group *getgrnam(/* char *name */);
|
/illumos-gate/usr/src/cmd/oamuser/group/ |
H A D | groupdel.c | 39 * groupdel group 43 * group - a character string group name 54 char *group; /* group name from command line */ local 62 group = argv[1]; 64 switch (retval = del_group(group)) { 69 errmsg(M_NO_GROUP, group);
|
/illumos-gate/usr/src/cmd/make/lib/vroot/ |
H A D | chown.cc | 30 extern int chown(const char *path, uid_t owner, gid_t group); 37 vroot_result= chown(path, vroot_args.chown.user, vroot_args.chown.group); 41 int chown_vroot(char *path, int user, int group, pathpt vroot_path, pathpt vroot_vroot) argument 44 vroot_args.chown.group= group;
|
/illumos-gate/usr/src/cmd/oamuser/lib/ |
H A D | vgname.c | 42 * validate string given as group name. 45 valid_gname(char *group, struct group **gptr, int *warning) argument 47 struct group *t_gptr; 48 char *ptr = group; 54 if (!group || !*group) 74 if ((t_gptr = getgrnam(group)) != NULL) {
|
H A D | vgroup.c | 45 extern int valid_gid(gid_t, struct group **); 50 * validate a group name or number and return the appropriate 51 * group structure for it. 54 valid_group(char *group, struct group **gptr, int *warning) argument 59 struct group *grp; 63 if (!isalldigit(group)) 64 return (valid_gname(group, gptr, warning)); 67 * There are only digits in group name. 71 l = strtol(group, [all...] |
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/ents/devtree/ |
H A D | picl_asr.conf | 32 dimm0 memory-module-group unused /memory-controller@0,0/memory-module-group I?ID=0 33 dimm0 memory-module disabled /memory-controller@0,0/memory-module-group?ID=0/memory-module I?ID=0 34 dimm0 memory-module unused /memory-controller@0,0/memory-module-group?ID=0/memory-module I?ID=1 35 dimm1 memory-module-group unused /memory-controller@0,0/memory-module-group I?ID=0 36 dimm1 memory-module unused /memory-controller@0,0/memory-module-group?ID=0/memory-module I?ID=0 37 dimm1 memory-module disabled /memory-controller@0,0/memory-module-group?ID=0/memory-module I?ID=1 38 dimm2 memory-module-group unused /memory-controller@0,0/memory-module-group [all...] |
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/mpxu/devtree/ |
H A D | picl_asr.conf | 32 dimm0 memory-module-group unused /memory-controller@0,0/memory-module-group I?ID=0 33 dimm0 memory-module disabled /memory-controller@0,0/memory-module-group?ID=0/memory-module I?ID=0 34 dimm0 memory-module unused /memory-controller@0,0/memory-module-group?ID=0/memory-module I?ID=1 35 dimm1 memory-module-group unused /memory-controller@0,0/memory-module-group I?ID=0 36 dimm1 memory-module unused /memory-controller@0,0/memory-module-group?ID=0/memory-module I?ID=0 37 dimm1 memory-module disabled /memory-controller@0,0/memory-module-group?ID=0/memory-module I?ID=1 38 dimm2 memory-module-group unused /memory-controller@0,0/memory-module-group [all...] |
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | group.c | 30 * Display group information and walk all elements of a group 33 #include "group.h" 36 #include <sys/group.h> 39 * Display group information 44 group(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv) function 46 group_t group; local 69 if (mdb_vread(&group, sizeof (struct group), addr) == -1) { 70 mdb_warn("unable to read 'group' a 105 group_t group; local [all...] |
/illumos-gate/usr/src/test/zfs-tests/tests/functional/userquota/ |
H A D | userquota_006_pos.ksh | 37 # Check the invalid parameter of zfs get user|group quota 41 # 1. check the invalid zfs get user|group quota to fs 42 # 2. check the valid zfs get user|group quota to snapshots 56 log_assert "Check the invalid parameter of zfs get user|group quota" 69 for group in "${no_groups[@]}"; do 70 log_mustnot eval "groupdel $group > /dev/null 2>&1" 71 log_must eval "zfs get groupquota@$group $QFS >/dev/null 2>&1" 72 log_must eval "zfs get groupquota@$group $snap_fs >/dev/null 2>&1" 75 log_pass "Check the invalid parameter of zfs get user|group quota pass as expect"
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/boston/devtree/ |
H A D | picl_asr.conf | 68 cpu0-bank0 memory-module-group unused /memory-controller@0,0/memory-module-group I?ID=0 69 cpu0-bank0 memory-module disabled /memory-controller@0,0/memory-module-group?ID=0/memory-module I?ID=0 70 cpu0-bank0 memory-module unused /memory-controller@0,0/memory-module-group?ID=0/memory-module I?ID=1 71 cpu0-bank1 memory-module-group unused /memory-controller@0,0/memory-module-group I?ID=0 72 cpu0-bank1 memory-module unused /memory-controller@0,0/memory-module-group?ID=0/memory-module I?ID=0 73 cpu0-bank1 memory-module disabled /memory-controller@0,0/memory-module-group?ID=0/memory-module I?ID=1 75 cpu0-bank2 memory-module-group unused /memory-controller@0,0/memory-module-group [all...] |
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | getgrnam_r.c | 61 struct group * 62 _uncached_getgrnam_r(const char *name, struct group *result, char *buffer, 65 struct group * 66 _uncached_getgrgid_r(gid_t gid, struct group *result, char *buffer, int buflen); 72 struct group * 73 getgrnam_r(const char *name, struct group *result, char *buffer, int buflen) 85 return ((struct group *)NSS_XbyY_FINI(&arg)); 92 struct group * 93 getgrgid_r(gid_t gid, struct group *result, char *buffer, int buflen) 101 return ((struct group *)NSS_XbyY_FIN 317 struct group *group = (struct group *)ent; local [all...] |
/illumos-gate/usr/src/cmd/ypcmd/revnetgroup/ |
H A D | getgroup.c | 59 static struct grouplist *grouplist; /* stores a list of users in a group */ 87 my_getgroup(group) 88 char *group; 91 doit(group, (struct list *) NULL); 100 * recursive function to find the members of netgroup "group". "list" is 104 doit(group, list) 105 char *group; 118 if ((val = match(group)) == NULL) { 127 if (strcmp(ls->name, group) == 0) { 130 group); [all...] |
/illumos-gate/usr/src/cmd/ipf/examples/ |
H A D | BASIC_1.FW | 25 block in log proto tcp all flags S/SA head 101 group 100 28 block in log proto tcp all flags S/SA head 201 group 200 29 block in log proto udp all head 202 group 200 36 block in log quick from 127.0.0.0/8 to any group 100 37 block in log quick from any to 127.0.0.0/8 group 100 38 block in log quick from 127.0.0.0/8 to any group 200 39 block in log quick from any to 127.0.0.0/8 group 200 49 block in log quick from 10.0.0.0/8 to any group 100 50 block in log quick from 192.168.0.0/16 to any group 100 51 block in log quick from 172.16.0.0/12 to any group 10 [all...] |