Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Write our own chroot support using syscall instead of calling chroot binary #66

Open
joebonrichie opened this issue Jan 25, 2024 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@joebonrichie
Copy link
Contributor

Instead of calling out the to the chroot binary write our own chroot support using the syscall.

This should be able to handle stdin and spawn a bash binary.

The main benefit of this is that we can immediately chroot into the $workdir directory instead of /home/user/.

See f658849 as a starting point, the difference being it'll have to spawn bash and handle stdin.

@ermo ermo added the enhancement New feature or request label Feb 27, 2024
@ermo ermo modified the milestones: 1.6.0, 1.6.x Feb 27, 2024
@silkeh silkeh modified the milestones: 1.6.x, 1.7.0 Feb 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Todo
Development

No branches or pull requests

3 participants