summaryrefslogtreecommitdiffstats
path: root/net/9p
diff options
context:
space:
mode:
authorEric Van Hensbergen2008-02-07 02:25:05 +0100
committerEric Van Hensbergen2008-02-07 02:25:05 +0100
commit14b8869ff4f00f105ea76678997b4d49d27baae3 (patch)
tree201c06c106053c609f847531a482d73e41a8cfc9 /net/9p
parent9p: add support for sticky bit (diff)
downloadkernel-qcow2-linux-14b8869ff4f00f105ea76678997b4d49d27baae3.tar.gz
kernel-qcow2-linux-14b8869ff4f00f105ea76678997b4d49d27baae3.tar.xz
kernel-qcow2-linux-14b8869ff4f00f105ea76678997b4d49d27baae3.zip
9p: fix mmap to be read-only
v9fs was allowing writable mmap which could lead to kernel BUG() cases. This sets the mmap function to generic_file_readonly_mmap which (correctly) returns an error to applications which open mmap for writing. Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
Diffstat (limited to 'net/9p')
0 files changed, 0 insertions, 0 deletions