Whamcloud - gitweb
LU-2489 mdc: Restrict access to hsm_nl file
authorJohn L. Hammond <jhammond@tacc.utexas.edu>
Thu, 13 Dec 2012 18:24:45 +0000 (12:24 -0600)
committerOleg Drokin <green@whamcloud.com>
Tue, 8 Jan 2013 05:04:41 +0000 (00:04 -0500)
commit3c585bf063ccd2505cf60a7b6170d0bd63c9117d
treec9f1f04b1257639c7c84c95de11ae47443812e97
parentbe025f5580a0cc4958267d2e4317aac4e2ebc0c3
LU-2489 mdc: Restrict access to hsm_nl file

Disallow ordinary users from writing to /proc/fs/lustre/mdc/*/hsm_nl
to prevent denials of service.

Signed-off-by: John L. Hammond <jhammond@tacc.utexas.edu>
Change-Id: Ibd37cb9365bc4583fa964b18c3d87f264d1ca33d
Reviewed-on: http://review.whamcloud.com/4825
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Keith Mannthey <keith.mannthey@intel.com>
Reviewed-by: Richard Henwood <richard.henwood@intel.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/mdc/lproc_mdc.c