Dan Walsh 3eaa99
###############################################################################
Dan Walsh 3eaa99
#
Dan Walsh 3eaa99
# Copyright (C) 2006 Red Hat, Inc. All Rights Reserved.
Dan Walsh 3eaa99
# Written by David Howells (dhowells@redhat.com)
Dan Walsh 3eaa99
#            Karl MacMillan (kmacmill@redhat.com)
Dan Walsh 3eaa99
#
Dan Walsh 3eaa99
# This program is free software; you can redistribute it and/or
Dan Walsh 3eaa99
# modify it under the terms of the GNU General Public License
Dan Walsh 3eaa99
# as published by the Free Software Foundation; either version
Dan Walsh 3eaa99
# 2 of the License, or (at your option) any later version.
Dan Walsh 3eaa99
#
Dan Walsh 3eaa99
###############################################################################
Dan Walsh 3eaa99
Dan Walsh 3eaa99
#
Dan Walsh 3eaa99
# Define the contexts to be assigned to various files and directories of
Dan Walsh 3eaa99
# importance to the CacheFiles kernel module and userspace management daemon.
Dan Walsh 3eaa99
#
Dan Walsh 3eaa99
Dan Walsh 3eaa99
# cachefilesd executable will have:
Dan Walsh 3eaa99
# label: system_u:object_r:cachefilesd_exec_t
Dan Walsh 3eaa99
# MLS sensitivity: s0
Dan Walsh 3eaa99
# MCS categories: <none>
Dan Walsh 3eaa99
Dan Walsh 3eaa99
/sbin/cachefilesd	--	gen_context(system_u:object_r:cachefilesd_exec_t,s0)
Dan Walsh 3eaa99
/dev/cachefiles		-c	gen_context(system_u:object_r:cachefiles_dev_t,s0)
Dan Walsh 3eaa99
/var/fscache(/.*)?		gen_context(system_u:object_r:cachefiles_var_t,s0)
Dan Walsh 3eaa99
/var/cache/fscache(/.*)?		gen_context(system_u:object_r:cachefiles_var_t,s0)
Dan Walsh 3eaa99
Dan Walsh 3eaa99
/var/run/cachefilesd\.pid --	gen_context(system_u:object_r:cachefiles_var_t,s0)