RFC ro hardening for the security subsystem
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest4 patches 30 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | security: mark LSM hooks as __ro_after_initsecurity/ security/ security/ +5 more | +8 | 12 replies | |
| 2/4 | security: mark nf ops in SELinux and Smack as __ro_after_initsecurity/ security/ | +2 | 12 replies | |
| 3/4 | integrity: mark default IMA rules as __ro_after_initsecurity/ | +4 | 3 replies | |
| 4/4 | selinux: constify nlmsg permission tablessecurity/ | +5 | 2 replies |
Reviews trailers per patch
None of the 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Kees Cook |
|---|---|
| Series | A-b |
| 1/4 | |
| 2/4 | |
| 3/4 | |
| 4/4 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [kernel-hardening] [RFC PATCH 0/4] ro hardening for the security subsystem
Hi Folks,
Please review/test these patches which add some read-only hardening to the security subsystem.
In this series, the following are marked as __ro_after_init:
- LSM hooks
- Netfilter hooks used by security/
- the default IMA rules
I've also constified the SELinux Netlink permission tables, which will ensure they're located in an RO section.
---
James Morris (4):
security: mark LSM hooks as __ro_after_init
security: mark nf ops in SELinux and Smack as __ro_after_init
integrity: mark default IMA rules as __ro_after_init
selinux: constify nlmsg permission tables
security/apparmor/lsm.c | 2 +- security/commoncap.c | 2 +- security/integrity/ima/ima_policy.c | 8 ++++---- security/loadpin/loadpin.c | 2 +- security/security.c | 2 +- security/selinux/hooks.c | 4 ++-- security/selinux/nlmsgtab.c | 10 +++++----- security/smack/smack_lsm.c | 2 +- security/smack/smack_netfilter.c | 2 +- security/tomoyo/tomoyo.c | 2 +- security/yama/yama_lsm.c | 2 +- 11 files changed, 19 insertions(+), 19 deletions(-)
Signature · 2 lines
James Morris <[email protected]>