Home
last modified time | relevance | path

Searched refs:ad (Results 1 – 25 of 63) sorted by relevance

123

/titanic_41/usr/src/lib/libnsl/rpc/
H A Dauth_des.c133 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 …]
/titanic_41/usr/src/uts/common/rpc/sec/
H A Dauth_des.c112 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 …]
/titanic_41/usr/src/lib/libbsm/common/
H A Daudit_allocate.c41 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 Dgeneric.c399 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 …]
/titanic_41/usr/src/lib/libadutils/common/
H A Dadutils.c57 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 Dlibadutils.h150 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,
/titanic_41/usr/src/cmd/smserverd/
H A Dmyaudit.c190 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 …]
/titanic_41/usr/src/lib/libc/i386/gen/
H A D_mul64.s36 / 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
/titanic_41/usr/src/uts/common/c2/
H A Daudit.c736 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 Daudit_syscalls.c124 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()
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/in.routed/
H A Drdisc.c78 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 …]
/titanic_41/usr/src/lib/libipp/
H A Dlibipp.c406 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 …]
/titanic_41/usr/src/cmd/idmap/idmap/
H A Dnamemaps.c44 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 …]
/titanic_41/usr/src/cmd/cdrw/
H A Dmisc_scsi.c60 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 …]
/titanic_41/usr/src/lib/libslp/javalib/com/sun/slp/
H A DSLPV1Manager.java248 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()
/titanic_41/usr/src/uts/common/gssapi/mechs/krb5/krb5/krb/
H A Dcopy_auth.c234 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()
/titanic_41/usr/src/lib/nsswitch/ad/common/
H A Dad_common.c71 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()
/titanic_41/usr/src/cmd/idmap/idmapd/
H A Dadutils.h63 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,
H A Dadutils.c155 idmap_add_ds(adutils_ad_t *ad, const char *host, int port) in idmap_add_ds() argument
159 if (adutils_add_ds(ad, host, port) == ADUTILS_SUCCESS) in idmap_add_ds()
193 idmap_lookup_batch_start(adutils_ad_t *ad, int nqueries, in idmap_lookup_batch_start() argument
202 assert(ad != NULL); in idmap_lookup_batch_start()
209 if ((rc = adutils_lookup_batch_start(ad, nqueries, in idmap_lookup_batch_start()
/titanic_41/usr/src/cmd/netfiles/
H A Dnsswitch.ad26 # /etc/nsswitch.ad:
49 passwd: files ad
50 group: files ad
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dat.h169 struct ddp_adsphdr ad; member
174 struct ddp_adsphdr ad; member
/titanic_41/usr/src/lib/libast/common/string/
H A Dtokline.c58 spliceline(Sfio_t* s, int op, void* val, Sfdisc_t* ad) in spliceline() argument
60 Splice_t* d = (Splice_t*)ad; in spliceline()
/titanic_41/usr/src/head/arpa/
H A Dnameser_compat.h143 unsigned ad: 1; /* authentic data from named */ member
157 unsigned ad: 1; /* authentic data from named */ member
/titanic_41/usr/src/cmd/dtrace/test/tst/common/misc/
H A Dtst.macroglob.ksh36 $dtrace -ln 'syscall::re$1*:entry' ad | awk '{print $(NF-1),$NF}' | sort
/titanic_41/usr/src/lib/nsswitch/
H A DMakefile30 SUBDIRS= files nis compat dns ldap user mdns ad

123