aboutsummaryrefslogtreecommitdiffstats
path: root/security/tomoyo/util.c
diff options
context:
space:
mode:
authorTetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>2011-06-26 10:18:58 -0400
committerJames Morris <jmorris@namei.org>2011-06-28 19:31:20 -0400
commiteadd99cc85347b4f9eb10122ac90032eb4971b02 (patch)
treefa6075ad4917422288222ee52bfcb66b7ed30a0e /security/tomoyo/util.c
parentd5ca1725ac9ba876c2dd614bb9826d0c4e13d818 (diff)
TOMOYO: Add auditing interface.
Add /sys/kernel/security/tomoyo/audit interface. This interface generates audit logs in the form of domain policy so that /usr/sbin/tomoyo-auditd can reuse audit logs for appending to /sys/kernel/security/tomoyo/domain_policy interface. Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'security/tomoyo/util.c')
-rw-r--r--security/tomoyo/util.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/security/tomoyo/util.c b/security/tomoyo/util.c
index adcbdebd7352..bc71528ff440 100644
--- a/security/tomoyo/util.c
+++ b/security/tomoyo/util.c
@@ -892,20 +892,6 @@ const char *tomoyo_last_word(const char *name)
892} 892}
893 893
894/** 894/**
895 * tomoyo_warn_log - Print warning or error message on console.
896 *
897 * @r: Pointer to "struct tomoyo_request_info".
898 * @fmt: The printf()'s format string, followed by parameters.
899 */
900void tomoyo_warn_log(struct tomoyo_request_info *r, const char *fmt, ...)
901{
902 /*
903 * Temporarily disabled.
904 * Will be replaced with /sys/kernel/security/tomoyo/audit interface.
905 */
906}
907
908/**
909 * tomoyo_domain_quota_is_ok - Check for domain's quota. 895 * tomoyo_domain_quota_is_ok - Check for domain's quota.
910 * 896 *
911 * @r: Pointer to "struct tomoyo_request_info". 897 * @r: Pointer to "struct tomoyo_request_info".