Commit 975e9d99 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Linus Torvalds

[PATCH] remove exports from audit code

Tons of exports in the new audit code, but not a single module that
actually uses one of them.
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 0241a7de
...@@ -810,16 +810,3 @@ void audit_log(struct audit_context *ctx, const char *fmt, ...) ...@@ -810,16 +810,3 @@ void audit_log(struct audit_context *ctx, const char *fmt, ...)
audit_log_end(ab); audit_log_end(ab);
} }
} }
EXPORT_SYMBOL_GPL(audit_set_rate_limit);
EXPORT_SYMBOL_GPL(audit_set_backlog_limit);
EXPORT_SYMBOL_GPL(audit_set_enabled);
EXPORT_SYMBOL_GPL(audit_set_failure);
EXPORT_SYMBOL_GPL(audit_log_start);
EXPORT_SYMBOL_GPL(audit_log_format);
EXPORT_SYMBOL_GPL(audit_log_end_irq);
EXPORT_SYMBOL_GPL(audit_log_end_fast);
EXPORT_SYMBOL_GPL(audit_log_end);
EXPORT_SYMBOL_GPL(audit_log);
EXPORT_SYMBOL_GPL(audit_log_d_path);
...@@ -857,6 +857,7 @@ void audit_putname(const char *name) ...@@ -857,6 +857,7 @@ void audit_putname(const char *name)
} }
#endif #endif
} }
EXPORT_SYMBOL(audit_putname);
/* Store the inode and device from a lookup. Called from /* Store the inode and device from a lookup. Called from
* fs/namei.c:path_lookup(). */ * fs/namei.c:path_lookup(). */
...@@ -913,11 +914,3 @@ int audit_set_loginuid(struct audit_context *ctx, uid_t loginuid) ...@@ -913,11 +914,3 @@ int audit_set_loginuid(struct audit_context *ctx, uid_t loginuid)
} }
return 0; return 0;
} }
EXPORT_SYMBOL_GPL(audit_alloc);
EXPORT_SYMBOL_GPL(audit_free);
EXPORT_SYMBOL_GPL(audit_syscall_entry);
EXPORT_SYMBOL_GPL(audit_syscall_exit);
EXPORT_SYMBOL_GPL(audit_getname);
EXPORT_SYMBOL_GPL(audit_putname);
EXPORT_SYMBOL_GPL(audit_inode);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment