mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 21:54:34 -04:00
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>
This commit is contained in:
parent
7663c1e279
commit
7bf570dc8d
7 changed files with 10 additions and 10 deletions
|
|
@ -886,7 +886,7 @@ int security_secid_to_secctx(u32 secid, char **secdata, u32 *seclen)
|
|||
}
|
||||
EXPORT_SYMBOL(security_secid_to_secctx);
|
||||
|
||||
int security_secctx_to_secid(char *secdata, u32 seclen, u32 *secid)
|
||||
int security_secctx_to_secid(const char *secdata, u32 seclen, u32 *secid)
|
||||
{
|
||||
return security_ops->secctx_to_secid(secdata, seclen, secid);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue