Unless you are lucky enough to have a MacDirtyCow-vulnerable device+OS, of course, but if you are going there why not just jailbreak?
Reply on news.ycombinator.com