diff options
author | Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> | 2011-09-25 04:49:09 -0400 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2011-09-25 20:46:19 -0400 |
commit | 778c4a4d60d932c1df6d270dcbc88365823c3963 (patch) | |
tree | 1c042bff1f11cf4e5d7267329091d878aba3d4d7 /security/tomoyo/common.h | |
parent | 6bce98edc3365a8f780ff3944ac7992544c194fe (diff) |
TOMOYO: Fix make namespacecheck warnings.
Commit efe836ab "TOMOYO: Add built-in policy support." introduced
tomoyo_load_builtin_policy() but was by error called from nowhere.
Commit b22b8b9f "TOMOYO: Rename meminfo to stat and show more statistics."
introduced tomoyo_update_stat() but was by error not called from
tomoyo_assign_domain().
Also, mark tomoyo_io_printf() and tomoyo_path_permission() static functions,
as reported by "make namespacecheck".
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.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/security/tomoyo/common.h b/security/tomoyo/common.h index a2bc33fc60b6..1a19ad3e67ea 100644 --- a/security/tomoyo/common.h +++ b/security/tomoyo/common.h | |||
@@ -978,8 +978,6 @@ int tomoyo_path_number_perm(const u8 operation, struct path *path, | |||
978 | unsigned long number); | 978 | unsigned long number); |
979 | int tomoyo_path_perm(const u8 operation, struct path *path, | 979 | int tomoyo_path_perm(const u8 operation, struct path *path, |
980 | const char *target); | 980 | const char *target); |
981 | int tomoyo_path_permission(struct tomoyo_request_info *r, u8 operation, | ||
982 | const struct tomoyo_path_info *filename); | ||
983 | int tomoyo_poll_control(struct file *file, poll_table *wait); | 981 | int tomoyo_poll_control(struct file *file, poll_table *wait); |
984 | int tomoyo_poll_log(struct file *file, poll_table *wait); | 982 | int tomoyo_poll_log(struct file *file, poll_table *wait); |
985 | int tomoyo_socket_bind_permission(struct socket *sock, struct sockaddr *addr, | 983 | int tomoyo_socket_bind_permission(struct socket *sock, struct sockaddr *addr, |
@@ -1041,8 +1039,6 @@ void tomoyo_del_condition(struct list_head *element); | |||
1041 | void tomoyo_fill_path_info(struct tomoyo_path_info *ptr); | 1039 | void tomoyo_fill_path_info(struct tomoyo_path_info *ptr); |
1042 | void tomoyo_get_attributes(struct tomoyo_obj_info *obj); | 1040 | void tomoyo_get_attributes(struct tomoyo_obj_info *obj); |
1043 | void tomoyo_init_policy_namespace(struct tomoyo_policy_namespace *ns); | 1041 | void tomoyo_init_policy_namespace(struct tomoyo_policy_namespace *ns); |
1044 | void tomoyo_io_printf(struct tomoyo_io_buffer *head, const char *fmt, ...) | ||
1045 | __printf(2, 3); | ||
1046 | void tomoyo_load_policy(const char *filename); | 1042 | void tomoyo_load_policy(const char *filename); |
1047 | void tomoyo_memory_free(void *ptr); | 1043 | void tomoyo_memory_free(void *ptr); |
1048 | void tomoyo_normalize_line(unsigned char *buffer); | 1044 | void tomoyo_normalize_line(unsigned char *buffer); |