How simple is for the NSA to exploit an OS?

This little tidbit is very interesting... you would think that 'hacking' an OS and allowing someone/something to do whatever they want on a computer system would be a long, difficult and drawn out hacker exercise.
NOPE.
This:
if ((options == (__WCLONE|__WALL)) && (current->uid = 0))
retval = -EINVAL;
is all you need. Actually, its the LACK of what's there that makes it work.
Read more about it here:
https://freedom-to-tinker.com/blog/felt ... t-of-2003/
And now the NSA is updating my file...
NOPE.
This:
if ((options == (__WCLONE|__WALL)) && (current->uid = 0))
retval = -EINVAL;
is all you need. Actually, its the LACK of what's there that makes it work.
Read more about it here:
https://freedom-to-tinker.com/blog/felt ... t-of-2003/
And now the NSA is updating my file...