diff options
author | 2012-01-17 22:11:28 -0500 | |
---|---|---|
committer | 2012-01-19 15:59:11 +1100 | |
commit | 3db59dd93309710c40aaf1571c607cb0feef3ecb (patch) | |
tree | 6a224a855aad0e5207abae573456b2d2ec381f7c /lib/mpi/mpiutil.c | |
parent | MPILIB: Add a missing ENOMEM check (diff) | |
download | wireguard-linux-3db59dd93309710c40aaf1571c607cb0feef3ecb.tar.xz wireguard-linux-3db59dd93309710c40aaf1571c607cb0feef3ecb.zip |
ima: fix cred sparse warning
Fix ima_policy.c sparse "warning: dereference of noderef expression"
message, by accessing cred->uid using current_cred().
Changelog v1:
- Change __cred to just cred (based on David Howell's comment)
Signed-off-by: Mimi Zohar <zohar@us.ibm.com>
Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions