Skip to content

selinux: drop super_block backpointer from superblock_security_struct

Alexander Grund stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1selinux: drop super_block backpointer from superblock_security_structsecurity/selinux/hooks.c security/selinux/include/objsec.h+2 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 4.9 0/1] selinux: drop super_block backpointer from superblock_security_struct

This backports a commit from upstream which I would consider a cleanup as well as a (minor) performance fix due to less memory being used and avoiding an unneccessary pointer dereferencing, i.e. the change from sbsec->sb->s_root to sb->s_root.

However as it changes the superblock_security_struct please check if this violates any API/ABI stability requirements which I'm not aware of.

Ondrej Mosnacek (1):
selinux: drop super_block backpointer from superblock_security_struct

 security/selinux/hooks.c          | 5 ++---
 security/selinux/include/objsec.h | 1 -
 2 files changed, 2 insertions(+), 4 deletions(-)
Signature · 1 line
2.25.1