Lines Matching defs:info
89 audit_cron_getinfo(char *fname, char *fname_aux, struct auditinfo_addr *info)
121 &(info->ai_auid),
122 &(info->ai_mask.am_success),
123 &(info->ai_mask.am_failure),
124 &(info->ai_termid.at_port),
125 &(info->ai_termid.at_type),
126 &(info->ai_termid.at_addr[0]),
127 &(info->ai_termid.at_addr[1]),
128 &(info->ai_termid.at_addr[2]),
129 &(info->ai_termid.at_addr[3]),
130 &(info->ai_asid)) != 10) {
151 (void) memset(&(info->ai_termid), 0, sizeof (au_tid_addr_t));
152 info->ai_termid.at_type = AU_IPv4;
155 info->ai_asid = getpid();
157 info->ai_mask.am_success = 0; /* cover error case */
158 info->ai_mask.am_failure = 0;
170 info->ai_auid = pwd.pw_uid;
176 info->ai_mask.am_success = mask.am_success;
177 info->ai_mask.am_failure = mask.am_failure;
183 audit_cron_setinfo(char *fname, struct auditinfo_addr *info)
203 info->ai_auid,
204 info->ai_mask.am_success,
205 info->ai_mask.am_failure,
206 info->ai_termid.at_port,
207 info->ai_termid.at_type,
208 info->ai_termid.at_addr[0],
209 info->ai_termid.at_addr[1],
210 info->ai_termid.at_addr[2],
211 info->ai_termid.at_addr[3],
212 info->ai_asid);
289 struct auditinfo_addr info;
325 r = audit_cron_getinfo(fname, anc_file, &info);
350 info.ai_mask.am_success |= mask.am_success;
351 info.ai_mask.am_failure |= mask.am_failure;
355 aug_save_auid(info.ai_auid);
356 aug_save_asid(info.ai_asid);
357 aug_save_tid_ex(info.ai_termid.at_port, info.ai_termid.at_addr,
358 info.ai_termid.at_type);
366 return (setaudit_addr(&info, sizeof (info)));