Add ima_get_policy() function 48/28548/1
authorJanusz Kozerski <j.kozerski@samsung.com>
Tue, 6 May 2014 13:17:38 +0000 (15:17 +0200)
committerJanusz Kozerski <j.kozerski@samsung.com>
Thu, 9 Oct 2014 14:29:51 +0000 (16:29 +0200)
commit0bf66443cdc5c58f8ee2e975f67a15fd7be2165f
tree67d1bab9af5dbe29dcfab8f68ba28300c14cefff
parent9046ce6171e0785d29b1bafb57b016de5b0f1b16
Add ima_get_policy() function

Function return (via param) IMA policy from the kernel.
The policy is stored in NULL terminated list of char*.
The memory is mallocated by this function, and should be freed
by the caller.

Change-Id: I442ec1ed41d91306627781c076d3d4bcb04eb4cb
Signed-off-by: Janusz Kozerski <j.kozerski@samsung.com>
src/imaevm.h
src/libimaevm.c