mbox series

[0/2] Optimize storage of filename transitions

Message ID 20200211163953.12231-1-omosnace@redhat.com (mailing list archive)
Headers show
Series Optimize storage of filename transitions | expand

Message

Ondrej Mosnacek Feb. 11, 2020, 4:39 p.m. UTC
This series improves the computational and memory efficiency of filename
transition rules in SELinux. The first patch is only cosmetic, see the
second patch for more details about its effects.

Ondrej Mosnacek (2):
  selinux: factor out loop body from filename_trans_read()
  selinux: optimize storage of filename transitions

 security/selinux/ss/policydb.c | 227 +++++++++++++++++++--------------
 security/selinux/ss/policydb.h |   8 +-
 security/selinux/ss/services.c |  16 ++-
 3 files changed, 148 insertions(+), 103 deletions(-)