Forked from
drm / msm
Source project has a limited visibility.
-
GONG, Ruiqi authored
Simplify the code by using kstrndup instead of kzalloc and strncpy in smk_parse_smack(), which meanwhile remove strncpy as [1] suggests. [1]: https://github.com/KSPP/linux/issues/90 Signed-off-by:
GONG, Ruiqi <gongruiqi1@huawei.com> Signed-off-by:
Casey Schaufler <casey@schaufler-ca.com>
GONG, Ruiqi authoredSimplify the code by using kstrndup instead of kzalloc and strncpy in smk_parse_smack(), which meanwhile remove strncpy as [1] suggests. [1]: https://github.com/KSPP/linux/issues/90 Signed-off-by:
GONG, Ruiqi <gongruiqi1@huawei.com> Signed-off-by:
Casey Schaufler <casey@schaufler-ca.com>