aboutsummaryrefslogtreecommitdiffstats
path: root/security/tomoyo/common.h
diff options
context:
space:
mode:
authorTetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>2010-02-16 07:14:48 -0500
committerJames Morris <jmorris@namei.org>2010-02-16 19:37:58 -0500
commit170800088666963de1111d62fb503889c8c82eda (patch)
tree1c8f1671fd48a7688ec8253508dd2cd460e0aff1 /security/tomoyo/common.h
parent2da5d31bc72d0a36dc16af7f5d5baa4f86df9c76 (diff)
TOMOYO: Remove __func__ from tomoyo_is_correct_path/domain
__func__ is used for only debug printk(). We can remove it. 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/common.h')
-rw-r--r--security/tomoyo/common.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/security/tomoyo/common.h b/security/tomoyo/common.h
index 17ed365521b1..67bd22dd3e68 100644
--- a/security/tomoyo/common.h
+++ b/security/tomoyo/common.h
@@ -520,12 +520,10 @@ bool tomoyo_domain_quota_is_ok(struct tomoyo_domain_info * const domain);
520bool tomoyo_io_printf(struct tomoyo_io_buffer *head, const char *fmt, ...) 520bool tomoyo_io_printf(struct tomoyo_io_buffer *head, const char *fmt, ...)
521 __attribute__ ((format(printf, 2, 3))); 521 __attribute__ ((format(printf, 2, 3)));
522/* Check whether the domainname is correct. */ 522/* Check whether the domainname is correct. */
523bool tomoyo_is_correct_domain(const unsigned char *domainname, 523bool tomoyo_is_correct_domain(const unsigned char *domainname);
524 const char *function);
525/* Check whether the token is correct. */ 524/* Check whether the token is correct. */
526bool tomoyo_is_correct_path(const char *filename, const s8 start_type, 525bool tomoyo_is_correct_path(const char *filename, const s8 start_type,
527 const s8 pattern_type, const s8 end_type, 526 const s8 pattern_type, const s8 end_type);
528 const char *function);
529/* Check whether the token can be a domainname. */ 527/* Check whether the token can be a domainname. */
530bool tomoyo_is_domain_def(const unsigned char *buffer); 528bool tomoyo_is_domain_def(const unsigned char *buffer);
531/* Check whether the given filename matches the given pattern. */ 529/* Check whether the given filename matches the given pattern. */