[PATCH v2 0/3] provide check for ro_after_init memory sections

2017-02-17 Thread Eddie Kovsky
Provide a mechansim for other functions to verify that their arguments are read-only. Use this mechansim in the vmbus register functions to reject arguments that fail this test. This implements a suggestion made by Kees Cook for the Kernel Self Protection Project: * provide mechanism to

[PATCH v2 0/3] provide check for ro_after_init memory sections

2017-02-17 Thread Eddie Kovsky
Provide a mechansim for other functions to verify that their arguments are read-only. Use this mechansim in the vmbus register functions to reject arguments that fail this test. This implements a suggestion made by Kees Cook for the Kernel Self Protection Project: * provide mechanism to