Add configure check for vfork(2) and fall back to fork(2) if missing.

This commit is contained in:
Todd C. Miller
2022-05-31 14:47:39 -06:00
parent f52342031d
commit cec83a05a3
4 changed files with 10 additions and 1 deletions

View File

@@ -52,6 +52,10 @@
#include "sudo_util.h"
#include "pathnames.h"
#ifndef HAVE_VFORK
# define vfork fork
#endif
/* execl flavors */
#define SUDO_EXECL 0x0
#define SUDO_EXECLE 0x1