]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
UBUNTU: SAUCE: IMA: Change internal interfaces to use lsmblobs
authorCasey Schaufler <casey@schaufler-ca.com>
Thu, 20 Aug 2020 16:24:21 +0000 (09:24 -0700)
committerAndrea Righi <andrea.righi@canonical.com>
Tue, 15 Dec 2020 08:17:58 +0000 (09:17 +0100)
commitcb3cd85f0d15cd1ac928aee00479c34f273812f8
tree3449e469d61a08ba2c945dbfc3f24d99217a891e
parent9ac6984c726824539a2078d0ec0fc8c8e5f5ed72
UBUNTU: SAUCE: IMA: Change internal interfaces to use lsmblobs

The IMA interfaces ima_get_action() and ima_match_policy()
call LSM functions that use lsmblobs. Change the IMA functions
to pass the lsmblob to be compatible with the LSM functions.

Reviewed-by: Kees Cook <keescook@chromium.org>
Reviewed-by: John Johansen <john.johansen@canonical.com>
Acked-by: Stephen Smalley <sds@tycho.nsa.gov>
Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
cc: linux-integrity@vger.kernel.org
Signed-off-by: John Johansen <john.johansen@canonical.com>
Acked-by: Andrea Righi <andrea.righi@canonical.com>
[ saf: resolve conflicts ]
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
security/integrity/ima/ima.h
security/integrity/ima/ima_api.c
security/integrity/ima/ima_appraise.c
security/integrity/ima/ima_main.c
security/integrity/ima/ima_policy.c