Stop sending an InterceptResponse to a PolicyCheckRequest for log_subcmds.

There's no real reason for the command to wait for sudo send back a
response that will always be a PolicyAcceptMessage.
This commit is contained in:
Todd C. Miller
2022-06-30 13:35:07 -06:00
parent 985a2261bc
commit 3cd9c5f5e6
7 changed files with 97 additions and 39 deletions

View File

@@ -20,6 +20,7 @@
#define SUDO_EXEC_INTERCEPT_H
enum intercept_state {
INVALID_STATE,
RECV_HELLO_INITIAL,
RECV_HELLO,
RECV_SECRET,