I understand that fork safety is a thing, and in the rust version, it's completely disallowed in multi-threaded processes. While, this makes a lot of sense for any time one is doing a generic fork, as it'll result in strange (perhaps an understatement) behaviour, but when you're just doing a fork-exec, I do not believe the restriction makes as much sense.
I'm curious whether folks would be open to:
1. Allowing for CLONE_PARENT to be set as part of clone. This would make it so that a user could first do their own fork, having a single-threaded process, and then calling minijail to fork once more.
2. The ability to bypass the fork-safety test, as an option to minijail?