diff options
author | Jingoo Han <jg1.han@samsung.com> | 2014-02-05 15:13:14 +0900 |
---|---|---|
committer | James Morris <james.l.morris@oracle.com> | 2014-02-06 19:11:04 +1100 |
commit | 29707b206c5171ac6583a4d1e9ec3af937e8c2e4 (patch) | |
tree | 89eaafa4bfc49b2418db3bdfb367e65f643d2e79 /security/selinux/selinuxfs.c | |
parent | 923b49ff69fcbffe6f8b2739de218c45544392a7 (diff) |
security: replace strict_strto*() with kstrto*()
The usage of strict_strto*() is not preferred, because
strict_strto*() is obsolete. Thus, kstrto*() should be
used.
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: James Morris <james.l.morris@oracle.com>
Diffstat (limited to 'security/selinux/selinuxfs.c')
-rw-r--r-- | security/selinux/selinuxfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/selinux/selinuxfs.c b/security/selinux/selinuxfs.c index 5122affe06a8..170b4b123acc 100644 --- a/security/selinux/selinuxfs.c +++ b/security/selinux/selinuxfs.c @@ -54,7 +54,7 @@ unsigned int selinux_checkreqprot = CONFIG_SECURITY_SELINUX_CHECKREQPROT_VALUE; static int __init checkreqprot_setup(char *str) { unsigned long checkreqprot; - if (!strict_strtoul(str, 0, &checkreqprot)) + if (!kstrtoul(str, 0, &checkreqprot)) selinux_checkreqprot = checkreqprot ? 1 : 0; return 1; } |