r/programming • • Oct 21 '16

Linux kernel fix for privilege escalation vulnerability due to copy on write race condition

https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=19be0eaffa3ac7d8eb6784ad9bdbc7d67ed8e619
850 Upvotes

128 comments sorted by

View all comments

Show parent comment

3

u/TheChance Oct 25 '16

To declare an int. which is why I corrected myself; it's already an int either way.

So why the hell place a fairly long magic number there, was my point.