Add 202404 mapping files

Bug: 327954176
Test: m treble_sepolicy_tests_202404
Test: m 202404_compat_test
Test: m selinux_policy
Change-Id: I6bdcbff305c0cc998bdd809006feb02e0609784d
This commit is contained in:
Inseob Kim 2024-03-11 16:19:11 +09:00
parent 1f93d9bca5
commit f038c8f1ac
4 changed files with 2875 additions and 0 deletions

View file

@ -452,6 +452,7 @@ se_cil_compat_map {
stem: "34.0.cil",
bottom_half: [":34.0.board.compat.map{.plat_private}"],
version: "34.0",
top_half: "plat_202404.cil",
}
se_cil_compat_map {
@ -460,6 +461,7 @@ se_cil_compat_map {
bottom_half: [":34.0.board.compat.map{.system_ext_private}"],
system_ext_specific: true,
version: "34.0",
top_half: "system_ext_202404.cil",
}
se_cil_compat_map {
@ -468,12 +470,14 @@ se_cil_compat_map {
bottom_half: [":34.0.board.compat.map{.product_private}"],
product_specific: true,
version: "34.0",
top_half: "product_202404.cil",
}
se_cil_compat_map {
name: "34.0.ignore.cil",
bottom_half: [":34.0.board.ignore.map{.plat_private}"],
version: "34.0",
top_half: "202404.ignore.cil",
}
se_cil_compat_map {
@ -482,6 +486,7 @@ se_cil_compat_map {
bottom_half: [":34.0.board.ignore.map{.system_ext_private}"],
system_ext_specific: true,
version: "34.0",
top_half: "system_ext_202404.ignore.cil",
}
se_cil_compat_map {
@ -490,6 +495,7 @@ se_cil_compat_map {
bottom_half: [":34.0.board.ignore.map{.product_private}"],
product_specific: true,
version: "34.0",
top_half: "product_202404.ignore.cil",
}
se_compat_cil {
@ -505,3 +511,77 @@ se_compat_cil {
system_ext_specific: true,
version: "34.0",
}
se_build_files {
name: "202404.board.compat.map",
srcs: ["compat/202404/202404.cil"],
}
se_build_files {
name: "202404.board.compat.cil",
srcs: ["compat/202404/202404.compat.cil"],
}
se_build_files {
name: "202404.board.ignore.map",
srcs: ["compat/202404/202404.ignore.cil"],
}
se_cil_compat_map {
name: "plat_202404.cil",
stem: "202404.cil",
bottom_half: [":202404.board.compat.map{.plat_private}"],
version: "202404",
}
se_cil_compat_map {
name: "system_ext_202404.cil",
stem: "202404.cil",
bottom_half: [":202404.board.compat.map{.system_ext_private}"],
system_ext_specific: true,
version: "202404",
}
se_cil_compat_map {
name: "product_202404.cil",
stem: "202404.cil",
bottom_half: [":202404.board.compat.map{.product_private}"],
product_specific: true,
version: "202404",
}
se_cil_compat_map {
name: "202404.ignore.cil",
bottom_half: [":202404.board.ignore.map{.plat_private}"],
version: "202404",
}
se_cil_compat_map {
name: "system_ext_202404.ignore.cil",
stem: "202404.ignore.cil",
bottom_half: [":202404.board.ignore.map{.system_ext_private}"],
system_ext_specific: true,
version: "202404",
}
se_cil_compat_map {
name: "product_202404.ignore.cil",
stem: "202404.ignore.cil",
bottom_half: [":202404.board.ignore.map{.product_private}"],
product_specific: true,
version: "202404",
}
se_compat_cil {
name: "202404.compat.cil",
srcs: [":202404.board.compat.cil{.plat_private}"],
version: "202404",
}
se_compat_cil {
name: "system_ext_202404.compat.cil",
stem: "202404.compat.cil",
srcs: [":202404.board.compat.cil{.system_ext_private}"],
system_ext_specific: true,
version: "202404",
}

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,3 @@
;; complement CIL file for compatibility between ToT policy and 202404 vendors.
;; will be compiled along with other normal policy files, on 202404 vendors.
;;

View file

@ -0,0 +1,9 @@
;; new_objects - a collection of types that have been introduced with ToT policy
;; that have no analogue in 202404 policy. Thus, we do not need to map these types to
;; previous ones. Add here to pass checkapi tests.
(type new_objects)
(typeattribute new_objects)
(typeattributeset new_objects
( new_objects
input_device_config_prop
))