firmware: add call to LSM hook before firmware sysfs fallback
authorMimi Zohar <zohar@linux.vnet.ibm.com>
Fri, 13 Jul 2018 18:05:59 +0000 (14:05 -0400)
committerJames Morris <james.morris@microsoft.com>
Mon, 16 Jul 2018 19:31:57 +0000 (12:31 -0700)
commit6e852651f28eee851069c7d40989281fae4bf9d2
tree2e3c159316960aea87c20d76c5d22a7cb991e966
parent16c267aac86b463b1fcccd43c89f4c8e5c5c86fa
firmware: add call to LSM hook before firmware sysfs fallback

Add an LSM hook prior to allowing firmware sysfs fallback loading.

Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
Acked-by: Luis R. Rodriguez <mcgrof@kernel.org>
Reviewed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: James Morris <james.morris@microsoft.com>
drivers/base/firmware_loader/fallback.c