Todd C. Miller
07bf968c4d
Document -D level command line flag which maps to the debug_level setting.
2010-02-24 07:48:53 -05:00
Todd C. Miller
7200af0ce1
Add missing compat bits
2010-02-21 21:15:38 -05:00
Todd C. Miller
fadb324f1a
Fix up compat dependencies.
...
Fix distclean target in doc/Makefile.in
2010-02-21 16:12:01 -05:00
Todd C. Miller
ad4a07a44e
Handle SIGSTOP in addition to SIGTSTP. Fixes a problem with suspending
...
a shell with the "suspend" builtint.
2010-02-21 10:36:50 -05:00
Todd C. Miller
d73e870e6f
In child, handle parent side of the pipe going away.
2010-02-21 10:30:43 -05:00
Todd C. Miller
32ea572f27
No longer need to check for explicit death of the child (process #2 )
...
since if it dies we will get EPIPE from the socketpair.
Fix a sizeof() that was causing a spurious error.
Convert SCRIPT_DEBUG to sudo_debug.
2010-02-21 10:26:30 -05:00
Todd C. Miller
c2aaf8fbfb
Make sudo_debug do a single vfprintf() which will result in a single
...
write call on most systems. Avoids problems with interleaved debug
printf from different processes. Also remove an extraneous error case
since recv() can't return a short read and add some more XXX.
2010-02-21 10:24:27 -05:00
Todd C. Miller
afcac08246
Fix uninitialized variable.
2010-02-20 15:13:11 -05:00
Todd C. Miller
121c547052
Fix sudo install target
2010-02-20 14:47:43 -05:00
Todd C. Miller
abb431b363
Wire up debug_level
2010-02-20 13:25:10 -05:00
Todd C. Miller
b4e0f503e1
Fix dependencies
2010-02-20 13:24:50 -05:00
Todd C. Miller
4b88f1a7ef
Add missing source for sudo front end
2010-02-20 09:47:46 -05:00
Todd C. Miller
b6a4cf7233
Modular sudo front-end which loads policy and I/O plugins that do
...
most the actual work. Currently relies on dynamic loading using
dlopen(). See doc/plugin.pod for the plugin API.
2010-02-20 09:41:49 -05:00
Todd C. Miller
d6187f5ad3
Replace emul/include.h with compat/include.h to match new source
...
tree layout.
2010-02-20 09:22:30 -05:00
Todd C. Miller
dc525d2587
Include missing.h for memrchr() proto
2010-02-20 09:17:54 -05:00
Todd C. Miller
e90fa482f9
Rework source layout in preparation for modular sudo.
2010-02-20 09:14:01 -05:00