From 77700a4b7ad026911ea5015d399b25a88fc14262 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Tue, 28 Nov 2023 15:19:24 -0700 Subject: [PATCH] Add cmddenial_message to def_data.in --- plugins/sudoers/def_data.c | 1 - plugins/sudoers/def_data.h | 1 - plugins/sudoers/def_data.in | 3 +++ 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/plugins/sudoers/def_data.c b/plugins/sudoers/def_data.c index 006c912166..f7ee4c80d1 100644 --- a/plugins/sudoers/def_data.c +++ b/plugins/sudoers/def_data.c @@ -699,7 +699,6 @@ struct sudo_defs_types sudo_defs_table[] = { "cmddenial_message", T_STR, N_("Command denial message: %s"), NULL, - }, { NULL, 0, NULL } diff --git a/plugins/sudoers/def_data.h b/plugins/sudoers/def_data.h index 2514f54921..f6ecdc3a40 100644 --- a/plugins/sudoers/def_data.h +++ b/plugins/sudoers/def_data.h @@ -325,7 +325,6 @@ #define I_CMDDENIAL_MESSAGE 161 #define def_cmddenial_message (sudo_defs_table[I_CMDDENIAL_MESSAGE].sd_un.str) - enum def_tuple { never, once, diff --git a/plugins/sudoers/def_data.in b/plugins/sudoers/def_data.in index 0d70967505..7c284f9944 100644 --- a/plugins/sudoers/def_data.in +++ b/plugins/sudoers/def_data.in @@ -500,3 +500,6 @@ intercept_verify apparmor_profile T_STR "AppArmor profile to use in the new security context: %s" +cmddenial_message + T_STR + "Command denial message: %s"