From: Todd C. Miller Date: Mon, 7 Feb 2011 14:43:14 +0000 (-0500) Subject: Use special values SIGCONT_FG and SIGCONT_BG instead of SIGUSR1 and X-Git-Tag: SUDO_1_7_5~23 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3a9b5a280c78cccc90415fda5b2d489bb29890e3;p=sudo Use special values SIGCONT_FG and SIGCONT_BG instead of SIGUSR1 and SIGUSR2 to indicate whether the child should be continued in the foreground or background. --HG-- branch : 1.7 --- diff --git a/sudo_exec.h b/sudo_exec.h index 83671080f..eb0290bcb 100644 --- a/sudo_exec.h +++ b/sudo_exec.h @@ -17,6 +17,12 @@ #ifndef _SUDO_EXEC_H #define _SUDO_EXEC_H +/* + * Special values to indicate whether continuing in foreground or background. + */ +#define SIGCONT_FG -2 +#define SIGCONT_BG -3 + /* * Symbols shared between exec.c and exec_pty.c */