commit | 3db59dd93309710c40aaf1571c607cb0feef3ecb | [log] [tgz] |
---|---|---|
author | Mimi Zohar <zohar@linux.vnet.ibm.com> | Tue Jan 17 22:11:28 2012 -0500 |
committer | James Morris <jmorris@namei.org> | Thu Jan 19 15:59:11 2012 +1100 |
tree | 6a224a855aad0e5207abae573456b2d2ec381f7c | |
parent | 4bf1924c008dffdc154f82507b4052e49263a6f4 [diff] |
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>