diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2015-07-19 20:25:42 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2015-07-19 20:25:42 +0200 |
commit | 47bb311d39f0cdd38067a31b51ec619af7584e56 (patch) | |
tree | bbdb3384feb748982e51a38c626377b5966a9769 /sys/src/9/port/swap.c | |
parent | 157b7751e7b885ff39d92ea67564c85346ddc986 (diff) |
devmnt: do not use user buffer to update the mount cache
using the user buffer has a race where the user can modify
the buffer from another process before it is copied into the cache.
this allows poisoning the cache for every file where the user
has read access.
instead, we update the cache from kernel memory.
Diffstat (limited to 'sys/src/9/port/swap.c')
0 files changed, 0 insertions, 0 deletions