linux/security/integrity/ima
Mimi Zohar c510d7f8f1 ima: extend "mask" policy matching support
commit 4351c294b8 upstream.

The current "mask" policy option matches files opened as MAY_READ,
MAY_WRITE, MAY_APPEND or MAY_EXEC.  This patch extends the "mask"
option to match files opened containing one of these modes.  For
example, "mask=^MAY_READ" would match files opened read-write.

Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
Signed-off-by: Dr. Greg Wettstein <gw@idfusion.org>
Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
History 2015-08-27 15:06:54 +01:00
..
ima.h ima: fix ima_show_template_data_ascii() 2015-07-15 10:00:38 +01:00
ima_api.c ima: audit log files opened with O_DIRECT flag 2014-06-03 14:21:50 -05:00
ima_appraise.c ima: check xattr value length and type in the ima_inode_setxattr() 2014-11-13 11:48:50 +00:00
ima_crypto.c ima: fix fallback to use new_sync_read() 2014-10-30 09:40:16 -07:00
ima_fs.c ima: fix ima_show_template_data_ascii() 2015-07-15 10:00:38 +01:00
ima_init.c security: integrity: Use a more current logging style 2014-03-07 12:15:21 -05:00
ima_main.c ima: provide flag to identify new empty files 2014-10-30 09:40:16 -07:00
ima_policy.c ima: extend "mask" policy matching support 2015-08-27 15:06:54 +01:00
ima_queue.c integrity: fix checkpatch errors 2014-03-07 12:15:45 -05:00
ima_template.c integrity: fix checkpatch errors 2014-03-07 12:15:45 -05:00
ima_template_lib.c ima: fix ima_show_template_data_ascii() 2015-07-15 10:00:38 +01:00
ima_template_lib.h ima: extend the measurement list to include the file signature 2013-10-31 20:19:35 -04:00
Kconfig Revert "ima: define '_ima' as a builtin 'trusted' keyring" 2013-11-23 16:36:35 -08:00
Makefile ima: define template fields library and new helpers 2013-10-25 17:17:05 -04:00