diff options
| author | Arnd Bergmann <[email protected]> | 2018-07-17 20:23:37 +0000 |
|---|---|---|
| committer | James Morris <[email protected]> | 2018-07-18 04:26:51 +0000 |
| commit | 83a68a06795fa47e77ea758f293a5946e9e02e84 (patch) | |
| tree | 1ec49b4c0bc1b7476ca1cc71061a4f5ca2cb152d /tools/perf/scripts/python/powerpc-hcalls.py | |
| parent | ima: based on policy warn about loading firmware (pre-allocated buffer) (diff) | |
| download | kernel-83a68a06795fa47e77ea758f293a5946e9e02e84.tar.gz kernel-83a68a06795fa47e77ea758f293a5946e9e02e84.zip | |
security: export security_kernel_load_data function
The firmware_loader can be built as a loadable module, which now
fails when CONFIG_SECURITY is enabled, because a call to the
security_kernel_load_data() function got added, and this is
not exported to modules:
ERROR: "security_kernel_load_data" [drivers/base/firmware_loader/firmware_class.ko] undefined!
Add an EXPORT_SYMBOL_GPL() to make it available here.
Fixes: 6e852651f28e ("firmware: add call to LSM hook before firmware sysfs fallback")
Signed-off-by: Arnd Bergmann <[email protected]>
Signed-off-by: James Morris <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/powerpc-hcalls.py')
0 files changed, 0 insertions, 0 deletions
