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)
commitfbd9acb2dc2aa55902c48a83f157082849209fba
treed679fe88f9abdf52198a72397d7116d970fce953
parent03638e62f55f27e7a96d6b1175e75b7a81e562b3
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