From fe39ed33dc895fba5bcefd6a088994daf85b6806 Mon Sep 17 00:00:00 2001 From: Tri Vo Date: Tue, 6 Nov 2018 09:45:20 -0800 Subject: [PATCH] Don't label /dev/{ akm8973.* accelerometer } from system sepolicy These /dev nodes are device-specific and should be labeled from device policy. Moreover, pixels don't have these /dev nodes. Bug: 110962171 Test: boot pixel 3 Change-Id: I37ca9a956130eb4763c75f5e8a0decbd4f7b97a7 --- private/file_contexts | 2 -- 1 file changed, 2 deletions(-) diff --git a/private/file_contexts b/private/file_contexts index ae20f5d06..0f5dad3d4 100644 --- a/private/file_contexts +++ b/private/file_contexts @@ -68,8 +68,6 @@ # Devices # /dev(/.*)? u:object_r:device:s0 -/dev/akm8973.* u:object_r:sensors_device:s0 -/dev/accelerometer u:object_r:sensors_device:s0 /dev/adf[0-9]* u:object_r:graphics_device:s0 /dev/adf-interface[0-9]*\.[0-9]* u:object_r:graphics_device:s0 /dev/adf-overlay-engine[0-9]*\.[0-9]* u:object_r:graphics_device:s0