Todd C. Miller
4e87e1a97b
Fix typo in a test: python_policy->close not python_io->close
2020-01-28 13:00:33 -07:00
Robert Manner
99f8394182
plugins/python/regress: add a failing textcase about python plugins affect each other
...
Since python plugins are run inside the same interpreter, they affect
each other's state, which would be better to avoid.
2020-01-24 12:25:15 -07:00
Robert Manner
d67c64bb37
plugins/python/pyhelpers: have a default sudo_printf function
...
Adapted the default sudo_printf from sudoers plugin to be able to print
errors before plugin open() gets called. (This is used by the multiple io
plugin loading to display error for too much plugin load.)
Since this makes us always have a sudo_log, I have removed the logic about
whether it is available or not.
2020-01-23 12:46:14 -07:00
Robert Manner
2eeda38f95
plugins/python/regress: add a testcase for multiple io plugin loading
...
to verify 2 python plugins can work next to each other.
2020-01-23 12:46:14 -07:00
Robert Manner
8cacaabe9b
plugins/python/regress: add missing license texts
2020-01-20 06:30:20 -07:00
Robert Manner
b66ecf6e13
plugins/python: various portability improvements
2020-01-20 06:30:20 -07:00
Robert Manner
40f2189586
plugins/python/regress: load the python plugin dynamically
...
instead of linking with it.
2020-01-20 06:30:20 -07:00
Robert Manner
5da7bd562c
plugins/python/regress: adds tests for python plugin feature and examples
2020-01-20 06:30:20 -07:00