为什么fork炸弹没有崩溃android?
16lz
2021-01-22
This is the simplest fork bomb
这是最简单的叉炸弹
:() { :|: & }; :
I executed it on many linux distros and all of them crashed.
我在许多Linux发行版上执行它,所有这些都崩溃了。
But when I executed this in an android terminal there was no effect even after granting Super user permissions.
但是当我在Android终端中执行此操作时,即使在授予超级用户权限后也没有任何效果。
Any Explanations why it did not crash the android system?
任何解释为什么它没有崩溃Android系统?
1 个解决方案
#1
9
In a word: ulimit
. the linux kernel allows a limit on the number of child processes, this can be tweaked using the ulimit() system call or the ulimit shell builtin.
总之一句话:ulimit。 Linux内核允许限制子进程的数量,这可以使用ulimit()系统调用或内置的ulimit shell进行调整。
eg:
ulimit -u 5
更多相关文章
- Linux系统下用C语言获取MAC地址
- Inotify: 高效、实时的Linux文件系统事件监控框架
- Linux系统调用过程分析
- linux系统被入侵后处理
- windows8.1+ubuntu 14.04双系统安装
- debain 系统 ll 命令无法使用.目录和文件没有颜色区分解决之道
- Tomcat设置首页(Linux系统)
- linux文件系统内容
- Linux 基础总结(一)--Linux常用系统变量,alias,Source,Linux ps1 ps