diff options
author | David Howells <dhowells@redhat.com> | 2008-04-29 21:52:51 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-29 22:22:56 +0200 |
commit | 7bf570dc8dcf76df2a9f583bef2da96d4289ed0d (patch) | |
tree | b60a62585dfe511d9216cdd4a207fd07df1b2f99 /security/selinux/include | |
parent | Improve queue_is_locked() (diff) | |
download | linux-7bf570dc8dcf76df2a9f583bef2da96d4289ed0d.tar.xz linux-7bf570dc8dcf76df2a9f583bef2da96d4289ed0d.zip |
Security: Make secctx_to_secid() take const secdata
Make secctx_to_secid() take constant secdata.
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'security/selinux/include')
-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, int security_context_to_sid(const char *scontext, u32 scontext_len, u32 *out_sid); -int security_context_to_sid_default(char *scontext, u32 scontext_len, +int security_context_to_sid_default(const char *scontext, u32 scontext_len, u32 *out_sid, u32 def_sid, gfp_t gfp_flags); int security_get_user_sids(u32 callsid, char *username, |