mirror of
https://github.com/morgan9e/systemd
synced 2026-04-15 00:47:10 +09:00
More specifically, since 451f921639fea4600dfb9ab2889332bdcc7b48d3. Now, our kernel baseline is 5.4. Hence, we can drop the definition.
27 lines
555 B
C
27 lines
555 B
C
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
|
#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 */
|
|
#else
|
|
assert_cc(AUDIT_SERVICE_START == 1130);
|
|
#endif
|
|
|
|
#ifndef AUDIT_SERVICE_STOP
|
|
# define AUDIT_SERVICE_STOP 1131 /* Service (daemon) stop */
|
|
#else
|
|
assert_cc(AUDIT_SERVICE_STOP == 1131);
|
|
#endif
|
|
|
|
#ifndef MAX_AUDIT_MESSAGE_LENGTH
|
|
# define MAX_AUDIT_MESSAGE_LENGTH 8970
|
|
#else
|
|
assert_cc(MAX_AUDIT_MESSAGE_LENGTH == 8970);
|
|
#endif
|