LWN.net Logo

The trouble with CAP_SYS_RAWIO

The trouble with CAP_SYS_RAWIO

Posted Mar 14, 2013 12:55 UTC (Thu) by paulj (subscriber, #341)
Parent article: The trouble with CAP_SYS_RAWIO

Oh, in other fields of computer science, changing semantics of protocols in incompatible ways is often handled through versioning.

I.e. the capability calls need a version flag, perhaps?


(Log in to post comments)

The trouble with CAP_SYS_RAWIO

Posted Mar 14, 2013 15:30 UTC (Thu) by paulj (subscriber, #341) [Link]

And looking into this, cap_user_header_t actually has a version field! So this problem may well be fixable without hacks or breakage, if the kernel developers start to consider that the semantic meaning of capabilities, as exposed to user-space, is versioned.

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