mirror of
https://github.com/sudo-project/sudo.git
synced 2025-09-05 08:45:28 +00:00
Stub out pivot_root() and unpivot_root() for all but the sudoers module.
This commit is contained in:
@@ -56,6 +56,18 @@ init_eventlog_config(void)
|
||||
return;
|
||||
}
|
||||
|
||||
bool
|
||||
pivot_root(const char *new_root, int fds[2])
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
bool
|
||||
unpivot_root(int fds[2])
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
int
|
||||
group_plugin_query(const char *user, const char *group, const struct passwd *pw)
|
||||
{
|
||||
|
Reference in New Issue
Block a user