missing: move audit related definitions to missing_audit.h

This commit is contained in:
Yu Watanabe
2018-12-06 13:25:24 +01:00
parent 851d66fac2
commit 0e7117d001
3 changed files with 26 additions and 21 deletions
+24
View File
@@ -0,0 +1,24 @@
/* SPDX-License-Identifier: LGPL-2.1+ */
#pragma once
#include <linux/audit.h>
#if HAVE_AUDIT
#include <libaudit.h>
#endif
#ifndef AUDIT_SERVICE_START
#define AUDIT_SERVICE_START 1130 /* Service (daemon) start */
#endif
#ifndef AUDIT_SERVICE_STOP
#define AUDIT_SERVICE_STOP 1131 /* Service (daemon) stop */
#endif
#ifndef MAX_AUDIT_MESSAGE_LENGTH
#define MAX_AUDIT_MESSAGE_LENGTH 8970
#endif
#ifndef AUDIT_NLGRP_MAX
#define AUDIT_NLGRP_READLOG 1
#endif