diff options
author | H. Peter Anvin <hpa@linux.intel.com> | 2013-08-30 15:43:03 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2013-09-01 14:09:48 -0700 |
commit | 7263dda41b5a28ae6566fd126d9b06ada73dd721 (patch) | |
tree | 038c70f2e86655fc513ec99e141405a43e3a1632 /include/linux | |
parent | d8dfad3876e4386666b759da3c833d62fb8b2267 (diff) | |
download | op-kernel-dev-7263dda41b5a28ae6566fd126d9b06ada73dd721.zip op-kernel-dev-7263dda41b5a28ae6566fd126d9b06ada73dd721.tar.gz |
x86, smap: Handle csum_partial_copy_*_user()
Add SMAP annotations to csum_partial_copy_to/from_user(). These
functions legitimately access user space and thus need to set the AC
flag.
TODO: add explicit checks that the side with the kernel space pointer
really points into kernel space.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Link: http://lkml.kernel.org/n/tip-2aps0u00eer658fd5xyanan7@git.kernel.org
Cc: <stable@vger.kernel.org> # v3.7+
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions