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

Fork bombs #21

Open
johnwcowan opened this issue Oct 4, 2020 · 1 comment
Open

Fork bombs #21

johnwcowan opened this issue Oct 4, 2020 · 1 comment

Comments

@johnwcowan
Copy link

(I realize the project is unmaintained, but I'll mention this anyway.)

CloudABI claims that programs that use it have no effect on global resources, so that they can safely be run without a container, VM, or other enclosure mechanism. However, fork bombs are still possible. (Tl;dr: a process forks, and then each child process forks, and then ...)

@m-ou-se
Copy link
Member

m-ou-se commented Oct 4, 2020

Sure. Programs could also consume 100% cpu, consume lots of memory, try to open billions of file descriptors, etc. Limiting these kind of things is up to the operating system, not the abi. (E.g. through setrlimit.)

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

2 participants