nelhage / reptyr

Reparent a running program to a new terminal
MIT License
5.71k stars 216 forks source link

freebsd: a little more cleanup and arm32 support #147

Closed kevans91 closed 1 year ago

kevans91 commented 1 year ago

This kills off some dead code (we don't need saved_syscall and arch_set_syscall can never fail), adds support for spilling syscall args to the stack, and adds 32-bit arm support which required args-on-stack.

nelhage commented 1 year ago

Looks like FreeBSD CI is failing -- I think r_sp may be ARM only

kevans91 commented 1 year ago

Looks like FreeBSD CI is failing -- I think r_sp may be ARM only

Whoops, forgot to re-test on x86. Thanks!

nelhage commented 1 year ago

Looks good!

kevans91 commented 1 year ago

Thanks!