mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-31 22:35:10 +00:00
Rename __dso_public -> sudo_dso_public and move to config.h.
This commit is contained in:
@@ -145,7 +145,7 @@ python_plugin_approval_show_version(struct ApprovalPluginContext *approval_ctx,
|
||||
CALLBACK_PYNAME(show_version), verbose, PY_APPROVAL_PLUGIN_VERSION, "approval"));
|
||||
}
|
||||
|
||||
__dso_public struct approval_plugin python_approval;
|
||||
sudo_dso_public struct approval_plugin python_approval;
|
||||
|
||||
// generate symbols for loading multiple approval plugins:
|
||||
#define APPROVAL_SYMBOL_NAME(symbol) symbol
|
||||
@@ -175,7 +175,7 @@ static struct approval_plugin *extra_approval_plugins[] = {
|
||||
&python_approval7
|
||||
};
|
||||
|
||||
__dso_public struct approval_plugin *
|
||||
sudo_dso_public struct approval_plugin *
|
||||
python_approval_clone(void)
|
||||
{
|
||||
static size_t counter = 0;
|
||||
|
@@ -233,7 +233,7 @@ python_plugin_audit_show_version(struct AuditPluginContext *audit_ctx, int verbo
|
||||
CALLBACK_PYNAME(show_version), verbose, PY_AUDIT_PLUGIN_VERSION, "audit"));
|
||||
}
|
||||
|
||||
__dso_public struct audit_plugin python_audit;
|
||||
sudo_dso_public struct audit_plugin python_audit;
|
||||
|
||||
// generate symbols for loading multiple audit plugins:
|
||||
#define AUDIT_SYMBOL_NAME(symbol) symbol
|
||||
@@ -263,7 +263,7 @@ static struct audit_plugin *extra_audit_plugins[] = {
|
||||
&python_audit7
|
||||
};
|
||||
|
||||
__dso_public struct audit_plugin *
|
||||
sudo_dso_public struct audit_plugin *
|
||||
python_audit_clone(void)
|
||||
{
|
||||
static size_t counter = 0;
|
||||
|
@@ -106,7 +106,7 @@ python_plugin_group_query(const char *user, const char *group, const struct pass
|
||||
debug_return_int(rc);
|
||||
}
|
||||
|
||||
__dso_public struct sudoers_group_plugin group_plugin = {
|
||||
sudo_dso_public struct sudoers_group_plugin group_plugin = {
|
||||
GROUP_API_VERSION,
|
||||
CALLBACK_CFUNC(init),
|
||||
CALLBACK_CFUNC(cleanup),
|
||||
|
@@ -230,7 +230,7 @@ python_plugin_io_log_suspend(struct IOPluginContext *io_ctx, int signo, const ch
|
||||
}
|
||||
|
||||
// generate symbols for loading multiple io plugins:
|
||||
__dso_public struct io_plugin python_io;
|
||||
sudo_dso_public struct io_plugin python_io;
|
||||
#define IO_SYMBOL_NAME(symbol) symbol
|
||||
#include "python_plugin_io_multi.inc"
|
||||
#define IO_SYMBOL_NAME(symbol) symbol##1
|
||||
@@ -258,7 +258,7 @@ static struct io_plugin *extra_io_plugins[] = {
|
||||
&python_io7
|
||||
};
|
||||
|
||||
__dso_public struct io_plugin *
|
||||
sudo_dso_public struct io_plugin *
|
||||
python_io_clone(void)
|
||||
{
|
||||
static size_t counter = 0;
|
||||
|
@@ -273,7 +273,7 @@ cleanup:
|
||||
debug_return_int(rc);
|
||||
}
|
||||
|
||||
__dso_public struct policy_plugin python_policy = {
|
||||
sudo_dso_public struct policy_plugin python_policy = {
|
||||
SUDO_POLICY_PLUGIN,
|
||||
SUDO_API_VERSION,
|
||||
CALLBACK_CFUNC(open),
|
||||
|
Reference in New Issue
Block a user