/
githubmirror
/
sudo
ОбзорДокументацияВойти
/
githubmirror
/
sudo
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
sudo/
plugins/python/
..
regress

Update expected plugin version.

4 года назад
Makefile.in

Add adminconfdir and --enable-adminconf to set it. Configuration paths in sudo are now a colon-separated list of files with the adminconfdir instance first (if enabled), followed by a sysconfdir instance.

3 года назад
example_approval_plugin.py

Avoid using typing annotations so tests run with Python 3.4.

6 лет назад
example_audit_plugin.py

Avoid using typing annotations so tests run with Python 3.4.

6 лет назад
example_conversation.py

If the signal.Signals enum is not present, search the dictionary. The Signals enum was added in Python 3.5. If it is not present we need to iterate over the dictionary items, looking for signal name to number mappings. Fixes the signal tests with Python 3.4.

6 лет назад
example_debugging.py

Apply spelling fixes. Fixes from PR #30 (ka7) and Bug #925 (fossies.org codespell)

6 лет назад
example_group_plugin.py

Avoid using typing annotations so tests run with Python 3.4.

6 лет назад
example_io_plugin.py

If the signal.Signals enum is not present, search the dictionary. The Signals enum was added in Python 3.5. If it is not present we need to iterate over the dictionary items, looking for signal name to number mappings. Fixes the signal tests with Python 3.4.

6 лет назад
example_policy_plugin.py

Avoid using typing annotations so tests run with Python 3.4.

6 лет назад
lsan_suppr.txt

Add a suppression file for the libpython leaks. This is a big hammer but it seems like the best we can do for now. Allows "make check" to succeed when address sanitizer is used.

5 лет назад
pyhelpers.c

Make sudo pass -Wmissing-prototypes

4 года назад
pyhelpers.h

Python may be built with 32-bit time_t support on 32-bit platforms. We need to undef the SIZEOF_TIME_T from pyconfig.h so it does not conflict with our own.

3 года назад
pyhelpers_cpychecker.h

plugins/python: a plugin which can load policy/io plugin written in python

7 лет назад
python_baseplugin.c

Update copyright year on some files where it was out of date.

6 лет назад
python_convmessage.c

Make sudo pass -Wwrite-strings

4 года назад
python_loghandler.c

Update copyright year on some files where it was out of date.

6 лет назад
python_plugin.exp

Rename python_plugin.exp.in -> python_plugin.exp There is nothing dynamic in this file.

6 лет назад
python_plugin_approval.c

Make sudo pass -Wmissing-prototypes

4 года назад
python_plugin_approval_multi.inc

Make sudo pass -Wmissing-prototypes

4 года назад
python_plugin_audit.c

Fix some dead stores noted by PVS Studio. Since rc is initialized to SUDO_RC_ERROR there is no need to set it to SUDO_RC_ERROR again on failure if rc has not been changed since initialization.

4 года назад
python_plugin_audit_multi.inc

Make sudo pass -Wmissing-prototypes

4 года назад
python_plugin_common.c

Remove the Python plugin import blocker code. The sudo.conf file is considered a trusted source of information and these checks suffer from TOCTOU issues anyway.

4 года назад
python_plugin_common.h

Update copyright year on some files where it was out of date.

6 лет назад
python_plugin_group.c

Make sudo pass -Wmissing-prototypes

4 года назад
python_plugin_io.c

Fix some dead stores noted by PVS Studio. Since rc is initialized to SUDO_RC_ERROR there is no need to set it to SUDO_RC_ERROR again on failure if rc has not been changed since initialization.

4 года назад
python_plugin_io_multi.inc

Make sudo pass -Wmissing-prototypes

4 года назад
python_plugin_policy.c

Fix some dead stores noted by PVS Studio. Since rc is initialized to SUDO_RC_ERROR there is no need to set it to SUDO_RC_ERROR again on failure if rc has not been changed since initialization.

4 года назад
sudo_python_debug.c

sudo_debug_register: add minfd argument to specify lowest fd number Use this in sudo_intercept.so to avoid allocating a low-numbered fd which the shell reserves for use by scripts.

5 лет назад
sudo_python_debug.h

We no longer need to include headers we don't use for sudo*.h files. Previously we needed to include headers required by the various sudo*h files. Now those files are more self-sufficient and we should only include headers needed by code in the various .c files.

6 лет назад
sudo_python_module.c

Make sudo pass -Wwrite-strings

4 года назад
sudo_python_module.h

Remove the Python plugin import blocker code. The sudo.conf file is considered a trusted source of information and these checks suffer from TOCTOU issues anyway.

4 года назад
ДокументацияПоддержка
Политика конфиденциальностиПользовательское соглашениеПолитика использования «cookies»Согласие субъекта персональных данных
2026 ©