Commit ecd9db4
sweet: sepolicy: fix neverallows
vendor_init.te:
set_prop -> get_prop because the init_service_status_prop is a system_restricted_prop which can only be written by /system (and not vendor_init)
property.te:
specify the property types to vendor_internal_prop because the default property_type is a system_internal_prop (it would trigger a neverallow because vendor accesses them)
mi_thermald.te:
just move the type definition to property.te
Signed-off-by: brvn0 <me@brvn0.de>1 parent ad81c4f commit ecd9db4
4 files changed
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
118 | | - | |
119 | | - | |
120 | 118 | | |
121 | 119 | | |
122 | 120 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | 4 | | |
6 | 5 | | |
7 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
0 commit comments