1#line 1 "system/sepolicy/flagging/flagging_macros"
2####################################
3# is_flag_enabled(flag, rules)
4# SELinux rules which apply only if given feature is turned on
5
6
7####################################
8# is_flag_disabled(flag, rules)
9# SELinux rules which apply only if given feature is turned off
10
11
12####################################
13# starting_at_board_api(api_level, rules_if_api_level)
14#
15# This macro conditionally exposes SELinux rules ensuring they are available
16# only when the board API level is at or above the specified 'api_level'.
17
18
19####################################
20# until_board_api(api_level, rules_if_lower_api_level)
21#
22# This macro conditionally exposes SELinux rules ensuring they are available
23# only when the board API level is below the specified 'api_level'.
24
25#line 1 "out/soong/.intermediates/system/sepolicy/contexts/plat_keystore2_key_contexts/android_common/newline"
26
27#line 1 "system/sepolicy/private/keystore2_key_contexts"
28# Keystore 2.0 key contexts.
29# This file defines Keystore 2.0 namespaces and maps them to labels.
30# Format:
31# <namespace> <label>
32#
33# <namespace> must be an integer in the interval [0 ...  2^31)
34# su_key is a keystore2_key namespace for the su domain intended for native tests.
350              u:object_r:su_key:s0
36
37# shell_key is a keystore2_key namespace for the shell domain intended for native tests.
381              u:object_r:shell_key:s0
39
40# vold_key is a keystore2_key namespace for vold. It allows using raw Keymint blobs.
41100            u:object_r:vold_key:s0
42
43# odsign_key is a keystore2_key namespace for the on-device signing daemon.
44101            u:object_r:odsign_key:s0
45
46# wifi_key is a keystore2_key namespace for the WI-FI subsystem. It replaces the WIFI_UID
47# namespace in keystore.
48102            u:object_r:wifi_key:s0
49
50# locksettings_key is a keystore2_key namespace for the LockSettingsService.
51103            u:object_r:locksettings_key:s0
52
53# resume_on_reboot_key is a keystore2_key namespace intended for resume on reboot.
54120            u:object_r:resume_on_reboot_key:s0
55
56#line 1 "out/soong/.intermediates/system/sepolicy/contexts/plat_keystore2_key_contexts/android_common/newline"
57
58