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

Add functionality to run commands in a sandbox #72

Closed
wants to merge 10 commits into from

Conversation

R1kaB3rN
Copy link
Member

@R1kaB3rN R1kaB3rN commented May 2, 2024

Currently, winetricks and its descendent processes are not under a subreaper, so when the user force quits the program execution (e.g., keyboard interrupt via ctrl+c, closing a launcher window) they will not be reaped. As a result, the user has to manually kill the winetricks background processes.

This pull request makes it so winetricks and its descendents processes will be sandboxed and killed automatically when the user forcibly quits by running the command via bubblewrap provided by the Steam runtime platform. Additionally, only the entire file hierarchy except Wine prefix, Proton, winetricks cache and game directory will be mounted read-only and only the host's network namespace will be shared to provide some security.

@R1kaB3rN R1kaB3rN marked this pull request as ready for review May 8, 2024 04:31
@R1kaB3rN R1kaB3rN marked this pull request as draft May 10, 2024 22:24
@R1kaB3rN R1kaB3rN closed this May 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant