Home
last modified time | relevance | path

Searched refs:termid (Results 1 – 11 of 11) sorted by relevance

/titanic_44/usr/src/lib/libbsm/common/
H A Dadt.c514 adt_get_termid(const adt_session_data_t *session_data, au_tid_addr_t *termid) in adt_get_termid() argument
518 (void) memset(termid, 0, sizeof (au_tid_addr_t)); in adt_get_termid()
519 termid->at_type = AU_IPv4; in adt_get_termid()
524 *termid = in adt_get_termid()
531 const au_tid_addr_t *termid) in adt_set_termid() argument
539 *termid; in adt_set_termid()
593 au_tid_addr_t *termid) in adt_do_ipv6_address() argument
596 termid->at_port = ((peer->sin6_port<<16) | (sock->sin6_port)); in adt_do_ipv6_address()
597 termid->at_type = AU_IPv6; in adt_do_ipv6_address()
598 (void) memcpy(termid->at_addr, &peer->sin6_addr, 4 * sizeof (uint_t)); in adt_do_ipv6_address()
[all …]
/titanic_44/usr/src/cmd/smbsrv/smbd/
H A Dsmbd_logon.c87 au_tid_addr_t termid; in smbd_user_auth_logon() local
130 (void) memset(&termid, 0, sizeof (au_tid_addr_t)); in smbd_user_auth_logon()
131 termid.at_port = user_info->lg_local_port; in smbd_user_auth_logon()
134 termid.at_addr[0] = user_info->lg_clnt_ipaddr.a_ipv4; in smbd_user_auth_logon()
135 termid.at_type = AU_IPv4; in smbd_user_auth_logon()
137 bcopy(&user_info->lg_clnt_ipaddr.a_ip, termid.at_addr, in smbd_user_auth_logon()
139 termid.at_type = AU_IPv6; in smbd_user_auth_logon()
141 adt_set_termid(ah, &termid); in smbd_user_auth_logon()
/titanic_44/usr/src/lib/libadt_jni/common/
H A Dadt_jni.c303 adt_termid_t *termid; in Java_com_sun_audit_AuditSession_sessionAttr() local
313 if (adt_load_hostname(hostname, &termid)) { in Java_com_sun_audit_AuditSession_sessionAttr()
315 } else if (adt_set_user(state, euid, egid, ruid, rgid, termid, in Java_com_sun_audit_AuditSession_sessionAttr()
317 free(termid); in Java_com_sun_audit_AuditSession_sessionAttr()
321 free(termid); in Java_com_sun_audit_AuditSession_sessionAttr()
/titanic_44/usr/src/cmd/ssh/sshd/
H A Dbsmaudit.c304 adt_termid_t *termid; in audit_sshd_settid() local
307 if (adt_load_termid(sock, &termid) == 0) { in audit_sshd_settid()
310 termid, ADT_SETTID) == 0) in audit_sshd_settid()
312 free(termid); in audit_sshd_settid()
/titanic_44/usr/src/lib/pam_modules/unix_cred/
H A Dunix_cred.c185 adt_termid_t *termid = NULL; in pam_sm_setcred() local
285 if (adt_load_ttyname(tty, &termid) != 0) { in pam_sm_setcred()
310 if (adt_load_hostname(rhost, &termid) != 0) { in pam_sm_setcred()
333 apwd.pw_uid, apwd.pw_gid, termid, ADT_NEW) != 0) { in pam_sm_setcred()
361 pwd.pw_uid, pwd.pw_gid, termid, ADT_NEW) != 0) { in pam_sm_setcred()
404 if (termid != NULL) in pam_sm_setcred()
405 free(termid); in pam_sm_setcred()
/titanic_44/usr/src/cmd/auditd/
H A Dauditd.c778 au_tid_addr_t *termid; in do_sethost() local
782 if (adt_load_hostname(NULL, (adt_termid_t **)&termid) < 0) { in do_sethost()
795 audit_info.ai_termid = *termid; in do_sethost()
805 free(termid); in do_sethost()
809 free(termid); in do_sethost()
/titanic_44/usr/src/cmd/ndmpd/ndmp/
H A Dndmpd_comm.c1588 adt_termid_t *termid; in ndmpd_audit_connect() local
1590 if (adt_load_termid(conn->conn_sock, &termid) != 0) { in ndmpd_audit_connect()
1596 ADT_NO_ATTRIB, ADT_NO_ATTRIB, termid, ADT_NEW) != 0) { in ndmpd_audit_connect()
1598 free(termid); in ndmpd_audit_connect()
1601 free(termid); in ndmpd_audit_connect()
/titanic_44/usr/src/lib/libadt_jni/
H A Dauditxml_jni554 if (adt_load_hostname((const char *)hostname$cntTermidDef, &termid$cntTermidDef)) {
558 $p_event = termid$cntTermidDef;
1027 } elsif ($type =~ /termid/i) {
1081 } elsif ($type =~ /termid/i) {
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.rlogind.c162 adt_termid_t *termid; in audit_rlogin_settid() local
166 if ((rc = adt_load_termid(fd, &termid)) == 0) { in audit_rlogin_settid()
169 termid, ADT_SETTID)) == 0) in audit_rlogin_settid()
171 free(termid); in audit_rlogin_settid()
H A Din.telnetd.c2171 adt_termid_t *termid; in audit_telnet_settid() local
2175 if ((rc = adt_load_termid(sock, &termid)) == 0) { in audit_telnet_settid()
2178 termid, ADT_SETTID)) == 0) in audit_telnet_settid()
2180 free(termid); in audit_telnet_settid()
/titanic_44/usr/src/lib/libbsm/
H A Dauditxml484 $entry =~ s/termid/adt_termid_t/;
841 } elsif ($type =~ /termid/i) {
912 } elsif ($type =~ /termid/i) {