tmp_suning_uos_patched/security/integrity/ima
Mimi Zohar fbbb456347 ima: fix filename hint to reflect script interpreter name
When IMA was first upstreamed, the bprm filename and interp were
always the same.  Currently, the bprm->filename and bprm->interp
are the same, except for when only bprm->interp contains the
interpreter name.  So instead of using the bprm->filename as
the IMA filename hint in the measurement list, we could replace
it with bprm->interp, but this feels too fragil.

The following patch is not much better, but at least there is some
indication that sometimes we're passing the filename and other times
the interpreter name.

Reported-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
Signed-off-by: James Morris <james.l.morris@oracle.com>
2012-05-16 10:36:41 +10:00
..
ima_api.c ima: free duplicate measurement memory 2011-12-19 22:04:32 -05:00
ima_audit.c IMA: fix audit res field to indicate 1 for success and 0 for failure 2012-02-16 12:01:42 +11: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: fix filename hint to reflect script interpreter name 2012-05-16 10:36:41 +10:00
ima_policy.c IMA: fix audit res field to indicate 1 for success and 0 for failure 2012-02-16 12:01:42 +11:00
ima_queue.c ima: fix invalid memory reference 2011-12-19 22:07:54 -05:00
ima.h integrity: sparse fix: move iint_initialized to integrity.h 2011-09-09 16:56:24 -07:00
Kconfig security: fix ima kconfig warning 2012-02-28 11:01:15 +11:00
Makefile integrity: move ima inode integrity data management 2011-07-18 12:29:38 -04:00