File tree Expand file tree Collapse file tree 3 files changed +33
-2
lines changed
testcases/kernel/security/integrity/ima/datafiles Expand file tree Collapse file tree 3 files changed +33
-2
lines changed Original file line number Diff line number Diff line change 1
1
# SPDX-License-Identifier: GPL-2.0-or-later
2
- # Copyright (c) Linux Test Project, 2019-2020
2
+ # Copyright (c) Linux Test Project, 2019-2025
3
3
# Copyright (c) 2020 Microsoft Corporation
4
4
# Copyright (C) 2009, Cisco Systems Inc.
5
5
# Ngie Cooper, July 2009
@@ -8,6 +8,6 @@ top_srcdir ?= ../../../../../..
8
8
9
9
include $(top_srcdir ) /include/mk/env_pre.mk
10
10
11
- SUBDIRS := ima_kexec ima_keys ima_policy ima_selinux
11
+ SUBDIRS := ima_kexec ima_keys ima_measurements ima_policy ima_selinux
12
12
13
13
include $(top_srcdir ) /include/mk/generic_trunk_target.mk
Original file line number Diff line number Diff line change
1
+ # SPDX-License-Identifier: GPL-2.0-or-later
2
+ # Copyright (c) Linux Test Project, 2025
3
+
4
+ top_srcdir ?= ../../../../../../..
5
+
6
+ include $(top_srcdir ) /include/mk/env_pre.mk
7
+
8
+ INSTALL_DIR := testcases/data/ima_measurements
9
+ INSTALL_TARGETS := *.policy
10
+
11
+ include $(top_srcdir ) /include/mk/generic_leaf_target.mk
Original file line number Diff line number Diff line change
1
+ dont_measure fsmagic=0x9fa0
2
+ dont_measure fsmagic=0x62656572
3
+ dont_measure fsmagic=0x64626720
4
+ dont_measure fsmagic=0x1021994 func=FILE_CHECK
5
+ dont_measure fsmagic=0x1cd1
6
+ dont_measure fsmagic=0x42494e4d
7
+ dont_measure fsmagic=0x73636673
8
+ dont_measure fsmagic=0xf97cff8c
9
+ dont_measure fsmagic=0x43415d53
10
+ dont_measure fsmagic=0x27e0eb
11
+ dont_measure fsmagic=0x63677270
12
+ dont_measure fsmagic=0x6e736673
13
+ dont_measure fsmagic=0xde5e81e4
14
+ measure func=MMAP_CHECK mask=MAY_EXEC
15
+ measure func=BPRM_CHECK mask=MAY_EXEC
16
+ measure func=FILE_CHECK mask=^MAY_READ euid=0
17
+ measure func=FILE_CHECK mask=^MAY_READ uid=0
18
+ measure func=MODULE_CHECK
19
+ measure func=FIRMWARE_CHECK
20
+ measure func=POLICY_CHECK
You can’t perform that action at this time.
0 commit comments