mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-31 06:15:37 +00:00
Add missing python_plugin.exp.in file and remove unneeded __dso_public
This fixes building the python plugin on systems where the compiler doesn't support symbol hiding (but wherethe linker does).
This commit is contained in:
8
plugins/python/python_plugin.exp.in
Normal file
8
plugins/python/python_plugin.exp.in
Normal file
@@ -0,0 +1,8 @@
|
||||
group_plugin
|
||||
python_approval
|
||||
python_approval_clone
|
||||
python_audit
|
||||
python_audit_clone
|
||||
python_io
|
||||
python_io_clone
|
||||
python_policy
|
@@ -43,7 +43,7 @@ CALLBACK_CFUNC(show_version)(int verbose)
|
||||
return python_plugin_approval_show_version(&PLUGIN_CTX, verbose);
|
||||
}
|
||||
|
||||
__dso_public struct approval_plugin APPROVAL_SYMBOL_NAME(python_approval) = {
|
||||
struct approval_plugin APPROVAL_SYMBOL_NAME(python_approval) = {
|
||||
SUDO_APPROVAL_PLUGIN,
|
||||
SUDO_API_VERSION,
|
||||
CALLBACK_CFUNC(open),
|
||||
|
@@ -60,7 +60,7 @@ CALLBACK_CFUNC(show_version)(int verbose)
|
||||
return python_plugin_audit_show_version(&PLUGIN_CTX, verbose);
|
||||
}
|
||||
|
||||
__dso_public struct audit_plugin AUDIT_SYMBOL_NAME(python_audit) = {
|
||||
struct audit_plugin AUDIT_SYMBOL_NAME(python_audit) = {
|
||||
SUDO_AUDIT_PLUGIN,
|
||||
SUDO_API_VERSION,
|
||||
CALLBACK_CFUNC(open),
|
||||
|
Reference in New Issue
Block a user