commit | 3d13f313ce4c34c524ccc37986fe77172f601ff3 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <[email protected]> | Tue Aug 11 18:33:47 2020 -0700 |
committer | Linus Torvalds <[email protected]> | Wed Aug 12 10:57:59 2020 -0700 |
tree | fd71a87be80c03601ab0e3be425fe45da116b5ba | |
parent | 428e2976a5bf7e7f5554286d7a5a33b8147b106a [diff] |
uaccess: add force_uaccess_{begin,end} helpers Add helpers to wrap the get_fs/set_fs magic for undoing any damange done by set_fs(KERNEL_DS). There is no real functional benefit, but this documents the intent of these calls better, and will allow stubbing the functions out easily for kernels builds that do not allow address space overrides in the future. [[email protected]: drop two incorrect hunks, fix a commit log typo] Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Christoph Hellwig <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Acked-by: Linus Torvalds <[email protected]> Acked-by: Mark Rutland <[email protected]> Acked-by: Greentime Hu <[email protected]> Acked-by: Geert Uytterhoeven <[email protected]> Cc: Nick Hu <[email protected]> Cc: Vincent Chen <[email protected]> Cc: Paul Walmsley <[email protected]> Cc: Palmer Dabbelt <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Linus Torvalds <[email protected]>