aboutsummaryrefslogtreecommitdiff
path: root/vm/vm_map.c
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2022-12-12 00:03:05 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2022-12-12 00:05:16 +0100
commit3c26c30fd2a5bdec081384d45e42a7ea4e424846 (patch)
treef9a526dce882145a8948c1dafc1d9f9897dfd2c6 /vm/vm_map.c
parent6a643459ea45594d91984d0ad98e8d2d5fa7ca5a (diff)
downloadgnumach-3c26c30fd2a5bdec081384d45e42a7ea4e424846.tar.gz
gnumach-3c26c30fd2a5bdec081384d45e42a7ea4e424846.tar.bz2
gnumach-3c26c30fd2a5bdec081384d45e42a7ea4e424846.zip
copy_to/from_phys: fix non-page-aligned case
The vaddr field of the returned map only points to the base address, we have to add the offset within the page before reading/writing. This fixes accessing tasks different from the current task, and the user part of ddb backtraces.
Diffstat (limited to 'vm/vm_map.c')
0 files changed, 0 insertions, 0 deletions