LWN.net Logo

Wrong name

Wrong name

Posted Jan 17, 2008 16:17 UTC (Thu) by tbellman (guest, #49983)
In reply to: Wrong name by nix
Parent article: A kernel security hole

Except that it wouldn't have helped.  The buggy code used FMODE_WRITE to check the bit in the
variable 'flag'; the correct code uses MAY_WRITE to check the bit in the variable 'acc_mode'.
The buggy code did use the correct access mechanisms for the variable it looked at, so no
amount of BDSM type control would have helped.


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds