summaryrefslogtreecommitdiffstats
path: root/kernel/events/uprobes.c
diff options
context:
space:
mode:
authorMike Marshall <hubcap@omnibond.com>2017-02-07 12:41:02 -0500
committerMike Marshall <hubcap@omnibond.com>2017-02-09 14:41:06 -0500
commiteb68d0324dc4d88ab0d6159bdcd98c247a3a8954 (patch)
tree893c79b5a9d13c1642dc201c26cdf5f3bc1f458f /kernel/events/uprobes.c
parent05973c2efb40122f2a9ecde2d065f7ea5068d024 (diff)
downloadlinux-eb68d0324dc4d88ab0d6159bdcd98c247a3a8954.tar.gz
linux-eb68d0324dc4d88ab0d6159bdcd98c247a3a8954.tar.bz2
linux-eb68d0324dc4d88ab0d6159bdcd98c247a3a8954.zip
orangefs: fix buffer size mis-match between kernel space and user space.
The deamon through which the kernel module communicates with the userspace part of Orangefs, the "client-core", sends initialization data to the kernel module with ioctl. The initialization data was built by the client-core in a 2k buffer and copy_from_user'd into a 1k buffer in the kernel module. When more than 1k of initialization data needed to be sent, some was lost, reducing the usability of the control by which debug levels are set. This patch sets the kernel side buffer to 2K to match the userspace side... Signed-off-by: Mike Marshall <hubcap@omnibond.com>
Diffstat (limited to 'kernel/events/uprobes.c')
0 files changed, 0 insertions, 0 deletions