version 1.1.1.2, 2012/05/29 12:26:49
|
version 1.1.1.3, 2012/10/09 09:29:52
|
Line 30
|
Line 30
|
/* exec.c */ |
/* exec.c */ |
int sudo_execve(const char *path, char *const argv[], char *const envp[], int noexec); |
int sudo_execve(const char *path, char *const argv[], char *const envp[], int noexec); |
int pipe_nonblock(int fds[2]); |
int pipe_nonblock(int fds[2]); |
|
extern volatile pid_t cmnd_pid; |
|
|
/* exec_pty.c */ |
/* exec_pty.c */ |
struct command_details; |
struct command_details; |
struct command_status; |
struct command_status; |
int fork_pty(struct command_details *details, int sv[], int *maxfd); | int fork_pty(struct command_details *details, int sv[], int *maxfd, sigset_t *omask); |
int perform_io(fd_set *fdsr, fd_set *fdsw, struct command_status *cstat); |
int perform_io(fd_set *fdsr, fd_set *fdsw, struct command_status *cstat); |
int suspend_parent(int signo); |
int suspend_parent(int signo); |
void fd_set_iobs(fd_set *fdsr, fd_set *fdsw); |
void fd_set_iobs(fd_set *fdsr, fd_set *fdsw); |
|
#ifdef SA_SIGINFO |
|
void handler(int s, siginfo_t *info, void *context); |
|
#else |
void handler(int s); |
void handler(int s); |
|
#endif |
void pty_close(struct command_status *cstat); |
void pty_close(struct command_status *cstat); |
void pty_setup(uid_t uid, const char *tty, const char *utmp_user); |
void pty_setup(uid_t uid, const char *tty, const char *utmp_user); |
void terminate_child(pid_t pid, bool use_pgrp); | void terminate_command(pid_t pid, bool use_pgrp); |
extern int signal_pipe[2]; |
extern int signal_pipe[2]; |
|
|
/* utmp.c */ |
/* utmp.c */ |