From df68f4c8d9ff59e0b6ab85660c832e0846ff2f5f Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Tue, 24 Aug 2021 08:09:20 -0600 Subject: [PATCH] Fix typo in macOS execv change. --- src/sudo_intercept.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sudo_intercept.c b/src/sudo_intercept.c index 1e4cbf80d..a02607cdb 100644 --- a/src/sudo_intercept.c +++ b/src/sudo_intercept.c @@ -91,7 +91,7 @@ my_execv(const char *cmnd, char * const argv[]) /* Magic to tell dyld to do symbol interposition. */ __attribute__((__used__)) static const interpose_t interposers[] __attribute__((__section__("__DATA,__interpose"))) = { - { (void *)my_execve, (void *)execve } + { (void *)my_execve, (void *)execve }, { (void *)my_execv, (void *)execv } };