Skip to content

Commit

Permalink
Add cmddenial_message to def_data.in
Browse files Browse the repository at this point in the history
  • Loading branch information
millert committed Nov 28, 2023
1 parent 5eba4b4 commit 77700a4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 0 additions & 1 deletion plugins/sudoers/def_data.c
Original file line number Diff line number Diff line change
Expand Up @@ -699,7 +699,6 @@ struct sudo_defs_types sudo_defs_table[] = {
"cmddenial_message", T_STR,
N_("Command denial message: %s"),
NULL,

}, {
NULL, 0, NULL
}
Expand Down
1 change: 0 additions & 1 deletion plugins/sudoers/def_data.h
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
3 changes: 3 additions & 0 deletions plugins/sudoers/def_data.in
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 77700a4

Please sign in to comment.