commit | 3ec30113264a7bcd389f51d1738e42da0f41bb5a | [log] [tgz] |
---|---|---|
author | Matthew Garrett <mjg59@google.com> | Mon Jan 08 13:36:19 2018 -0800 |
committer | Mimi Zohar <zohar@linux.vnet.ibm.com> | Fri Mar 23 06:31:11 2018 -0400 |
tree | 75a1465c8f53522dafcf2d41085c925cb025e29f | |
parent | 5893ed18a26d1f56b97c0290b0cbbc2d49d6de28 [diff] |
security: Add a cred_getsecid hook For IMA purposes, we want to be able to obtain the prepared secid in the bprm structure before the credentials are committed. Add a cred_getsecid hook that makes this possible. Signed-off-by: Matthew Garrett <mjg59@google.com> Acked-by: Paul Moore <paul@paul-moore.com> Cc: Paul Moore <paul@paul-moore.com> Cc: Stephen Smalley <sds@tycho.nsa.gov> Cc: Casey Schaufler <casey@schaufler-ca.com> Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>