commit | 255364f7b8a0fee3fb642b3e1521e943dd67bfb3 | [log] [tgz] |
---|---|---|
author | Ian Abbott <abbotti@mev.co.uk> | Thu Apr 20 19:05:14 2017 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Apr 25 20:43:42 2017 +0200 |
tree | 9b67464441cc98d69eece7d42852637ee3dd89ca | |
parent | e44adf05b85e5a9d1d224f5ecde1c1c5e5371e36 [diff] |
staging: comedi: support vm_access_process for mmap'd buffer If a process that has mmap'd a COMEDI buffer is being run under a debugger such as GDB, the buffer contents are inaccessible from the debugger. Support the `access()` VM operation to allow the buffer contents to be accessed by another process. Signed-off-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>