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.
This commit is contained in:
Todd C. Miller
2011-02-03 09:59:41 -05:00
parent 34a087acf6
commit 2959d5dadd
2 changed files with 12 additions and 5 deletions

View File

@@ -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
*/