]> git.hungrycats.org Git - linux/commit
[PATCH] Default hooks protecting the XATTR_SECURITY_PREFIX namespace
authorAndrew Morton <akpm@osdl.org>
Tue, 20 Jan 2004 11:13:29 +0000 (03:13 -0800)
committerLinus Torvalds <torvalds@home.osdl.org>
Tue, 20 Jan 2004 11:13:29 +0000 (03:13 -0800)
commit3ba6fffc406b92307a1a84533e6c3ed8d0e5e26a
treed8df01e5a75ab91057b373682b269932f07253f1
parent76ef5df33f02b6db0f67ca2cb78bde84145d47a0
[PATCH] Default hooks protecting the XATTR_SECURITY_PREFIX namespace

From: Chris Wright <chrisw@osdl.org>

Add default hooks for both the dummy and capability code to protect the
XATTR_SECURITY_PREFIX namespace.  These EAs were fully accessible to
unauthorized users, so a user that rebooted from an SELinux kernel to a
default kernel would leave those critical EAs unprotected.

(Acked by Stephen Smalley)
include/linux/security.h
security/capability.c
security/commoncap.c
security/dummy.c