From 8c60f74dcc045b0566bc7b9bc64cba49bddba1b3 Mon Sep 17 00:00:00 2001
From: Tom Cherry <tomcherry@google.com>
Date: Tue, 11 Apr 2017 14:27:41 -0700
Subject: [PATCH] remove /dev/log

This was marked deprecated in 2014 and removed in 2015, let's remove
the sepolicy now too.

Test: see that logging still works on bullhead

Change-Id: I4caa0dbf77956fcbc61a07897242b951c275b502
---
 private/file_contexts | 1 -
 public/device.te      | 1 -
 2 files changed, 2 deletions(-)

diff --git a/private/file_contexts b/private/file_contexts
index adae7dcfd..713c62590 100644
--- a/private/file_contexts
+++ b/private/file_contexts
@@ -91,7 +91,6 @@
 /dev/ion		u:object_r:ion_device:s0
 /dev/keychord   u:object_r:keychord_device:s0
 /dev/kmem		u:object_r:kmem_device:s0
-/dev/log(/.*)?		u:object_r:log_device:s0
 /dev/loop-control	u:object_r:loop_control_device:s0
 /dev/mem		u:object_r:kmem_device:s0
 /dev/modem.*		u:object_r:radio_device:s0
diff --git a/public/device.te b/public/device.te
index 0f64bfabb..475948da0 100644
--- a/public/device.te
+++ b/public/device.te
@@ -30,7 +30,6 @@ type hw_random_device, dev_type;
 type input_device, dev_type;
 type kmem_device, dev_type;
 type port_device, dev_type;
-type log_device, dev_type, mlstrustedobject;
 type mtd_device, dev_type;
 type mtp_device, dev_type, mlstrustedobject;
 type nfc_device, dev_type;
-- 
GitLab