tomoyo: Use local kmap in tomoyo_dump_page()
authorDavidlohr Bueso <dave@stgolabs.net>
Fri, 28 Nov 2025 22:27:47 +0000 (14:27 -0800)
committerTetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Mon, 1 Dec 2025 14:05:26 +0000 (23:05 +0900)
commita9ea3a2e081d29350b7a3c0731729efbc70458b8
tree1bb607c2b087bab6bbd5836247317f673b74499a
parent7d0a66e4bb9081d75c82ec4957c50034cb0ea449
tomoyo: Use local kmap in tomoyo_dump_page()

Replace the now deprecated kmap_atomic() with kmap_local_page().

The memcpy does not need atomic semantics, and the removed comment
is now stale - this patch now makes it in sync again. Last but not
least, highmem is going to be removed[0].

Link: https://lore.kernel.org/all/4ff89b72-03ff-4447-9d21-dd6a5fe1550f@app.fastmail.com/
Signed-off-by: Davidlohr Bueso <dave@stgolabs.net>
Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
security/tomoyo/domain.c