Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
# crasher
#include <stdlib.h>
int
main(){
while(1) fork();
}
int main with no return statement...
# linux
echo c > /proc/sysrq-trigger
man bash
It's too big and too slow.
man 5 compat
Any interpretation will surprise someone.
GTK messed up:
http://mail.gnome.org/archives/gtk-devel-list/2004-April/msg00230.html
/usr/local
http://lists.busybox.net/pipermail/busybox/2010-December/074114.html
echo "\U0001f4a9"
history of ascii
cat tmp/gdal/configure
System 7, AIX
# os x
https://developer.apple.com/library/mac/#technotes/tn2004/tn2118.html
sudo dtrace -w -n "BEGIN{ panic();}"
http://openradar.appspot.com/10707993
#include <unistd.h>
#include <util.h>
int main() {
for (int i = 0; i < 10000; ++i) {
printf("Allocating pty %d\n", i + 1);
int master, slave;
pid_t p = forkpty(&master, NULL, NULL, NULL);
if (p < 0) {
perror("forkpty failed");
return 1;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.