ego
ego copied to clipboard
How does Ego support clone()?
Hello and thanks for you effort in this project! I am trying to understand how do you support the clone() system call that native go application perform during startup.
Also do you use the edge8r library? Is it feasible/easy to include more system calls in your design?
Hi, The ego-go compiler enforces cgo. When cgo is enabled, Go will use pthread_create instead of clone.
Yes, EGo uses edger8r (from Open Enclave) internally. This is part of the underlying Edgeless RT. EGo's design doesn't provide for the user to add syscalls or ocalls, but one can add them to Edgeless RT. We do this every now and then. We'd also accept contributions if they are generic and helpful for EGo in general.