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