~ubuntu-branches/ubuntu/saucy/sudo/saucy

« back to all changes in this revision

Viewing changes to src/sudo_exec.h

  • Committer: Package Import Robot
  • Author(s): Stéphane Graber
  • Date: 2012-11-16 09:31:32 UTC
  • mfrom: (1.4.13)
  • Revision ID: package-import@ubuntu.com-20121116093132-ptext55adlzbrq6y
Tags: 1.8.6p3-0ubuntu1
* New upstream release (1.8.6p3).
* Add patch to fix building with sssd when ldap is disabled.
* Drop sudo.manpages and sudo-ldap.manpages as the upstream build system
  now does the right thing here.
* Build the main sudo package with support for sssd, this doesn't add any
  additional build time or runtime dependency. sudo will dynamically load
  the sssd library if 'sss' is listed for the 'sudoers' nss service.

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
/* exec.c */
31
31
int sudo_execve(const char *path, char *const argv[], char *const envp[], int noexec);
32
32
int pipe_nonblock(int fds[2]);
 
33
extern volatile pid_t cmnd_pid;
33
34
 
34
35
/* exec_pty.c */
35
36
struct command_details;
36
37
struct command_status;
37
 
int fork_pty(struct command_details *details, int sv[], int *maxfd);
 
38
int fork_pty(struct command_details *details, int sv[], int *maxfd, sigset_t *omask);
38
39
int perform_io(fd_set *fdsr, fd_set *fdsw, struct command_status *cstat);
39
40
int suspend_parent(int signo);
40
41
void fd_set_iobs(fd_set *fdsr, fd_set *fdsw);
 
42
#ifdef SA_SIGINFO
 
43
void handler(int s, siginfo_t *info, void *context);
 
44
#else
41
45
void handler(int s);
 
46
#endif
42
47
void pty_close(struct command_status *cstat);
43
48
void pty_setup(uid_t uid, const char *tty, const char *utmp_user);
44
 
void terminate_child(pid_t pid, bool use_pgrp);
 
49
void terminate_command(pid_t pid, bool use_pgrp);
45
50
extern int signal_pipe[2];
46
51
 
47
52
/* utmp.c */