diff options
author | Kefeng Wang <wangkefeng.wang@huawei.com> | 2022-10-19 11:49:43 +0800 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2022-11-08 17:37:19 -0800 |
commit | e39ee675f42e993bbf1c04b1ad7526db820ccdce (patch) | |
tree | ac1a96d8c8b27611ade45bb7dd2a4e42ace9b833 /lib | |
parent | 4f20566f5c0f42c451f6a43be9bfa6f0b3d142df (diff) | |
download | lwn-e39ee675f42e993bbf1c04b1ad7526db820ccdce.tar.gz lwn-e39ee675f42e993bbf1c04b1ad7526db820ccdce.zip |
mm: mprotect: use VM_ACCESS_FLAGS
Simplify VM_READ|VM_WRITE|VM_EXEC with VM_ACCESS_FLAGS.
Link: https://lkml.kernel.org/r/20221019034945.93081-4-wangkefeng.wang@huawei.com
Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: "Christian König" <christian.koenig@amd.com>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: Dave Hansen <dave.hansen@linux.intel.com>
Cc: David Airlie <airlied@gmail.com>
Cc: Dinh Nguyen <dinguyen@kernel.org>
Cc: Jarkko Sakkinen <jarkko@kernel.org>
Cc: "Pan, Xinhui" <Xinhui.Pan@amd.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions