]> git.baikalelectronics.ru Git - kernel.git/commit
LSM: SafeSetID: add read handler
authorJann Horn <jannh@google.com>
Thu, 11 Apr 2019 20:11:54 +0000 (13:11 -0700)
committerMicah Morton <mortonm@chromium.org>
Mon, 15 Jul 2019 15:07:40 +0000 (08:07 -0700)
commit544d11881e1cc0a29cfbb6f23dc8ae495f01185d
treed679fe88f9abdf52198a72397d7116d970fce953
parent504c59000627df08208df074b1cb9c79ea428cec
LSM: SafeSetID: add read handler

For debugging a running system, it is very helpful to be able to see what
policy the system is using. Add a read handler that can dump out a copy of
the loaded policy.

Signed-off-by: Jann Horn <jannh@google.com>
Signed-off-by: Micah Morton <mortonm@chromium.org>
security/safesetid/lsm.h
security/safesetid/securityfs.c