diff options
author | David Howells <dhowells@redhat.com> | 2008-04-29 15:52:51 -0400 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2008-04-29 18:23:51 -0400 |
commit | e52c1764f18a62776a0f2bc6752fb76b6e345827 (patch) | |
tree | b60a62585dfe511d9216cdd4a207fd07df1b2f99 /security/selinux/include/security.h | |
parent | 7663c1e2792a9662b23dec6e19bfcd3d55360b8f (diff) |
Security: Make secctx_to_secid() take const secdata
Make secctx_to_secid() take constant secdata.
Signed-off-by: David Howells <dhowells@redhat.com>
Acked-by: Casey Schaufler <casey@schaufler-ca.com>
Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'security/selinux/include/security.h')
-rw-r--r-- | security/selinux/include/security.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/selinux/include/security.h b/security/selinux/include/security.h index cdb14add27d2..ad30ac4273d6 100644 --- a/security/selinux/include/security.h +++ b/security/selinux/include/security.h | |||
@@ -96,7 +96,7 @@ int security_sid_to_context(u32 sid, char **scontext, | |||
96 | int security_context_to_sid(const char *scontext, u32 scontext_len, | 96 | int security_context_to_sid(const char *scontext, u32 scontext_len, |
97 | u32 *out_sid); | 97 | u32 *out_sid); |
98 | 98 | ||
99 | int security_context_to_sid_default(char *scontext, u32 scontext_len, | 99 | int security_context_to_sid_default(const char *scontext, u32 scontext_len, |
100 | u32 *out_sid, u32 def_sid, gfp_t gfp_flags); | 100 | u32 *out_sid, u32 def_sid, gfp_t gfp_flags); |
101 | 101 | ||
102 | int security_get_user_sids(u32 callsid, char *username, | 102 | int security_get_user_sids(u32 callsid, char *username, |