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/dummy.c | |
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/dummy.c')
-rw-r--r-- | security/dummy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/dummy.c b/security/dummy.c index 48cf30226e16..f50c6c3c32c9 100644 --- a/security/dummy.c +++ b/security/dummy.c @@ -968,7 +968,7 @@ static int dummy_secid_to_secctx(u32 secid, char **secdata, u32 *seclen) return -EOPNOTSUPP; } -static int dummy_secctx_to_secid(char *secdata, u32 seclen, u32 *secid) +static int dummy_secctx_to_secid(const char *secdata, u32 seclen, u32 *secid) { return -EOPNOTSUPP; } |