From 638bf3271bc7fc1d3c0640df378e4d1a84dcf384 Mon Sep 17 00:00:00 2001
From: William Luh <williamluh@google.com>
Date: Thu, 25 Apr 2013 15:37:15 -0700
Subject: [PATCH] Allow system to search the /sys/devices/system/cpu directory.

Change-Id: Iaa8fb6fa8726d083ee3c49edbbd398f0e8f33a37
---
 system.te | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/system.te b/system.te
index 9d6d4c148..0adbd2d8c 100644
--- a/system.te
+++ b/system.te
@@ -216,3 +216,6 @@ allow system usb_device:dir r_dir_perms;
 
 # Allow system to talk to sensors
 allow system sensors_device:chr_file rw_file_perms;
+
+# Allow system to search the /sys/devices/system/cpu directory
+allow system sysfs_devices_system_cpu:dir search;
-- 
GitLab