summaryrefslogtreecommitdiff
path: root/sys/src/9/port/swap.c
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2015-07-19 20:25:42 +0200
committercinap_lenrek <cinap_lenrek@felloff.net>2015-07-19 20:25:42 +0200
commit47bb311d39f0cdd38067a31b51ec619af7584e56 (patch)
treebbdb3384feb748982e51a38c626377b5966a9769 /sys/src/9/port/swap.c
parent157b7751e7b885ff39d92ea67564c85346ddc986 (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