From f00ba23b21318892ed8b8f1605ad0b113a8b7bb6 Mon Sep 17 00:00:00 2001 From: Dan Walsh Date: Fri, 3 Sep 2010 17:19:55 -0400 Subject: [PATCH] Merge with upsteam --- policy/modules/admin/alsa.fc | 2 +- policy/modules/kernel/filesystem.fc | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/policy/modules/admin/alsa.fc b/policy/modules/admin/alsa.fc index bc9a97a7..72a04587 100644 --- a/policy/modules/admin/alsa.fc +++ b/policy/modules/admin/alsa.fc @@ -1,4 +1,4 @@ -HOME_DIR/\.asoundrc -- gen_context(system_u:object_r:alsa_home_t,s0) +HOME_DIR/\.asoundrc -- gen_context(system_u:object_r:alsa_home_t,s0) /bin/alsaunmute -- gen_context(system_u:object_r:alsa_exec_t,s0) diff --git a/policy/modules/kernel/filesystem.fc b/policy/modules/kernel/filesystem.fc index e9a09e14..ff835aad 100644 --- a/policy/modules/kernel/filesystem.fc +++ b/policy/modules/kernel/filesystem.fc @@ -1,5 +1,7 @@ /dev/shm -d gen_context(system_u:object_r:tmpfs_t,s0) /dev/shm/.* <> -/cgroup(/.*)? gen_context(system_u:object_r:cgroup_t,s0) -/sys/fs/cgroup(/.*)? <> +/cgroup -d gen_context(system_u:object_r:cgroup_t,s0) +/cgroup/.* <> + +/sys/fs/cgroup(/.*)? <>