xselinux: Log messages to both libaudit and Xorg.0.log.
This commit is contained in:
parent
4d91b1d5e4
commit
3fb17a3e64
|
@ -497,6 +497,7 @@ SELinuxLog(int type, const char *fmt, ...)
|
|||
vsnprintf(buf, MAX_AUDIT_MESSAGE_LENGTH, fmt, ap);
|
||||
rc = audit_log_user_avc_message(audit_fd, aut, buf, NULL, NULL, NULL, 0);
|
||||
va_end(ap);
|
||||
LogMessageVerb(X_WARNING, 0, "%s", buf);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user