Stub out pivot_root() and unpivot_root() for all but the sudoers module.

This commit is contained in:
Todd C. Miller
2023-02-21 14:46:27 -07:00
parent 8b9c1b962f
commit 1bcddb9602
4 changed files with 47 additions and 8 deletions

View File

@@ -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.
*/