Todd C. Miller
|
0011333f8e
|
Remove pivot_get_root() and pivot_get_cwd().
They are unnecessary since struct sudoers_pivot is not opaque.
The implementation details are private to match_command.c.
|
2023-09-13 16:46:23 -06:00 |
|
Todd C. Miller
|
34990c0e08
|
Use struct sudoers_pivot instead of defining sudoers_pivot_t.
We want to pass around a pointer, not the struct itself.
|
2023-09-13 08:36:07 -06:00 |
|
Todd C. Miller
|
0b52ffd1a2
|
Don't expose the implementation of the pivot_root state.
|
2023-09-11 16:15:41 -06:00 |
|
Todd C. Miller
|
d633d82f22
|
Fix typos and update excluded/ignored codespell lists.
|
2023-05-25 12:53:27 -06:00 |
|
Todd C. Miller
|
13a311bc71
|
Add pivot_root() and unpivot_root() to switch the root dir and restore it.
This will be used to more accurately handling command resolution and
path matching when a new root directory is specified.
|
2023-02-21 13:24:33 -07:00 |
|