Todd C. Miller
|
79f178923e
|
Replace timerfoo macros with timevalfoo since the timer macros are known
to be busted on some systems.
|
2010-06-08 18:38:23 -04:00 |
|
Todd C. Miller
|
e3ac18f510
|
Remove unneeded endpwent()/endgrent()
|
2010-06-04 12:11:02 -04:00 |
|
Todd C. Miller
|
fa717176b2
|
Remove check_sudoedit function pointer in struct sudo_policy.
Instead, sudo will set sudoedit=true in the settings array.
The plugin should check for this and modify argv_out as appropriate
in check_policy.
|
2010-05-17 10:25:27 -04:00 |
|
Todd C. Miller
|
3ac9aee52e
|
If plugin sets "sudoedit=true" in the command info, enable
sudoedit mode even if not invoked as sudoedit. This allows
a plugin to enable sudoedit when the user runs an editor.
|
2010-05-16 19:27:04 -04:00 |
|
Todd C. Miller
|
e336dac874
|
Attempt to fix building on systems that only have setuid.
|
2010-05-14 16:35:03 -04:00 |
|
Todd C. Miller
|
39652bf75f
|
Fix compilation on HP-UX
|
2010-05-13 20:10:21 -04:00 |
|
Todd C. Miller
|
7c9c5855fd
|
Change how we handle the sudoedit argv. We now require that there
be a "--" in argv to separate the editor and any command line arguments
from the files to be edited.
|
2010-05-13 17:11:31 -04:00 |
|
Todd C. Miller
|
fdd28d411f
|
Work in progress support for sudoedit. The actual interface used by the
plugin for sudoedit is likely to change.
|
2010-05-13 14:09:21 -04:00 |
|
Todd C. Miller
|
44341c9c15
|
Main sudo should not block signals; the plugin should do this in
check_policy.
|
2010-04-01 06:35:19 -04:00 |
|
Todd C. Miller
|
c857c74e3a
|
Convert to ANSI C
|
2010-03-04 20:18:22 -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
|
e90fa482f9
|
Rework source layout in preparation for modular sudo.
|
2010-02-20 09:14:01 -05:00 |
|