LSM hook updates
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 30 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | Use capabilities as default w/ and w/out CONFIG_SECURITY.security/ security/ security/ +1 more | +912 | 0 replies | |
| 2/5 | Rework stubs in security.hinclude/ | +604 | 6 replies | |
| 3/5 | Call security hooks conditionally if the security_op is filled out.include/ | +411 | 2 replies | |
| 4/5 | Remove unnecessary default capability callbacks.security/ security/ | +17 | 0 replies | |
| 5/5 | Remove unnecesary capability hooks in rootplug.security/ | +1 | 10 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/5] LSM hook updates
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
--