Lines Matching defs:ah
61 adt_session_data_t *ah;
67 if (adt_start_session(&ah, NULL, ADT_USE_PROC_DATA)) {
71 if (adt_set_user(ah, pwd->pw_uid, pwd->pw_gid,
74 (void) adt_end_session(ah);
77 event = adt_alloc_event(ah, event_id);
93 (void) adt_end_session(ah);
108 audit_logout(ah); /* fork to catch logout */
112 (void) adt_end_session(ah);
119 audit_logout(adt_session_data_t *ah)
126 if ((logout = adt_alloc_event(ah, ADT_logout)) == NULL) {
196 (void) adt_end_session(ah);
209 adt_session_data_t *ah;
215 if (adt_start_session(&ah, NULL, ADT_USE_PROC_DATA))
236 if (adt_set_user(ah, uid, gid, uid, gid, p_tid, ADT_NEW)) {
237 (void) adt_end_session(ah);
245 event = adt_alloc_event(ah, event_id);
257 (void) adt_end_session(ah);