From b2547644effa3994766d7ebf1df3f712fb06577a Mon Sep 17 00:00:00 2001
From: Robert Craig <rpcraig@tycho.ncsc.mil>
Date: Wed, 4 Dec 2013 07:42:27 -0500
Subject: [PATCH] Drop tegra specific label from policy.

This label was originally used for Motorola
Xoom devices. nvmap is the tegra gpu memory
manager and the various nvhost drivers are
for tegra graphics related functionality,
i.e. display serial interface, image signal
processor, or media processing stuff.

Only grouper and tilapia presently need this
policy.

Change-Id: I2a7000f69abf3185724d88d428e8237e0ca436ec
---
 device.te     | 1 -
 domain.te     | 1 -
 file_contexts | 2 --
 3 files changed, 4 deletions(-)

diff --git a/device.te b/device.te
index 76302cdb9..d13ca292d 100644
--- a/device.te
+++ b/device.te
@@ -25,7 +25,6 @@ type log_device, dev_type, mlstrustedobject;
 type mtd_device, dev_type;
 type mtp_device, dev_type, mlstrustedobject;
 type nfc_device, dev_type;
-type nv_device, dev_type, mlstrustedobject;
 type powervr_device, dev_type, mlstrustedobject;
 type ptmx_device, dev_type, mlstrustedobject;
 type qemu_device, dev_type;
diff --git a/domain.te b/domain.te
index 77409e8e3..cf8907607 100644
--- a/domain.te
+++ b/domain.te
@@ -56,7 +56,6 @@ allow domain ptmx_device:chr_file rw_file_perms;
 allow domain powervr_device:chr_file rw_file_perms;
 allow domain log_device:dir search;
 allow domain log_device:chr_file rw_file_perms;
-allow domain nv_device:chr_file rw_file_perms;
 allow domain alarm_device:chr_file r_file_perms;
 allow domain urandom_device:chr_file rw_file_perms;
 allow domain random_device:chr_file rw_file_perms;
diff --git a/file_contexts b/file_contexts
index 20b791594..7f0486d36 100644
--- a/file_contexts
+++ b/file_contexts
@@ -69,8 +69,6 @@
 /dev/kmsg		u:object_r:kmsg_device:s0
 /dev/null		u:object_r:null_device:s0
 /dev/nvhdcp1		u:object_r:video_device:s0
-/dev/nvmap		u:object_r:nv_device:s0
-/dev/nvhost-.*		u:object_r:nv_device:s0
 /dev/random		u:object_r:random_device:s0
 /dev/rpmsg-omx[0-9]	u:object_r:rpmsg_device:s0
 /dev/rproc_user	u:object_r:rpmsg_device:s0
-- 
GitLab