summaryrefslogtreecommitdiffstats
path: root/drivers/block/cciss.c
diff options
context:
space:
mode:
authorAndrew G. Morgan <morgan@kernel.org>2008-06-13 00:21:33 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2008-06-13 03:05:40 +0200
commit8cdbc2b9826b3543fecff2f6d6400fa77b21ffdd (patch)
treee42ddc9142988fffb2b4128e2d94b3913914dbe6 /drivers/block/cciss.c
parentproc_fs.h: move struct mm_struct forward-declaration (diff)
downloadlinux-8cdbc2b9826b3543fecff2f6d6400fa77b21ffdd.tar.xz
linux-8cdbc2b9826b3543fecff2f6d6400fa77b21ffdd.zip
capabilities: add (back) dummy support for KEEPCAPS
The dummy module is used by folk that run security conscious code(!?). A feature of such code (for example, dhclient) is that it tries to operate with minimum privilege (dropping unneeded capabilities). While the dummy module doesn't restrict code execution based on capability state, the user code expects the kernel to appear to support it. This patch adds back faked support for the PR_SET_KEEPCAPS etc., calls - making the kernel behave as before 2.6.26. For details see: http://bugzilla.kernel.org/show_bug.cgi?id=10748 Signed-off-by: Andrew G. Morgan <morgan@kernel.org> Acked-by: Serge Hallyn <serue@us.ibm.com> Cc: James Morris <jmorris@namei.org> Cc: Stephen Smalley <sds@tycho.nsa.gov> Cc: Chris Wright <chrisw@sous-sol.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/block/cciss.c')
0 files changed, 0 insertions, 0 deletions