Skip to content
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

Proof of Concept: process replacement #29

Closed
zkat opened this issue Nov 29, 2019 · 1 comment
Closed

Proof of Concept: process replacement #29

zkat opened this issue Nov 29, 2019 · 1 comment
Assignees

Comments

@zkat
Copy link
Contributor

zkat commented Nov 29, 2019

So it dawned on me that doing things from Rust means we have access to the execve(2) syscall, which replaces the current process with another process.

The idea with this spike is to prove out that a dstopic node ... command is possible where the node "child" process takes on the same pid and assumes it was invoked directly by the user.

@zkat zkat self-assigned this Nov 29, 2019
@zkat
Copy link
Contributor Author

zkat commented Nov 29, 2019

Looks like this can't be done cross-platform, so we'll just spawn it as a child process and whatever.

@zkat zkat closed this as completed Nov 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant