aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMimi Zohar <[email protected]>2018-01-15 11:20:36 -0500
committerMimi Zohar <[email protected]>2018-05-22 07:33:53 -0400
commitf1b08bbcbdaf3160fa95ec95a760a49adf312b67 (patch)
tree8eca8887dda0382e801a69102d6c2cce36616d61 /tools/perf/scripts/python/export-to-postgresql.py
parentfa516b66a1bfce1d72f1620c54bdfebc493000d1 (diff)
ima: define a new policy condition based on the filesystem name
If/when file data signatures are distributed with the file data, this patch will not be needed. In the current environment where only some files are signed, the ability to differentiate between file systems is needed. Some file systems consider the file system magic number internal to the file system. This patch defines a new IMA policy condition named "fsname", based on the superblock's file_system_type (sb->s_type) name. This allows policy rules to be expressed in terms of the filesystem name. The following sample rules require file signatures on rootfs files executed or mmap'ed. appraise func=BPRM_CHECK fsname=rootfs appraise_type=imasig appraise func=FILE_MMAP fsname=rootfs appraise_type=imasig Signed-off-by: Mimi Zohar <[email protected]> Cc: Dave Chinner <[email protected]> Cc: Theodore Ts'o <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions