/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | auth_des.c | 131 struct ad_private *ad; in authdes_pk_seccreate() local 142 ad = malloc(sizeof (struct ad_private)); in authdes_pk_seccreate() 143 if (ad == NULL) { in authdes_pk_seccreate() 147 ad->ad_fullname = ad->ad_servername = NULL; /* Sanity reasons */ in authdes_pk_seccreate() 148 ad->ad_timehost = NULL; in authdes_pk_seccreate() 149 ad->ad_netid = NULL; in authdes_pk_seccreate() 150 ad->ad_uaddr = NULL; in authdes_pk_seccreate() 151 ad->ad_nis_srvr = NULL; in authdes_pk_seccreate() 152 ad->ad_timediff.tv_sec = 0; in authdes_pk_seccreate() 153 ad->ad_timediff.tv_usec = 0; in authdes_pk_seccreate() [all …]
|
/illumos-gate/usr/src/uts/common/rpc/sec/ |
H A D | auth_des.c | 110 struct ad_private *ad; in authdes_create() local 124 ad = ALLOC(struct ad_private); in authdes_create() 125 bzero(ad, sizeof (struct ad_private)); in authdes_create() 133 ad->ad_fullnamelen = (uint_t)RNDUP(strlen(namebuf)); in authdes_create() 134 ad->ad_fullname = mem_alloc(ad->ad_fullnamelen + 1); in authdes_create() 136 ad->ad_servernamelen = (uint_t)strlen(servername); in authdes_create() 137 ad->ad_servername = mem_alloc(ad->ad_servernamelen + 1); in authdes_create() 139 if (auth == NULL || ad == NULL || ad->ad_fullname == NULL || in authdes_create() 140 ad->ad_servername == NULL) { in authdes_create() 149 bcopy(namebuf, ad->ad_fullname, ad->ad_fullnamelen + 1); in authdes_create() [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)); 125 (void) au_write(ad, au_to_me()); /* add subject token */ 127 (void) au_write(ad, au_to_mylabel()); 136 (void) au_close(ad, 0, 0); 141 (void) au_write(ad, au_to_newgroups(ng, grplst)); 145 (void) au_write(ad, au_to_exit(status, -1)); 147 (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 …]
|
/illumos-gate/usr/src/lib/libadutils/common/ |
H A D | adutils.c | 58 static void delete_ds(adutils_ad_t *ad, const char *host, int port); 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() 508 ad->partition = part; in adutils_ad_alloc() 515 ad->basedn = adutils_dns2dn(domain_name); in adutils_ad_alloc() 518 ad->basedn = strdup(""); in adutils_ad_alloc() 520 if (ad->basedn == NULL) in adutils_ad_alloc() 523 if (pthread_mutex_init(&ad->lock, NULL) != 0) in adutils_ad_alloc() 525 *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,
|
/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() 238 (void) au_write(ad, au_to_return32((door_dp->audit_sorf == 0) ? 0 : -1, 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() 132 wp = &p->ad.icmp_ad_info[0].icmp_ad_addr; in trace_rdisc() 133 lim = &wp[(len - sizeof (p->ad)) / sizeof (*wp)]; in trace_rdisc() 134 for (i = 0; i < p->ad.icmp_ad_num && wp <= lim; i++) { in trace_rdisc() 137 wp += p->ad.icmp_ad_asize; in trace_rdisc() 1100 (void) memset(&u, 0, sizeof (u.ad)); in send_adv() 1102 u.ad.icmp_type = ICMP_ROUTERADVERT; in send_adv() 1103 u.ad.icmp_code = ICMP_ROUTERADVERT_COMMON; in send_adv() 1104 u.ad.icmp_ad_num = 1; in send_adv() [all …]
|
/illumos-gate/usr/src/tools/smatch/src/ |
H A D | linearize.c | 921 struct access_data *ad) in linearize_simple_address() argument 925 ad->address = symbol_pseudo(ep, addr->symbol); in linearize_simple_address() 931 ad->offset += get_expression_value(addr->right); in linearize_simple_address() 932 return linearize_simple_address(ep, addr->left, ad); in linearize_simple_address() 936 ad->address = linearize_expression(ep, addr); in linearize_simple_address() 955 struct access_data *ad) in linearize_address_gen() argument 961 ad->type = ctype; in linearize_address_gen() 963 return linearize_simple_address(ep, expr->unop, ad); in linearize_address_gen() 969 static pseudo_t add_load(struct entrypoint *ep, struct access_data *ad) in add_load() argument 977 insn = alloc_typed_instruction(OP_LOAD, ad->btype); in add_load() [all …]
|
/illumos-gate/usr/src/lib/libipp/ |
H A D | libipp.c | 401 array_desc_t ad; in ipp_list_mods() local 433 ad.name = IPPCTL_MODNAME_ARRAY; in ipp_list_mods() 434 ad.array = NULL; in ipp_list_mods() 435 ad.nelt = 0; in ipp_list_mods() 437 if ((rc = dispatch(&nvlp, string_array_callback, (void *)&ad)) == 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() [all …]
|
/illumos-gate/usr/src/uts/common/c2/ |
H A D | audit.c | 735 token_t *ad = NULL; in audit_closef() local 793 au_write((caddr_t *)&(ad), au_to_path(fad->fad_aupath)); in audit_closef() 796 au_write((caddr_t *)&(ad), au_to_arg64( in audit_closef() 799 au_write((caddr_t *)&(ad), au_to_arg32( in audit_closef() 805 au_write((caddr_t *)&(ad), au_to_attr(&attr)); in audit_closef() 806 audit_sec_attributes((caddr_t *)&(ad), vp); in audit_closef() 810 AUDIT_SETSUBJ((caddr_t *)&(ad), cr, ainfo, kctx); in audit_closef() 813 add_return_token((caddr_t *)&(ad), tad->tad_scid, 0, 0); in audit_closef() 826 au_close(kctx, (caddr_t *)&(ad), AU_OK | AU_DEFER, in audit_closef() 1572 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()
|
/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() 207 (void) ldap_set_option(adh->ad, LDAP_OPT_PROTOCOL_VERSION, &ldversion); in idmap_open_ad_conn() 208 (void) ldap_set_option(adh->ad, LDAP_OPT_REFERRALS, LDAP_OPT_OFF); in idmap_open_ad_conn() 209 (void) ldap_set_option(adh->ad, LDAP_OPT_TIMELIMIT, &zero); in idmap_open_ad_conn() 210 (void) ldap_set_option(adh->ad, LDAP_OPT_SIZELIMIT, &zero); in idmap_open_ad_conn() 211 (void) ldap_set_option(adh->ad, LDAP_X_OPT_CONNECT_TIMEOUT, &timeoutms); in idmap_open_ad_conn() 212 (void) ldap_set_option(adh->ad, LDAP_OPT_RESTART, LDAP_OPT_ON); in idmap_open_ad_conn() 213 ldap_rc = ldap_sasl_interactive_bind_s(adh->ad, "" /* binddn */, in idmap_open_ad_conn() [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() 81 uchar_t *ad = (uchar_t *)addr; in load_scsi32() local 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() [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 | 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-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-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 (%eax),%xmm1,%xmm2
|