summaryrefslogtreecommitdiffstats
path: root/kernel/auditfilter.c
diff options
context:
space:
mode:
authorStephen Smalley2006-09-26 08:31:57 +0200
committerLinus Torvalds2006-09-26 17:48:52 +0200
commit1a70cd40cb291c25b67ec0da715a49d76719329d (patch)
treeffb4c6cd3f7ef1b92822ebbda11bd2b035c2bc86 /kernel/auditfilter.c
parent[PATCH] selinux: eliminate selinux_task_ctxid (diff)
downloadkernel-qcow2-linux-1a70cd40cb291c25b67ec0da715a49d76719329d.tar.gz
kernel-qcow2-linux-1a70cd40cb291c25b67ec0da715a49d76719329d.tar.xz
kernel-qcow2-linux-1a70cd40cb291c25b67ec0da715a49d76719329d.zip
[PATCH] selinux: rename selinux_ctxid_to_string
Rename selinux_ctxid_to_string to selinux_sid_to_string to be consistent with other interfaces. Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov> Acked-by: James Morris <jmorris@namei.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel/auditfilter.c')
-rw-r--r--kernel/auditfilter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/auditfilter.c b/kernel/auditfilter.c
index a44879b0c72f..1a58a81fb09d 100644
--- a/kernel/auditfilter.c
+++ b/kernel/auditfilter.c
@@ -1398,7 +1398,7 @@ static void audit_log_rule_change(uid_t loginuid, u32 sid, char *action,
if (sid) {
char *ctx = NULL;
u32 len;
- if (selinux_ctxid_to_string(sid, &ctx, &len))
+ if (selinux_sid_to_string(sid, &ctx, &len))
audit_log_format(ab, " ssid=%u", sid);
else
audit_log_format(ab, " subj=%s", ctx);