From: Mimi Zohar Date: Wed, 5 Nov 2014 12:53:55 +0000 (-0500) Subject: ima: extend "mask" policy matching support X-Git-Tag: omap-for-v4.2/fixes-rc1^2~81^2^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4351c294b8c1028077280f761e158d167b592974;p=pandora-kernel.git ima: extend "mask" policy matching support 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 Signed-off-by: Dr. Greg Wettstein Cc: stable@vger.kernel.org --- Reading git-diff-tree failed