Move functions and symbols shared between exec.c and exec_pty.c
into sudo_exec.h.
This commit is contained in:
@@ -56,6 +56,7 @@
|
||||
#include <termios.h>
|
||||
|
||||
#include "sudo.h"
|
||||
#include "sudo_exec.h"
|
||||
#include "sudo_plugin.h"
|
||||
#include "sudo_plugin_int.h"
|
||||
|
||||
@@ -87,10 +88,6 @@ struct io_buffer {
|
||||
char buf[16 * 1024];
|
||||
};
|
||||
|
||||
/* shared with pty.c */
|
||||
extern sig_atomic_t recvsig[NSIG];
|
||||
extern void handler(int s);
|
||||
|
||||
static char slavename[PATH_MAX];
|
||||
static int foreground;
|
||||
static int io_fds[6] = { -1, -1, -1, -1, -1, -1};
|
||||
|
Reference in New Issue
Block a user