diff options
Diffstat (limited to 'security')
-rw-r--r-- | security/selinux/exports.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/security/selinux/exports.c b/security/selinux/exports.c index ee0fb47f81ae..b6f96943be1f 100644 --- a/security/selinux/exports.c +++ b/security/selinux/exports.c | |||
@@ -21,10 +21,10 @@ | |||
21 | #include "security.h" | 21 | #include "security.h" |
22 | #include "objsec.h" | 22 | #include "objsec.h" |
23 | 23 | ||
24 | int selinux_ctxid_to_string(u32 ctxid, char **ctx, u32 *ctxlen) | 24 | int selinux_sid_to_string(u32 sid, char **ctx, u32 *ctxlen) |
25 | { | 25 | { |
26 | if (selinux_enabled) | 26 | if (selinux_enabled) |
27 | return security_sid_to_context(ctxid, ctx, ctxlen); | 27 | return security_sid_to_context(sid, ctx, ctxlen); |
28 | else { | 28 | else { |
29 | *ctx = NULL; | 29 | *ctx = NULL; |
30 | *ctxlen = 0; | 30 | *ctxlen = 0; |