Lines Matching refs:auditon
37 * (AUDITD_FMRI/smf(5)) and the auditon system call.
115 static int auditing_set = 0; /* 1 if auditon(A_SETCOND, on... */
128 * err_exit() - exit function after the unsuccessful call to auditon();
161 (void) auditon(A_SETCOND, (caddr_t)&turn_audit_off,
218 if (auditon(A_SETCOND, (caddr_t)&turn_audit_on, sizeof (int)) !=
220 DPRINT((dbfp, "auditon(A_SETCOND...) failed (exit)\n"));
600 if (auditon(A_GETPOLICY, (char *)&policy, 0) == -1) {
601 DPRINT((dbfp, "auditon(A_GETPOLICY...) failed (exit)\n"));
613 if (auditon(A_GETCOND, (caddr_t)&acresult, sizeof (int)) != 0) {
614 DPRINT((dbfp, "auditon(A_GETCOND...) failed (exit)\n"));
621 if (auditon(A_GETQCTRL, (char *)&kqmax, sizeof (struct au_qctrl)) !=
623 DPRINT((dbfp, "auditon(A_GETQCTRL...) failed (exit)\n"));
772 * do_sethost - do auditon(2) to set the audit host-id.
788 if (auditon(A_GETKAUDIT, (caddr_t)&audit_info,
798 if (auditon(A_SETKAUDIT, (caddr_t)&audit_info,
828 if (auditon(A_GETSTAT, (caddr_t)&as, 0) != 0) {
842 if (auditon(A_SETCLASS, (caddr_t)&ec,
878 if (auditon(A_GETQCTRL, (caddr_t)&act_qctrl, 0) != 0) {
906 if (auditon(A_SETQCTRL, (caddr_t)&cfg_qctrl, 0) != 0) {
930 if (auditon(A_SETPOLICY, (caddr_t)&policy, 0) != 0) {