From bc2bb59bddaaffa74c3cf88a6063975be0a16f9a Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Sat, 1 Mar 2025 05:34:23 +0900 Subject: [PATCH] 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. --- src/basic/missing_audit.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/basic/missing_audit.h b/src/basic/missing_audit.h index 3f72acf02f6..e14599ebe67 100644 --- a/src/basic/missing_audit.h +++ b/src/basic/missing_audit.h @@ -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 -- 2.47.3