LSM hook updates
From: | Chris Wright <chrisw@osdl.org> | |
To: | linux-security-module@wirex.com | |
Subject: | [PATCH 0/5] LSM hook updates | |
Date: | Wed, 24 Aug 2005 18:20:28 -0700 | |
Cc: | linux-kernel@vger.kernel.org, Kurt Garloff <garloff@suse.de> |
This is based on Kurt's original work. The net effect is that LSM hooks are called conditionally, and in all cases capabilities provide the defaults. I've done some basic performance testing, and found nothing surprising. I'm interested to see numbers from others before I push this up. These are against Linus' current git tree (they will clash with the -mm tree). security/dummy.c | 996 ---------------------------- include/linux/security.h | 1665 ++++++++++++++++++++--------------------------- security/Makefile | 9 security/commoncap.c | 160 ++-- security/root_plug.c | 14 security/security.c | 62 - 6 files changed, 839 insertions(+), 2067 deletions(-) thanks, -chris --