Stub out pivot_root() and unpivot_root() for all but the sudoers module.
This commit is contained in:
@@ -96,6 +96,20 @@ init_eventlog_config(void)
|
||||
return;
|
||||
}
|
||||
|
||||
/* STUB */
|
||||
bool
|
||||
pivot_root(const char *new_root, int fds[2])
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
/* STUB */
|
||||
bool
|
||||
unpivot_root(int fds[2])
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
/*
|
||||
* Look up the hostname and set user_host and user_shost.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user