]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ima: support new kernel module syscall
authorMimi Zohar <zohar@linux.vnet.ibm.com>
Tue, 16 Oct 2012 02:10:08 +0000 (12:40 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 24 Oct 2012 01:51:41 +0000 (12:21 +1030)
commit51008a5a7a1f6617584b4815ee3ae08f6ab2cdfe
tree06a778c26b26fedf0faca770f703f0ae4c82eb0e
parent9b3f43b473aaaf30bab3c26c36629be51610f217
ima: support new kernel module syscall

With the addition of the new kernel module syscall, which defines two
arguments - a file descriptor to the kernel module and a pointer to a NULL
terminated string of module arguments - it is now possible to measure and
appraise kernel modules like any other file on the file system.

This patch adds support to measure and appraise kernel modules in an
extensible and consistent manner.

To support filesystems without extended attribute support, additional
patches could pass the signature as the first parameter.

Signed-off-by: Mimi Zohar <zohar@us.ibm.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Documentation/ABI/testing/ima_policy
include/linux/ima.h
security/integrity/ima/ima.h
security/integrity/ima/ima_api.c
security/integrity/ima/ima_main.c
security/integrity/ima/ima_policy.c
security/security.c