Fix logging intercepted commands to a log server in sudoers.

Only available when the server supports the subcommands capability.
This commit is contained in:
Todd C. Miller
2021-08-09 15:50:26 -06:00
parent 3a090dcdcd
commit 2e99450d40
5 changed files with 118 additions and 51 deletions

View File

@@ -64,9 +64,6 @@ static struct sudoers_io_operations {
const char **errstr);
} io_operations;
#ifdef SUDOERS_LOG_CLIENT
static struct client_closure *client_closure;
#endif
static struct log_details iolog_details;
static bool warned = false;
static int iolog_dir_fd = -1;