Add sepolicy for RamdumpService to access property sys.boot.reason on Pixel 2

Denied pattern is:
avc: denied { read } for name="u:object_r:system_boot_reason_prop:s0" dev="tmpfs" ino=21223 scontext=u:r:ramdump_app:s0:c206,c256,c512,c768 tcontext=u:object_r:system_boot_reason_prop:s0 tclass=file permissive=0

Bug: 132220248
Merged-In: Id391450303a19b14a77ae564a0b79606f9c984fc
Change-Id: Id391450303a19b14a77ae564a0b79606f9c984fc
This commit is contained in:
klinesjiang
2019-06-03 18:13:50 +08:00
committed by Klines Jiang
parent 59b083d504
commit 96c2b2d303

View File

@@ -11,4 +11,5 @@ userdebug_or_eng(`
set_prop(ramdump_app, vendor_ramdump_prop);
get_prop(system_app, vendor_ssr_prop)
get_prop(ramdump_app, system_boot_reason_prop)
')