WSL2-Linux-Kernel/security/integrity/ima
Mimi Zohar 3db59dd933 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>
2012-01-19 15:59:11 +11:00
..
Kconfig Merge branch 'for-linus' of git://github.com/richardweinberger/linux 2011-11-02 09:45:39 -07:00
Makefile integrity: move ima inode integrity data management 2011-07-18 12:29:38 -04:00
ima.h integrity: sparse fix: move iint_initialized to integrity.h 2011-09-09 16:56:24 -07:00
ima_api.c ima: free duplicate measurement memory 2011-12-19 22:04:32 -05:00
ima_audit.c audit: treat s_id as an untrusted string 2012-01-17 16:17:03 -05:00
ima_crypto.c Merge branch 'master' into next 2010-05-06 10:56:07 +10:00
ima_fs.c ima: sparse fix: make ima_open_policy static 2011-09-09 16:56:29 -07:00
ima_init.c Merge branch 'master' into next 2010-05-06 10:56:07 +10:00
ima_main.c ima: sparse fix: include linux/ima.h in ima_main.c 2011-09-09 16:56:30 -07:00
ima_policy.c ima: fix cred sparse warning 2012-01-19 15:59:11 +11:00
ima_queue.c ima: fix invalid memory reference 2011-12-19 22:07:54 -05:00