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

Closed
joebonrichie opened this issue Jan 25, 2024 · 1 comment · Fixed by #107
Closed

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

joebonrichie opened this issue Jan 25, 2024 · 1 comment · Fixed by #107
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
@ermo
Copy link
Contributor

ermo commented Sep 21, 2024

Fixed in #107

@ermo ermo closed this as completed Sep 21, 2024
@github-project-automation github-project-automation bot moved this from Todo to Done in Tool Maintenance Sep 21, 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
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants