]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] nfsservctl(): remove user-triggerable printk
authorPeter Staubach <staubach@redhat.com>
Fri, 17 Mar 2006 07:04:02 +0000 (23:04 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 17 Mar 2006 15:51:25 +0000 (07:51 -0800)
commit964b72f43c71af6fb56f5f456b41651f03d68a42
tree7f20a727da97fcd891976c5fd3da1ba4ead3f81f
parented6b301e335a90296182c1eb0e1c08ebf8000ce0
[PATCH] nfsservctl(): remove user-triggerable printk

A user can use nfsservctl() to spam the logs.

This can happen because the arguments to the nfsservctl() system call are
versioned.  This is a good thing.  However, when a bad version is detected,
the kernel prints a message and then returns an error.

Signed-off-by: Peter Staubach <staubach@redhat.com>
Cc: Trond Myklebust <trond.myklebust@fys.uio.no>
Cc: Neil Brown <neilb@cse.unsw.edu.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/nfsctl.c