mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 08:25:20 +09:00
missing_audit: AUDIT_NLGRP_READLOG is defined since kernel v3.16
More specifically, since 451f921639fea4600dfb9ab2889332bdcc7b48d3. Now, our kernel baseline is 5.4. Hence, we can drop the definition.
This commit is contained in:
@@ -24,11 +24,3 @@ assert_cc(AUDIT_SERVICE_STOP == 1131);
|
||||
#else
|
||||
assert_cc(MAX_AUDIT_MESSAGE_LENGTH == 8970);
|
||||
#endif
|
||||
|
||||
/* Note: we check for AUDIT_NLGRP_MAX because it's a define, but we actually
|
||||
* need AUDIT_NLGRP_READLOG which is an enum. */
|
||||
#ifndef AUDIT_NLGRP_MAX
|
||||
# define AUDIT_NLGRP_READLOG 1
|
||||
#else
|
||||
assert_cc(AUDIT_NLGRP_READLOG == 1);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user