| /onnv-gate/usr/src/lib/libnsl/rpc/ |
| H A D | auth_des.c | 133 struct ad_private *ad; in authdes_pk_seccreate() local 144 ad = malloc(sizeof (struct ad_private)); in authdes_pk_seccreate() 145 if (ad == NULL) { in authdes_pk_seccreate() 149 ad->ad_fullname = ad->ad_servername = NULL; /* Sanity reasons */ in authdes_pk_seccreate() 150 ad->ad_timehost = NULL; in authdes_pk_seccreate() 151 ad->ad_netid = NULL; in authdes_pk_seccreate() 152 ad->ad_uaddr = NULL; in authdes_pk_seccreate() 153 ad->ad_nis_srvr = NULL; in authdes_pk_seccreate() 154 ad->ad_timediff.tv_sec = 0; in authdes_pk_seccreate() 155 ad->ad_timediff.tv_usec = 0; in authdes_pk_seccreate() [all …]
|
| /onnv-gate/usr/src/uts/common/rpc/sec/ |
| H A D | auth_des.c | 112 struct ad_private *ad; in authdes_create() local 126 ad = ALLOC(struct ad_private); in authdes_create() 127 bzero(ad, sizeof (struct ad_private)); in authdes_create() 135 ad->ad_fullnamelen = (uint_t)RNDUP(strlen(namebuf)); in authdes_create() 136 ad->ad_fullname = mem_alloc(ad->ad_fullnamelen + 1); in authdes_create() 138 ad->ad_servernamelen = (uint_t)strlen(servername); in authdes_create() 139 ad->ad_servername = mem_alloc(ad->ad_servernamelen + 1); in authdes_create() 141 if (auth == NULL || ad == NULL || ad->ad_fullname == NULL || in authdes_create() 142 ad->ad_servername == NULL) { in authdes_create() 151 bcopy(namebuf, ad->ad_fullname, ad->ad_fullnamelen + 1); in authdes_create() [all …]
|
| /onnv-gate/usr/src/lib/libbsm/common/ |
| H A D | audit_allocate.c | 41 static int ad; /* audit descriptor */ variable 70 ad = au_open(); 73 (void) au_write(ad, au_to_text(argv[i])); 83 (void) au_write(ad, au_to_path(path)); 126 (void) au_write(ad, au_to_me()); /* add subject token */ 128 (void) au_write(ad, au_to_mylabel()); 137 (void) au_close(ad, 0, 0); 142 (void) au_write(ad, au_to_newgroups(ng, grplst)); 146 (void) au_write(ad, au_to_exit(status, -1)); 148 (void) au_write(ad, au_to_exit(0, 0)); [all …]
|
| H A D | generic.c | 399 int ad; in aug_audit() local 413 if ((ad = au_open()) == -1) { in aug_audit() 417 (void) au_write(ad, au_to_subject_ex(aug_auid, aug_euid, aug_egid, in aug_audit() 420 (void) au_write(ad, au_to_mylabel()); in aug_audit() 427 (void) au_write(ad, au_to_newgroups(ng, grplst)); in aug_audit() 431 (void) au_write(ad, au_to_text(aug_text)); in aug_audit() 434 (void) au_write(ad, au_to_text(aug_text1)); in aug_audit() 437 (void) au_write(ad, au_to_text(aug_text2)); in aug_audit() 440 (void) au_write(ad, au_to_path(aug_path)); in aug_audit() 443 (*aug_afunc)(ad); in aug_audit() [all …]
|
| /onnv-gate/usr/src/common/openssl/crypto/ |
| H A D | ex_data.c | 161 CRYPTO_EX_DATA *ad); 167 CRYPTO_EX_DATA *ad); 184 CRYPTO_EX_DATA *ad); 188 CRYPTO_EX_DATA *ad); 399 CRYPTO_EX_DATA *ad) in int_new_ex_data() argument 408 ad->sk = NULL; in int_new_ex_data() 430 ptr = CRYPTO_get_ex_data(ad, i); in int_new_ex_data() 431 storage[i]->new_func(obj,ptr,ad,i, in int_new_ex_data() 488 CRYPTO_EX_DATA *ad) in int_free_ex_data() argument 517 ptr = CRYPTO_get_ex_data(ad,i); in int_free_ex_data() [all …]
|
| H A D | crypto.h | 160 typedef int CRYPTO_EX_new(void *parent, void *ptr, CRYPTO_EX_DATA *ad, 163 typedef void CRYPTO_EX_free(void *parent, void *ptr, CRYPTO_EX_DATA *ad, 399 int CRYPTO_new_ex_data(int class_index, void *obj, CRYPTO_EX_DATA *ad); 402 void CRYPTO_free_ex_data(int class_index, void *obj, CRYPTO_EX_DATA *ad); 405 int CRYPTO_set_ex_data(CRYPTO_EX_DATA *ad, int idx, void *val); 406 void *CRYPTO_get_ex_data(const CRYPTO_EX_DATA *ad,int idx);
|
| /onnv-gate/usr/src/lib/libadutils/common/ |
| H A D | adutils.c | 57 static void delete_ds(adutils_ad_t *ad, const char *host, int port); 500 adutils_ad_t *ad; in adutils_ad_alloc() local 504 if ((ad = calloc(1, sizeof (*ad))) == NULL) in adutils_ad_alloc() 506 ad->ref = 1; in adutils_ad_alloc() 507 ad->partition = part; in adutils_ad_alloc() 514 ad->basedn = adutils_dns2dn(domain_name); in adutils_ad_alloc() 517 ad->basedn = strdup(""); in adutils_ad_alloc() 519 if (ad->basedn == NULL) in adutils_ad_alloc() 522 if (pthread_mutex_init(&ad->lock, NULL) != 0) in adutils_ad_alloc() 524 *new_ad = ad; in adutils_ad_alloc() [all …]
|
| H A D | libadutils.h | 150 extern void adutils_ad_free(adutils_ad_t **ad); 151 extern adutils_rc adutils_add_ds(adutils_ad_t *ad, 153 extern adutils_rc adutils_add_domain(adutils_ad_t *ad, 157 extern adutils_rc adutils_lookup(adutils_ad_t *ad, 174 extern adutils_rc adutils_lookup_batch_start(adutils_ad_t *ad,
|
| /onnv-gate/usr/src/cmd/smserverd/ |
| H A D | myaudit.c | 190 int ad; in audit_audit() local 204 if ((ad = au_open()) == -1) { in audit_audit() 208 (void) au_write(ad, au_to_subject_ex(door_dp->audit_auid, in audit_audit() 214 (void) au_write(ad, au_to_mylabel()); in audit_audit() 222 (void) au_write(ad, au_to_newgroups(ng, grplst)); in audit_audit() 226 (void) au_write(ad, au_to_text(door_dp->audit_text)); in audit_audit() 229 (void) au_write(ad, au_to_text(door_dp->audit_text1)); in audit_audit() 232 (void) au_write(ad, au_to_path(door_dp->audit_path)); in audit_audit() 235 (void) au_write(ad, au_to_return64((door_dp->audit_sorf == 0) ? 0 : -1, in audit_audit() 238 (void) au_write(ad, au_to_return32((door_dp->audit_sorf == 0) ? 0 : -1, in audit_audit() [all …]
|
| /onnv-gate/usr/src/lib/libc/i386/gen/ |
| H A D | _mul64.s | 36 / ad bd 39 / ac ad+bc bd 41 / We can ignore ac and top 32 bits of ad+bc: if <> 0, overflow happened. 51 mull 16(%ebp) / Multiply A.hi by B.lo (produces ad) 52 xchg %ecx,%eax / ecx = bottom half of ad. 56 addl %edx,%ecx / cx is ad 59 addl %ecx,%eax / Produce ad+bc
|
| /onnv-gate/usr/src/common/openssl/crypto/objects/ |
| H A D | obj_dat.c | 274 ADDED_OBJ ad,*adp; in OBJ_nid2obj() local 290 ad.type=ADDED_NID; in OBJ_nid2obj() 291 ad.obj= &ob; in OBJ_nid2obj() 293 adp=(ADDED_OBJ *)lh_retrieve(added,&ad); in OBJ_nid2obj() 306 ADDED_OBJ ad,*adp; in OBJ_nid2sn() local 322 ad.type=ADDED_NID; in OBJ_nid2sn() 323 ad.obj= &ob; in OBJ_nid2sn() 325 adp=(ADDED_OBJ *)lh_retrieve(added,&ad); in OBJ_nid2sn() 338 ADDED_OBJ ad,*adp; in OBJ_nid2ln() local 354 ad.type=ADDED_NID; in OBJ_nid2ln() [all …]
|
| /onnv-gate/usr/src/uts/common/c2/ |
| H A D | audit.c | 736 token_t *ad = NULL; in audit_closef() local 794 au_write((caddr_t *)&(ad), au_to_path(fad->fad_aupath)); in audit_closef() 797 au_write((caddr_t *)&(ad), au_to_arg64( in audit_closef() 800 au_write((caddr_t *)&(ad), au_to_arg32( in audit_closef() 806 au_write((caddr_t *)&(ad), au_to_attr(&attr)); in audit_closef() 807 audit_sec_attributes((caddr_t *)&(ad), vp); in audit_closef() 811 AUDIT_SETSUBJ((caddr_t *)&(ad), cr, ainfo, kctx); in audit_closef() 814 add_return_token((caddr_t *)&(ad), tad->tad_scid, 0, 0); in audit_closef() 827 au_close(kctx, (caddr_t *)&(ad), AU_OK | AU_DEFER, in audit_closef() 1573 add_return_token(caddr_t *ad, unsigned int scid, int err, int rval) in add_return_token() argument [all …]
|
| H A D | audit_syscalls.c | 124 token_t *m, *n, *s, *ad; in audit() local 163 m = n = s = ad = NULL; in audit() 184 au_write((caddr_t *)&(ad), s); in audit() 273 (void) au_append_rec(ad, m, AU_PACK); in audit() 285 (void) au_append_rec(ad, m, AU_LINK); in audit() 299 (void) au_append_rec(ad, au_to_trailer(length), AU_PACK); in audit()
|
| /onnv-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/ |
| H A D | rdisc.c | 78 struct icmp_ad ad; member 130 ntohs(p->ad.icmp_ad_life)); in trace_rdisc() 134 wp = &p->ad.icmp_ad_info[0].icmp_ad_addr; in trace_rdisc() 135 lim = &wp[(len - sizeof (p->ad)) / sizeof (*wp)]; in trace_rdisc() 136 for (i = 0; i < p->ad.icmp_ad_num && wp <= lim; i++) { in trace_rdisc() 139 wp += p->ad.icmp_ad_asize; in trace_rdisc() 1102 (void) memset(&u, 0, sizeof (u.ad)); in send_adv() 1104 u.ad.icmp_type = ICMP_ROUTERADVERT; in send_adv() 1105 u.ad.icmp_code = ICMP_ROUTERADVERT_COMMON; in send_adv() 1106 u.ad.icmp_ad_num = 1; in send_adv() [all …]
|
| /onnv-gate/usr/src/lib/libipp/ |
| H A D | libipp.c | 406 array_desc_t ad; in ipp_list_mods() local 438 ad.name = IPPCTL_MODNAME_ARRAY; in ipp_list_mods() 439 ad.array = NULL; in ipp_list_mods() 440 ad.nelt = 0; in ipp_list_mods() 442 if ((rc = dispatch(&nvlp, string_array_callback, (void *)&ad)) == 0) { in ipp_list_mods() 443 *modname_arrayp = ad.array; in ipp_list_mods() 444 *neltp = ad.nelt; in ipp_list_mods() 464 array_desc_t ad; in ipp_mod_list_actions() local 502 ad.name = IPPCTL_ANAME_ARRAY; in ipp_mod_list_actions() 503 ad.array = NULL; in ipp_mod_list_actions() [all …]
|
| /onnv-gate/usr/src/cmd/idmap/idmap/ |
| H A D | namemaps.c | 44 LDAP *ad; /* LDAP connection */ member 196 adh->ad = ldap_init(adh->ad_host, adh->ad_port); in idmap_open_ad_conn() 197 if (adh->ad == NULL) { in idmap_open_ad_conn() 206 (void) ldap_set_option(adh->ad, LDAP_OPT_PROTOCOL_VERSION, &ldversion); in idmap_open_ad_conn() 207 (void) ldap_set_option(adh->ad, LDAP_OPT_REFERRALS, LDAP_OPT_OFF); in idmap_open_ad_conn() 208 (void) ldap_set_option(adh->ad, LDAP_OPT_TIMELIMIT, &zero); in idmap_open_ad_conn() 209 (void) ldap_set_option(adh->ad, LDAP_OPT_SIZELIMIT, &zero); in idmap_open_ad_conn() 210 (void) ldap_set_option(adh->ad, LDAP_X_OPT_CONNECT_TIMEOUT, &timeoutms); in idmap_open_ad_conn() 211 (void) ldap_set_option(adh->ad, LDAP_OPT_RESTART, LDAP_OPT_ON); in idmap_open_ad_conn() 212 ldap_rc = ldap_sasl_interactive_bind_s(adh->ad, "" /* binddn */, in idmap_open_ad_conn() [all …]
|
| /onnv-gate/usr/src/cmd/cdrw/ |
| H A D | misc_scsi.c | 61 uchar_t *ad = (uchar_t *)addr; in read_scsi32() local 64 ret = ((((uint32_t)ad[0]) << 24) | (((uint32_t)ad[1]) << 16) | in read_scsi32() 65 (((uint32_t)ad[2]) << 8) | ad[3]); in read_scsi32() 72 uchar_t *ad = (uchar_t *)addr; in read_scsi16() local 75 ret = ((((uint16_t)ad[0]) << 8) | ad[1]); in read_scsi16() 82 uchar_t *ad = (uchar_t *)addr; in load_scsi32() local 84 ad[0] = (uchar_t)(v >> 24); in load_scsi32() 85 ad[1] = (uchar_t)(v >> 16); in load_scsi32() 86 ad[2] = (uchar_t)(v >> 8); in load_scsi32() 87 ad[3] = (uchar_t)v; in load_scsi32() [all …]
|
| /onnv-gate/usr/src/lib/libslp/javalib/com/sun/slp/ |
| H A D | SLPV1Manager.java | 248 DAAdvertiser ad = in start() local 250 ad.start(); in start() 252 advs.addElement(ad); in start() 304 DAAdvertiser ad = (DAAdvertiser)advs.elementAt(j); in start() local 306 ad.stopThread(); in start()
|
| /onnv-gate/usr/src/uts/common/gssapi/mechs/krb5/krb5/krb/ |
| H A D | copy_auth.c | 234 krb5_authdata *ad = in_authdat[i]; in find_authdata_1() local 235 if (ad->ad_type == ad_type && retval ==0) in find_authdata_1() 236 retval = grow_find_authdata(context, fctx, ad); in find_authdata_1() 237 else switch (ad->ad_type) { in find_authdata_1() 241 retval = krb5_decode_authdata_container( context, ad->ad_type, ad, &decoded_container); in find_authdata_1()
|
| /onnv-gate/usr/src/cmd/wbem/provider/tools/rds/ |
| H A D | rds.c | 696 double ad; /* average duration of the last three scans */ in scanprocfs() local 705 d0 = d1 = d2 = ad = 0; in scanprocfs() 719 ad = (d0 + d1 + d2) / 3.0; in scanprocfs() 721 if (threshold_up < ad) { in scanprocfs() 723 new_interval += (int)((ad - threshold_up) / thf); in scanprocfs() 734 if (threshold_down > ad) { in scanprocfs() 736 new_interval -= (int)((threshold_down - ad) / thf); in scanprocfs() 754 d2, ad, threshold_up, threshold_down, new_interval); in scanprocfs()
|
| /onnv-gate/usr/src/lib/nsswitch/ad/common/ |
| H A D | ad_common.c | 71 nssad_cfg_reload_ad(nssad_prop_t *props, adutils_ad_t **ad) in nssad_cfg_reload_ad() argument 91 if (*ad != NULL) in nssad_cfg_reload_ad() 92 adutils_ad_free(ad); in nssad_cfg_reload_ad() 93 *ad = new; in nssad_cfg_reload_ad() 133 (void) nssad_cfg_reload_ad(&cp->props, &cp->ad); in nssad_cfg_refresh() 145 adutils_ad_free(&cp->ad); in nssad_cfg_destroy() 167 if (nssad_cfg_reload_ad(&cp->props, &cp->ad) < 0) in nssad_cfg_create() 395 rc = adutils_lookup_batch_start(cp->ad, 1, NULL, NULL, &qs); in ad_lookup()
|
| /onnv-gate/usr/src/common/openssl/crypto/x509v3/ |
| H A D | v3_ocsp.c | 258 ACCESS_DESCRIPTION *ad; in i2r_ocsp_serviceloc() local 264 ad = sk_ACCESS_DESCRIPTION_value(a->locator,i); in i2r_ocsp_serviceloc() 267 if(i2a_ASN1_OBJECT(bp, ad->method) <= 0) goto err; in i2r_ocsp_serviceloc() 269 if(GENERAL_NAME_print(bp, ad->location) <= 0) goto err; in i2r_ocsp_serviceloc()
|
| /onnv-gate/usr/src/common/openssl/crypto/ocsp/ |
| H A D | ocsp_ext.c | 516 ACCESS_DESCRIPTION *ad = NULL; in OCSP_url_svcloc_new() local 523 if (!(ad = ACCESS_DESCRIPTION_new())) goto err; in OCSP_url_svcloc_new() 524 if (!(ad->method=OBJ_nid2obj(NID_ad_OCSP))) goto err; in OCSP_url_svcloc_new() 525 if (!(ad->location = GENERAL_NAME_new())) goto err; in OCSP_url_svcloc_new() 528 ad->location->type = GEN_URI; in OCSP_url_svcloc_new() 529 ad->location->d.ia5 = ia5; in OCSP_url_svcloc_new() 530 if (!sk_ACCESS_DESCRIPTION_push(sloc->locator, ad)) goto err; in OCSP_url_svcloc_new()
|
| /onnv-gate/usr/src/cmd/idmap/idmapd/ |
| H A D | adutils.h | 63 int idmap_add_ds(adutils_ad_t *ad, const char *host, int port); 86 idmap_retcode idmap_lookup_batch_start(adutils_ad_t *ad, int nqueries,
|
| /onnv-gate/usr/src/cmd/netfiles/ |
| H A D | nsswitch.ad | 26 # /etc/nsswitch.ad: 49 passwd: files ad 50 group: files ad
|