2010-02-26 20:32:53

by Daniel Walsh

[permalink] [raw]
Subject: [refpolicy] Fwd: cachefiles policy files

These look good.

-------- Original Message --------
Subject: cachefiles policy files
Date: Thu, 25 Feb 2010 20:49:48 +0000
From: David Howells <[email protected]>
Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd,
Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE,
United Kingdom. Registered in England and Wales under Company
Registration No. 3798903
To: dwalsh at redhat.com
CC: dhowells at redhat.com



###############################################################################
#
# Copyright (C) 2006 Red Hat, Inc. All Rights Reserved.
# Written by David Howells (dhowells at redhat.com)
# Karl MacMillan (kmacmill at redhat.com)
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version
# 2 of the License, or (at your option) any later version.
#
###############################################################################

#
# Define the contexts to be assigned to various files and directories of
# importance to the CacheFiles kernel module and userspace management daemon.
#

# cachefilesd executable will have:
# label: system_u:object_r:cachefilesd_exec_t
# MLS sensitivity: s0
# MCS categories:<none>

/sbin/cachefilesd -- gen_context(system_u:object_r:cachefilesd_exec_t,s0)
/dev/cachefiles -c gen_context(system_u:object_r:cachefiles_dev_t,s0)
/var/fscache(/.*)? gen_context(system_u:object_r:cachefiles_var_t,s0)

/var/run/cachefilesd.pid -- gen_context(system_u:object_r:cachefiles_var_t,s0)



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://oss.tresys.com/pipermail/refpolicy/attachments/20100226/1335974a/attachment.html
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cachefilesd.if
Url: http://oss.tresys.com/pipermail/refpolicy/attachments/20100226/1335974a/attachment.pl
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cachefilesd.te
Url: http://oss.tresys.com/pipermail/refpolicy/attachments/20100226/1335974a/attachment-0001.pl