[PATCH 05/17] prmem: shorthands for write rare on common types

Dave Hansen dave.hansen at intel.com
Thu Oct 25 00:28:12 UTC 2018


On 10/23/18 2:34 PM, Igor Stoppa wrote:
> Wrappers around the basic write rare functionality, addressing several
> common data types found in the kernel, allowing to specify the new
> values through immediates, like constants and defines.

I have to wonder whether this is the right way, or whether a
size-agnostic function like put_user() is the right way.  put_user() is
certainly easier to use.



More information about the Linux-security-module-archive mailing list