Linux Local Privilege Escalation via SUID /proc/pid/mem Write
The use of goto[1] in this code surprises me. Isn't use of it still generally shunned?<p>Appearing in the Linux kernel makes me reconsider my avoidance of it[2]. A quick google throws up a discussion with Linus in 2003[3] which can be summarised as: don't blame the tool, blame the programmer and as a tool goto has a place.<p>[1] XKCD comic on the subject <a href="http://xkcd.com/292/" rel="nofollow">http://xkcd.com/292/</a><p>[2] On my infrequent visits to C++ land, I generally live in Python land where goto doesn't exist.<p>[3] <a href="http://kerneltrap.org/node/553/2131" rel="nofollow">http://kerneltrap.org/node/553/2131</a>