summaryrefslogtreecommitdiffstats
path: root/security/inode.c
diff options
context:
space:
mode:
authorTushar Sugandhi <tusharsu@linux.microsoft.com>2021-01-07 20:07:06 -0800
committerMimi Zohar <zohar@linux.ibm.com>2021-01-14 23:41:38 -0500
commit9f5d7d23cc5ec61a92076b73665fcb9aaa5bb5a0 (patch)
tree9316944e029c026b05f592657a08e7ff146caa47 /security/inode.c
parent47d76a4840501c1cefb3fbce777a86c58b02532b (diff)
downloadlinux-9f5d7d23cc5ec61a92076b73665fcb9aaa5bb5a0.tar.gz
linux-9f5d7d23cc5ec61a92076b73665fcb9aaa5bb5a0.tar.bz2
linux-9f5d7d23cc5ec61a92076b73665fcb9aaa5bb5a0.zip
IMA: extend critical data hook to limit the measurement based on a label
The IMA hook ima_measure_critical_data() does not support a way to specify the source of the critical data provider. Thus, the data measurement cannot be constrained based on the data source label in the IMA policy. Extend the IMA hook ima_measure_critical_data() to support passing the data source label as an input parameter, so that the policy rule can be used to limit the measurements based on the label. Signed-off-by: Tushar Sugandhi <tusharsu@linux.microsoft.com> Reviewed-by: Tyler Hicks <tyhicks@linux.microsoft.com> Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
Diffstat (limited to 'security/inode.c')
0 files changed, 0 insertions, 0 deletions