diff options
author | Eric Van Hensbergen <ericvh@opteron.homeip.net> | 2008-02-06 20:25:05 -0500 |
---|---|---|
committer | Eric Van Hensbergen <ericvh@opteron.homeip.net> | 2008-02-06 20:25:05 -0500 |
commit | 14b8869ff4f00f105ea76678997b4d49d27baae3 (patch) | |
tree | 201c06c106053c609f847531a482d73e41a8cfc9 /include/asm-cris/sync_serial.h | |
parent | d199d652c513a010145a5a0d4e64c96361b97bee (diff) |
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 'include/asm-cris/sync_serial.h')
0 files changed, 0 insertions, 0 deletions