-
Notifications
You must be signed in to change notification settings - Fork 2
Add chroot() support #38
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Introduction
Many services use chroot() to improve security. Supporting specifying root directory in Airup service manifest could make the system more secure.
Unresolved Questions
- Rust standard library haven't supported
chroot-ing for child processes yet. However, when usingpre_execto reach the goal,setuid()is earlier called, causing user switching to be conflicted withchroot-ing (that's also why we commentedsetgroup()). Should we switch to usepre_execforsetuid(), too, in order to keep the order?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request