diff options
| author | Thomas Weißschuh <thomas.weissschuh@linutronix.de> | 2026-06-30 09:31:58 +0200 |
|---|---|---|
| committer | Thomas Gleixner <tglx@kernel.org> | 2026-07-07 23:52:52 +0200 |
| commit | 9ab500d47f5f1b8c463a4fd8f345a8756da625ab (patch) | |
| tree | eb78339734139cf05694e6d70c11ac0d8e1352df /tools/perf/scripts/python/task-analyzer.py | |
| parent | 43648f9f3a67125ba649027a5be00bc005065482 (diff) | |
vdso/datastore: Explicitly prevent remote access to timens vvar page
The fault handler for the timens page does not have access to the target
task and therefore can not be invoked remotely.
Currently the handler relies on the fact that the vvar mapping is marked as
VM_IO and VM_PFNMAP for which the mm core always prevents remote access.
However the VM_IO and VM_PFNMAP flags are going to be removed.
Add an explicit check to prevent remote access to the mapping.
Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Tested-by: Nam Cao <namcao@linutronix.de>
Link: https://patch.msgid.link/20260630-vdso-mlockall-v4-4-6c93708ce723@linutronix.de
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions
