Edit: Fairly certain this isn't for Android and won't compile as such..
gcc -pthread dirtyc0w.c -o dirtyc0w
gcc -pthread -pie dirtyc0w.c -o dirtyc0w
gcc -pthread -fpie dirtyc0w.c -o dirtyc0w
gcc -pthread -pie -fpie dirtyc0w.c -o dirtyc0w
(not executable: 64-bit ELF file)
Unless you know I'm wrong I believe this is designed for a different OS.
Edit: Fairly certain this isn't for Android and won't compile as such..
gcc -pthread dirtyc0w.c -o dirtyc0w
gcc -pthread -pie dirtyc0w.c -o dirtyc0w
gcc -pthread -fpie dirtyc0w.c -o dirtyc0w
gcc -pthread -pie -fpie dirtyc0w.c -o dirtyc0w
(not executable: 64-bit ELF file)
Unless you know I'm wrong I believe this is designed for a different OS.