Linux 2.6.32-358.6.1.el6.x86_64 #1 SMP Tue Apr 23 19:29:00 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux (latest CentOS kernel):
[user@centos ~]$ gcc -O2 exploit.c
[user@centos ~]$ ./a.out
2.6.37-3.x x86_64
sd@fucksheep.org 2010
-sh-4.1#Linux 2.6.32-358.6.1.el6.x86_64 #1 SMP Tue Apr 23 19:29:00 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux (latest CentOS kernel):
[user@centos ~]$ gcc -O2 exploit.c
[user@centos ~]$ ./a.out
2.6.37-3.x x86_64
sd@fucksheep.org 2010
-sh-4.1#* Linux beqbrgbrg1ux006.tpvision.com 3.2.0-29-generic #46-Ubuntu SMP Fri Jul 27 17:03:23 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
* Linux DrinkCoffee 3.5.0-25-generic #38-Ubuntu SMP Mon Feb 18 23:27:42 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
And the process gets killed because of a kernel oops in both.
* Linux bk-ak 3.2.0-40-generic #64-Ubuntu SMP Mon Mar 25 21:22:10 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
[test@libros-dev tmp]$ ./a.out
Killed
This is in dmesg:
[2112052.363397] Oops: 0000 [#1] PREEMPT SMP
[2112052.363890] CPU 0
[2112052.363969] Pid: 3775, comm: a.out Not tainted 3.8.5-1-ARCH #1 innotek GmbH VirtualBox/VirtualBox