/titanic_44/usr/src/uts/common/syscall/ |
H A D | auditsys.c | 184 if (ainfo->ai_termid.at_type == AU_IPv6) in getaudit() 193 if (cmpldev(&dev, ainfo->ai_termid.at_port) == 0) { in getaudit() 196 STRUCT_FSET(info, ai_termid.port, dev); in getaudit() 198 STRUCT_FSET(info, ai_termid.port, ainfo->ai_termid.at_port); in getaudit() 200 STRUCT_FSET(info, ai_termid.port, ainfo->ai_termid.at_port); in getaudit() 202 STRUCT_FSET(info, ai_termid.machine, ainfo->ai_termid.at_addr[0]); in getaudit() 242 if (cmpldev(&dev, ainfo->ai_termid.at_port) == 0) { in getaudit_addr() 245 STRUCT_FSET(info, ai_termid.at_port, dev); in getaudit_addr() 247 STRUCT_FSET(info, ai_termid.at_port, ainfo->ai_termid.at_port); in getaudit_addr() 249 STRUCT_FSET(info, ai_termid.at_port, ainfo->ai_termid.at_port); in getaudit_addr() [all …]
|
/titanic_44/usr/src/lib/libbsm/common/ |
H A D | audit_settid.c | 88 if (ai.ai_termid.at_port || in do_ipv6_address() 89 ai.ai_termid.at_addr[0] || in do_ipv6_address() 90 ai.ai_termid.at_addr[1] || in do_ipv6_address() 91 ai.ai_termid.at_addr[2] || in do_ipv6_address() 92 ai.ai_termid.at_addr[3]) { in do_ipv6_address() 96 ai.ai_termid.at_port = ((peer->sin6_port<<16) | (sock->sin6_port)); in do_ipv6_address() 97 ai.ai_termid.at_type = AU_IPv6; in do_ipv6_address() 98 bcopy(&peer->sin6_addr, ai.ai_termid.at_addr, 16); in do_ipv6_address() 120 if (ai.ai_termid.port || ai.ai_termid.machine) { in do_ipv4_address() 124 ai.ai_termid.port = (peer->sin_port<<16 | sock->sin_port); in do_ipv4_address() [all …]
|
H A D | audit_cron.c | 124 &(info->ai_termid.at_port), in audit_cron_getinfo() 125 &(info->ai_termid.at_type), in audit_cron_getinfo() 126 &(info->ai_termid.at_addr[0]), in audit_cron_getinfo() 127 &(info->ai_termid.at_addr[1]), in audit_cron_getinfo() 128 &(info->ai_termid.at_addr[2]), in audit_cron_getinfo() 129 &(info->ai_termid.at_addr[3]), in audit_cron_getinfo() 151 (void) memset(&(info->ai_termid), 0, sizeof (au_tid_addr_t)); in audit_cron_getinfo() 152 info->ai_termid.at_type = AU_IPv4; in audit_cron_getinfo() 206 info->ai_termid.at_port, in audit_cron_setinfo() 207 info->ai_termid.at_type, in audit_cron_setinfo() [all …]
|
H A D | adt.c | 525 ((adt_internal_state_t *)session_data)->as_info.ai_termid; in adt_get_termid() 538 ((adt_internal_state_t *)session_data)->as_info.ai_termid = in adt_set_termid() 677 if ((audit_data.ai_termid.at_type == 0) || in adt_have_termid() 678 (audit_data.ai_termid.at_addr[0] | in adt_have_termid() 679 audit_data.ai_termid.at_addr[1] | in adt_have_termid() 680 audit_data.ai_termid.at_addr[2] | in adt_have_termid() 681 audit_data.ai_termid.at_addr[3]) == 0) in adt_have_termid() 684 (void) memcpy(dest, &(audit_data.ai_termid), in adt_have_termid() 756 *p_term = audit_info.ai_termid; in adt_get_hostIP() 1114 (int *)&(internal->as_info.ai_termid.at_port), 1); in adt_from_export_format() [all …]
|
H A D | audit_rshd.c | 135 &info.ai_termid)); in generate_record() 228 rshd_addr[0] = info.ai_termid.at_addr[0]; in setup_session() 229 rshd_addr[1] = info.ai_termid.at_addr[1]; in setup_session() 230 rshd_addr[2] = info.ai_termid.at_addr[2]; in setup_session() 231 rshd_addr[3] = info.ai_termid.at_addr[3]; in setup_session()
|
H A D | audit_rexecd.c | 113 info.ai_termid.at_port = aug_get_port(); in audit_rexecd_session_setup() 114 info.ai_termid.at_type = type; in audit_rexecd_session_setup() 115 info.ai_termid.at_addr[0] = addr[0]; in audit_rexecd_session_setup() 116 info.ai_termid.at_addr[1] = addr[1]; in audit_rexecd_session_setup() 117 info.ai_termid.at_addr[2] = addr[2]; in audit_rexecd_session_setup() 118 info.ai_termid.at_addr[3] = addr[3]; in audit_rexecd_session_setup()
|
H A D | audit_at.c | 82 aug_save_tid_ex(ai.ai_termid.at_port, ai.ai_termid.at_addr, in audit_at_create() 83 ai.ai_termid.at_type); in audit_at_create()
|
H A D | audit_crontab.c | 107 aug_save_tid_ex(ai.ai_termid.at_port, ai.ai_termid.at_addr, in audit_crontab_modify() 108 ai.ai_termid.at_type); in audit_crontab_modify()
|
H A D | generic.c | 283 aug_save_tid_ex(ai.ai_termid.at_port, in aug_save_me() 284 ai.ai_termid.at_addr, in aug_save_me() 285 ai.ai_termid.at_type); in aug_save_me()
|
H A D | audit_ftpd.c | 178 ruid, rgid, pid, pid, &info.ai_termid)); in generate_record() 284 egid, uid, gid, pid, pid, &info.ai_termid)); in audit_ftpd_logout()
|
H A D | audit_rexd.c | 204 &info.ai_termid)); 330 &info.ai_termid));
|
H A D | au_open.c | 146 au_tid_addr_t *host_info = &audit_info.ai_termid; in au_close()
|
H A D | au_to.c | 127 au_tid_addr_t *host_info = &audit_info.ai_termid; in au_to_header_ex() 696 getgid(), getpid(), info.ai_asid, &info.ai_termid)); in au_to_me()
|
H A D | adt_token.c | 590 &(sp->as_info.ai_termid))); in adt_to_subject()
|
/titanic_44/usr/src/uts/common/c2/ |
H A D | audit.h | 325 au_tid_t ai_termid; member 333 au_tid32_t ai_termid; member 346 au_tid_addr_t ai_termid; member 354 au_tid_addr_t ai_termid; member 361 au_tid64_addr_t ai_termid; member 370 au_tid32_addr_t ai_termid; member
|
H A D | audit_kernel.h | 392 &((a)->ai_termid)))); \ 406 &((a)->ai_termid))));
|
H A D | audit_event.c | 1551 ainfo->ai_auid, ainfo->ai_asid, &ainfo->ai_termid)); in aus_kill() 2158 ainfo->ai_auid, ainfo->ai_asid, &ainfo->ai_termid)); in aus_setpgrp() 3097 (uint64_t)STRUCT_FGET(ainfo, ai_termid.port))); in aus_auditsys() 3100 (uint32_t)STRUCT_FGET(ainfo, ai_termid.port))); in aus_auditsys() 3103 (uint32_t)STRUCT_FGET(ainfo, ai_termid.machine))); in aus_auditsys() 3121 (uint64_t)STRUCT_FGET(ainfo_addr, ai_termid.at_port))); in aus_auditsys() 3124 (uint32_t)STRUCT_FGET(ainfo_addr, ai_termid.at_port))); in aus_auditsys() 3127 (uint32_t)STRUCT_FGET(ainfo_addr, ai_termid.at_type))); in aus_auditsys() 3128 if ((uint32_t)STRUCT_FGET(ainfo_addr, ai_termid.at_type) == in aus_auditsys() 3132 ai_termid.at_addr))); in aus_auditsys() [all …]
|
H A D | audit_token.c | 123 adr_uint32(&adr, &kctx->auk_info.ai_termid.at_type, 1); in au_to_header_ex() 124 adr_char(&adr, (char *)&kctx->auk_info.ai_termid.at_addr[0], in au_to_header_ex() 125 (int)kctx->auk_info.ai_termid.at_type); in au_to_header_ex()
|
H A D | audit_io.c | 279 kctx->auk_info.ai_termid.at_type; in au_close_time() 314 kctx->auk_info.ai_termid.at_type; in au_close_time()
|
/titanic_44/usr/src/uts/common/os/ |
H A D | audit_zone.c | 63 kctx->auk_info.ai_termid.at_type = AU_IPv4; in au_zone_init()
|
H A D | cred.c | 905 tid = ai->ai_termid; in cred2ucaud() 911 ainfo->ai_termid.at_type = tid.at_type; in cred2ucaud() 912 bcopy(&tid.at_addr, &ainfo->ai_termid.at_addr, 4 * sizeof (uint_t)); in cred2ucaud() 914 ainfo->ai_termid.at_port.at_major = (uint32_t)getmajor(tid.at_port); in cred2ucaud() 915 ainfo->ai_termid.at_port.at_minor = (uint32_t)getminor(tid.at_port); in cred2ucaud()
|
/titanic_44/usr/src/cmd/auditconfig/ |
H A D | auditconfig.c | 1235 print_tid_ex(&ai.ai_termid); in do_getaudit() 1250 print_tid_ex(&ai.ai_termid); in do_getkaudit() 1266 (void) str2ipaddr(s, &ai.ai_termid.at_addr[0], type); in do_setkaudit() 1267 ai.ai_termid.at_type = type; in do_setkaudit() 1710 print_tid_ex(&ai.ai_termid); in do_gettermid() 1791 str2tid(tid_str, &ai.ai_termid); in do_setaudit()
|
/titanic_44/usr/src/lib/libc/port/gen/ |
H A D | ucred.c | 352 return (&ainfo->ai_termid); in ucred_getatid()
|
/titanic_44/usr/src/cmd/auditd/ |
H A D | auditd.c | 795 audit_info.ai_termid = *termid; in do_sethost()
|