On 8/1/21, John Cowan <cowan(a)ccil.org> wrote:
In that case you don't need *any* primitive except create_empty_process():
you can do exec() by opening the file, writing to /proc/<child>/mem and
then to <proc/<child>/pc-and-go.
Yes, although that would break if the permissions for the program are
execute-only (which admittedly is of limited security value in most
cases).