Todd C. Miller
|
f64bb67c6c
|
Clean up some XXXs
|
2010-06-15 15:01:11 -04:00 |
|
Todd C. Miller
|
54ffb19ccb
|
remove setsid check, we require a POSIX system
|
2010-06-15 09:24:56 -04:00 |
|
Todd C. Miller
|
c2f8d24f20
|
Check for dup2() failure.
|
2010-06-15 09:02:23 -04:00 |
|
Todd C. Miller
|
d27223b4c7
|
Call selinux_restore_tty() as part of cleanup() so it gets called
from error()/errorx()
|
2010-06-14 15:09:15 -04:00 |
|
Todd C. Miller
|
047fc3876d
|
Remove sigaction emulation
Use SA_INTERRUPT in sa_flags
|
2010-06-10 15:18:23 -04:00 |
|
Todd C. Miller
|
34613c8465
|
Use a flag bit in struct command_details for selinux instead of a separate
field.
|
2010-06-09 16:25:44 -04:00 |
|
Todd C. Miller
|
4c1ef12648
|
Implement background mode. If I/O logging we use pipes instead of a pty.
|
2010-06-09 16:19:45 -04:00 |
|
Todd C. Miller
|
c5a6ca998a
|
Move compat definition of NSIG to compat.h
|
2010-06-09 13:57:07 -04:00 |
|
Todd C. Miller
|
e5283b2f96
|
Require POSIX termios to build sudo
|
2010-06-09 11:09:55 -04:00 |
|
Todd C. Miller
|
51f70f2040
|
Use POSIX tcgetpgrp() instead of BSD TIOCGPGRP ioctl
|
2010-06-09 09:54:58 -04:00 |
|
Todd C. Miller
|
edd34a2d7e
|
Add selinux_enabled flag into struct command_details and
set it in command_info_to_details().
Return an error from selinux_setup() instead of exiting.
Call selinux_setup() from exec_setup().
|
2010-06-08 17:59:18 -04:00 |
|
Todd C. Miller
|
ecfb70b056
|
Remove commented out copy of old sudo_execve() function.
|
2010-06-09 09:22:44 -04:00 |
|
Todd C. Miller
|
0be6bab05c
|
Remove duplicate call to selinux_setup().
|
2010-06-08 16:16:08 -04:00 |
|
Todd C. Miller
|
6717c59d77
|
Split exec.c into exec.c and exec_pty.c
|
2010-06-07 18:06:22 -04:00 |
|