/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | auth_des.c | 147 ad->ad_fullname = ad->ad_servername = NULL; /* Sanity reasons */ in authdes_pk_seccreate() 158 ad->ad_fullname = malloc(ad->ad_fullnamelen + 1); in authdes_pk_seccreate() 160 ad->ad_servername = malloc(ad->ad_servernamelen + 1); in authdes_pk_seccreate() 162 if (ad->ad_fullname == NULL || ad->ad_servername == NULL) { in authdes_pk_seccreate() 209 if (ad) { in authdes_pk_seccreate() 220 free(ad); in authdes_pk_seccreate() 261 ad->ad_timestamp.tv_sec += ad->ad_timediff.tv_sec; in authdes_marshal() 262 ad->ad_timestamp.tv_usec += ad->ad_timediff.tv_usec; in authdes_marshal() 296 ad->ad_cred.adc_nickname = ad->ad_nickname; in authdes_marshal() 408 ad->ad_timehost, &(ad->ad_uaddr), in authdes_refresh() [all …]
|
/illumos-gate/usr/src/uts/common/rpc/sec/ |
H A D | auth_des.c | 134 ad->ad_fullname = mem_alloc(ad->ad_fullnamelen + 1); in authdes_create() 193 if (ad != NULL && ad->ad_fullname != NULL) in authdes_create() 194 FREE(ad->ad_fullname, ad->ad_fullnamelen + 1); in authdes_create() 195 if (ad != NULL && ad->ad_servername != NULL) in authdes_create() 196 FREE(ad->ad_servername, ad->ad_servernamelen + 1); in authdes_create() 240 ad->ad_timestamp.tv_sec += ad->ad_timediff.tv_sec; in authdes_marshal() 241 ad->ad_timestamp.tv_usec += ad->ad_timediff.tv_usec; in authdes_marshal() 273 ad->ad_cred.adc_nickname = ad->ad_nickname; in authdes_marshal() 384 ad->ad_calltype, &ad->ad_timediff)) { in authdes_refresh() 416 FREE(ad->ad_fullname, ad->ad_fullnamelen + 1); in authdes_destroy() [all …]
|
/illumos-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)); 127 (void) au_write(ad, au_to_mylabel()); 136 (void) au_close(ad, 0, 0); 145 (void) au_write(ad, au_to_exit(status, -1)); 147 (void) au_write(ad, au_to_exit(0, 0)); 150 if (au_close(ad, 1, event) < 0) { 151 (void) au_close(ad, 0, 0); [all …]
|
H A D | generic.c | 399 int ad; in aug_audit() local 413 if ((ad = au_open()) == -1) { 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() 452 if (au_close(ad, 1, aug_event) < 0) { in aug_audit() [all …]
|
/illumos-gate/usr/src/lib/libadutils/common/ |
H A D | adutils.c | 501 adutils_ad_t *ad; in adutils_ad_alloc() local 505 if ((ad = calloc(1, sizeof (*ad))) == NULL) in adutils_ad_alloc() 507 ad->ref = 1; in adutils_ad_alloc() 525 *new_ad = ad; in adutils_ad_alloc() 530 free(ad); in adutils_ad_alloc() 540 if (ad == NULL || *ad == NULL) in adutils_ad_free() 547 *ad = NULL; in adutils_ad_free() 575 free(*ad); in adutils_ad_free() 577 *ad = NULL; in adutils_ad_free() 793 new->owner = ad; in adutils_add_ds() [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,
|
/illumos-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() 241 if (au_close(ad, 1, door_dp->audit_event) < 0) { in audit_audit() [all …]
|
/illumos-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
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/ |
H A D | rdisc.c | 76 struct icmp_ad ad; member 128 ntohs(p->ad.icmp_ad_life)); in trace_rdisc() 137 wp += p->ad.icmp_ad_asize; in trace_rdisc() 1104 u.ad.icmp_ad_num = 1; in send_adv() 1105 u.ad.icmp_ad_asize = sizeof (u.ad.icmp_ad_info[0])/4; in send_adv() 1116 u.ad.icmp_cksum = in_cksum((uint16_t *)&u.ad, sizeof (u.ad)); in send_adv() 1341 p->ad.icmp_ad_asize); in read_d() 1344 if (p->ad.icmp_ad_num == 0) { in read_d() 1348 if (cc < (sizeof (p->ad) - in read_d() 1350 (p->ad.icmp_ad_num * in read_d() [all …]
|
/illumos-gate/usr/src/lib/libipp/ |
H A D | libipp.c | 401 array_desc_t ad; in ipp_list_mods() local 434 ad.array = NULL; in ipp_list_mods() 435 ad.nelt = 0; in ipp_list_mods() 438 *modname_arrayp = ad.array; in ipp_list_mods() 439 *neltp = ad.nelt; in ipp_list_mods() 458 array_desc_t ad; in ipp_mod_list_actions() local 496 ad.name = IPPCTL_ANAME_ARRAY; in ipp_mod_list_actions() 497 ad.array = NULL; in ipp_mod_list_actions() 498 ad.nelt = 0; in ipp_mod_list_actions() 501 *aname_arrayp = ad.array; in ipp_mod_list_actions() [all …]
|
/illumos-gate/usr/src/tools/smatch/src/ |
H A D | linearize.c | 921 struct access_data *ad) in linearize_simple_address() argument 955 struct access_data *ad) in linearize_address_gen() argument 961 ad->type = ctype; in linearize_address_gen() 982 insn->is_volatile = ad->type && (ad->type->ctype.modifiers & MOD_VOLATILE); in add_load() 998 store->is_volatile = ad->type && (ad->type->ctype.modifiers & MOD_VOLATILE); in add_store() 1157 if (ad.btype != ad.type) in linearize_inc_dec() 1158 old = cast_pseudo(ep, old, ad.type, ad.btype); in linearize_inc_dec() 1160 if (ad.btype != ad.type) in linearize_inc_dec() 1161 new = cast_pseudo(ep, new, ad.btype, ad.type); in linearize_inc_dec() 1860 ad.type = arg; in linearize_argument() [all …]
|
/illumos-gate/usr/src/uts/common/c2/ |
H A D | audit.c | 735 token_t *ad = NULL; in audit_closef() local 796 au_write((caddr_t *)&(ad), au_to_arg64( in audit_closef() 799 au_write((caddr_t *)&(ad), au_to_arg32( in audit_closef() 1592 au_write(ad, au_to_return64(err, rval)); in add_return_token() 1862 token_t *ad = NULL; in audit_cryptoadm() local 2024 token_t *ad = NULL; in audit_pf_policy() local 2086 au_write((caddr_t *)&ad, in audit_pf_policy() 2088 au_write((caddr_t *)&ad, in audit_pf_policy() 2110 au_write((caddr_t *)&ad, ztoken); in audit_pf_policy() 2123 AUDIT_SETSUBJ_GENERIC((caddr_t *)&ad, in audit_pf_policy() [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()
|
/illumos-gate/usr/src/cmd/idmap/idmap/ |
H A D | namemaps.c | 45 LDAP *ad; /* LDAP connection */ member 197 adh->ad = ldap_init(adh->ad_host, adh->ad_port); in idmap_open_ad_conn() 198 if (adh->ad == NULL) { in idmap_open_ad_conn() 218 (void) ldap_unbind(adh->ad); in idmap_open_ad_conn() 219 adh->ad = NULL; in idmap_open_ad_conn() 346 if (p->ad) in idmap_fini_namemaps() 347 (void) ldap_unbind(p->ad); in idmap_fini_namemaps() 504 values = ldap_get_values(p->ad, entry, name); in extract_attribute() 694 entry = ldap_next_entry(p->ad, entry)) { in winname2dn() 713 *dn = ldap_get_dn(p->ad, entry); in winname2dn() [all …]
|
/illumos-gate/usr/src/cmd/cdrw/ |
H A D | misc_scsi.c | 60 uchar_t *ad = (uchar_t *)addr; in read_scsi32() local 63 ret = ((((uint32_t)ad[0]) << 24) | (((uint32_t)ad[1]) << 16) | in read_scsi32() 64 (((uint32_t)ad[2]) << 8) | ad[3]); in read_scsi32() 71 uchar_t *ad = (uchar_t *)addr; in read_scsi16() local 74 ret = ((((uint16_t)ad[0]) << 8) | ad[1]); in read_scsi16() 83 ad[0] = (uchar_t)(v >> 24); in load_scsi32() 84 ad[1] = (uchar_t)(v >> 16); in load_scsi32() 85 ad[2] = (uchar_t)(v >> 8); in load_scsi32() 86 ad[3] = (uchar_t)v; in load_scsi32() 93 ad[0] = (uchar_t)(v >> 8); in load_scsi16() [all …]
|
/illumos-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()
|
/illumos-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()
|
/illumos-gate/usr/src/lib/nsswitch/ad/common/ |
H A D | ad_common.c | 73 nssad_cfg_reload_ad(nssad_prop_t *props, adutils_ad_t **ad) in nssad_cfg_reload_ad() argument 93 if (*ad != NULL) in nssad_cfg_reload_ad() 94 adutils_ad_free(ad); in nssad_cfg_reload_ad() 95 *ad = new; in nssad_cfg_reload_ad() 135 (void) nssad_cfg_reload_ad(&cp->props, &cp->ad); in nssad_cfg_refresh() 147 adutils_ad_free(&cp->ad); in nssad_cfg_destroy() 169 if (nssad_cfg_reload_ad(&cp->props, &cp->ad) < 0) in nssad_cfg_create() 397 rc = adutils_lookup_batch_start(cp->ad, 1, NULL, NULL, &qs); in ad_lookup()
|
/illumos-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,
|
/illumos-gate/usr/src/cmd/netfiles/ |
H A D | nsswitch.ad | 26 # /etc/nsswitch.ad: 49 passwd: files ad 50 group: files ad
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | at.h | 167 struct ddp_adsphdr ad; member 172 struct ddp_adsphdr ad; member
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/string/ |
H A D | tokline.c | 58 spliceline(Sfio_t* s, int op, void* val, Sfdisc_t* ad) in spliceline() argument 60 Splice_t* d = (Splice_t*)ad; in spliceline()
|
/illumos-gate/usr/src/test/util-tests/tests/dis/i386/ |
H A D | 64.fma-ss.out | 15 libdis_test+0x46: c4 e2 71 ad d0 vfnmadd213ss %xmm0,%xmm1,%xmm2 16 libdis_test+0x4b: c4 e2 71 ad 10 vfnmadd213ss (%rax),%xmm1,%xmm2
|
H A D | 32.fma-ss.out | 15 libdis_test+0x46: c4 e2 71 ad d0 vfnmadd213ss %xmm0,%xmm1,%xmm2 16 libdis_test+0x4b: c4 e2 71 ad 10 vfnmadd213ss (%eax),%xmm1,%xmm2
|
H A D | 64.fma-sd.out | 15 libdis_test+0x46: c4 e2 f1 ad d0 vfnmadd213sd %xmm0,%xmm1,%xmm2 16 libdis_test+0x4b: c4 e2 f1 ad 10 vfnmadd213sd (%rax),%xmm1,%xmm2
|