diff options
author | Roberto Sassu <roberto.sassu@huawei.com> | 2021-06-08 14:31:21 +0200 |
---|---|---|
committer | Mimi Zohar <zohar@linux.ibm.com> | 2021-06-08 16:29:10 -0400 |
commit | 24c9ae23bdfa0642228e747849dd052fd4295c6c (patch) | |
tree | 3e57619f2de9068ac8aeba2ebddad546a20c5e50 /security/integrity/ima/ima_fs.c | |
parent | doc: Fix warning in Documentation/security/IMA-templates.rst (diff) | |
download | linux-dev-24c9ae23bdfa0642228e747849dd052fd4295c6c.tar.xz linux-dev-24c9ae23bdfa0642228e747849dd052fd4295c6c.zip |
ima: Set correct casting types
The code expects that the values being parsed from a buffer when the
ima_canonical_fmt global variable is true are in little endian. Thus, this
patch sets the casting types accordingly.
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Roberto Sassu <roberto.sassu@huawei.com>
Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
Diffstat (limited to 'security/integrity/ima/ima_fs.c')
0 files changed, 0 insertions, 0 deletions