Whamcloud - gitweb
LU-4563 Fix unsafe userspace access in many proc files 59/9059/16
authorOleg Drokin <oleg.drokin@intel.com>
Sun, 6 Apr 2014 02:38:30 +0000 (22:38 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 24 Apr 2014 03:59:54 +0000 (03:59 +0000)
commitad1f3518fa418b75d83809ccfcf6dd1489493726
tree8835a43c2e48ceb45b3cb07c461658ce927a31a8
parent041e699daec9e22a60ce8daf97a118933df031d4
LU-4563 Fix unsafe userspace access in many proc files

Also add a test to make sure no new ones are added in the future

Change-Id: I2fe7d2cea5daef21f4279ce813ca35f6d91f68dc
Signed-off-by: Oleg Drokin <oleg.drokin@intel.com>
Reviewed-on: http://review.whamcloud.com/9059
Tested-by: Jenkins
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: James Simmons <uja.ornl@gmail.com>
15 files changed:
lustre/fid/lproc_fid.c
lustre/llite/lproc_llite.c
lustre/mdt/mdt_coordinator.c
lustre/mdt/mdt_lproc.c
lustre/mgs/mgs_internal.h
lustre/mgs/mgs_nids.c
lustre/obdclass/linux/linux-module.c
lustre/obdclass/lprocfs_jobstats.c
lustre/obdclass/lprocfs_status.c
lustre/ofd/lproc_ofd.c
lustre/osc/lproc_osc.c
lustre/osd-zfs/osd_lproc.c
lustre/tests/Makefile.am
lustre/tests/badarea_io.c [new file with mode: 0644]
lustre/tests/sanity.sh