-
Notifications
You must be signed in to change notification settings - Fork 18k
syscall: no SYS_FORK and SYS_DUP2 on linux/arm64 #11981
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
Comments
Those syscalls are not supported on arm64. I don't know what the On Sun, 2 Aug 2015 15:58 jefby notifications@github.com wrote:
|
Related, I don't know how that code is using SYS_FORK, but I'd be worried On Sun, 2 Aug 2015 16:01 Dave Cheney dave@cheney.net wrote:
|
@davecheney ok,Thanks very much. |
@davecheney They uses SYS_FORK like below
and the source code is here.https://github.com/hyperhq/hyper/blob/master/hypervisor/qemu/qemu_process.go +47 line. |
I think that code is very dangerous. On Sun, 2 Aug 2015 16:05 jefby notifications@github.com wrote:
|
@davecheney Now if i want to reimplement this feature , how to do? I'm not familiar with go language. |
I recommend syscall.ForkExec. Thanks for testing on arm64. On Sun, 2 Aug 2015 16:12 jefby notifications@github.com wrote:
|
Closing, because I don't think there's anything to do here. |
Hi , recently i want to make the hyper(x86_64) work on arm64,found some error when compiling the source code,the main information like below:
Is go1.5beta2 not provided the syscall.Dup2 or syscall.SYS_FORK in arm64 ?? If i want to use these syscall,how to do ??
Thanks very much!
The text was updated successfully, but these errors were encountered: