Fix typo in macOS execv change.

This commit is contained in:
Todd C. Miller
2021-08-24 08:09:20 -06:00
parent 98401c0588
commit df68f4c8d9

View File

@@ -91,7 +91,7 @@ my_execv(const char *cmnd, char * const argv[])
/* Magic to tell dyld to do symbol interposition. */ /* Magic to tell dyld to do symbol interposition. */
__attribute__((__used__)) static const interpose_t interposers[] __attribute__((__used__)) static const interpose_t interposers[]
__attribute__((__section__("__DATA,__interpose"))) = { __attribute__((__section__("__DATA,__interpose"))) = {
{ (void *)my_execve, (void *)execve } { (void *)my_execve, (void *)execve },
{ (void *)my_execv, (void *)execv } { (void *)my_execv, (void *)execv }
}; };