Add support for loading the sudo_intercept.so DSO.

This commit is contained in:
Todd C. Miller
2021-08-09 15:50:25 -06:00
parent 786e5865cb
commit 6287e8ca7d
18 changed files with 333 additions and 60 deletions

View File

@@ -92,8 +92,9 @@ void terminate_command(pid_t pid, bool use_pgrp);
bool sudo_terminated(struct command_status *cstat);
/* exec_common.c */
int sudo_execve(int fd, const char *path, char *const argv[], char *envp[], bool noexec);
int sudo_execve(int fd, const char *path, char *const argv[], char *envp[], int flags);
char **disable_execute(char *envp[], const char *dso);
char **enable_monitor(char *envp[], const char *dso);
/* exec_nopty.c */
void exec_nopty(struct command_details *details, struct command_status *cstat);