[LU-8733] gnilnd: Remove read capability of cksum_test proc file Created: 19/Oct/16  Updated: 29/Oct/16  Resolved: 29/Oct/16

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.9.0

Type: Bug Priority: Minor
Reporter: Chris Horn Assignee: Chris Horn
Resolution: Fixed Votes: 0
Labels: None

Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

When the old create proc interface was deprecated cksum_test was updated
to use the new file operations table. Inadvertantly read was left as a capability
without actually defining a function that the file would use when someone tried
to read the file. This causes a kernel crash when cksum_test is read, though it
can only be done by the root user.



 Comments   
Comment by Gerrit Updater [ 19/Oct/16 ]

Chris Horn (hornc@cray.com) uploaded a new patch: http://review.whamcloud.com/23255
Subject: LU-8733 kgnilnd: Remove read capability of cksum_test procfile
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 26dff7046184e739f546c5c56c610434db0e2678

Comment by Gerrit Updater [ 28/Oct/16 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/23255/
Subject: LU-8733 gnilnd: Remove read capability of cksum_test procfile
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 124af2d268b66f55dfefb8f4c7d5c95b4a42b1a7

Comment by Peter Jones [ 29/Oct/16 ]

Landed for 2.9

Generated at Sat Feb 10 02:20:05 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.