Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Nov 2002 06:30:44 -0800 (PST)
From:      Chris Vance <cvance@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 21369 for review
Message-ID:  <200211221430.gAMEUiWd059562@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=21369

Change 21369 by cvance@cvance_laptop on 2002/11/22 06:29:50

	Label /var/log/fs-errors with a new type, and allow xfs to read/write
	to it.

Affected files ...

.. //depot/projects/trustedbsd/mac/contrib/sebsd/policy/domains/program/xfs.te#2 edit
.. //depot/projects/trustedbsd/mac/contrib/sebsd/policy/file_contexts/program/xfs.fc#4 edit

Differences ...

==== //depot/projects/trustedbsd/mac/contrib/sebsd/policy/domains/program/xfs.te#2 (text+ko) ====

@@ -31,3 +31,6 @@
 # Bind to /tmp/.font-unix/fs-1.
 allow xfs_t xfs_tmp_t:unix_stream_socket name_bind;
 
+# Default FreeBSD install uses /var/log/fs-errors for error log
+type xfs_errorlog_t, file_type, sysadmfile;
+allow xfs_t xfs_errorlog_t:file rw_file_perms;

==== //depot/projects/trustedbsd/mac/contrib/sebsd/policy/file_contexts/program/xfs.fc#4 (text+ko) ====

@@ -1,3 +1,4 @@
 # xfs
 /tmp/.font-unix(/.*)?		system_u:object_r:xfs_tmp_t
 /usr/X11R6/bin/xfs		system_u:object_r:xfs_exec_t
+/var/log/fs-errors		system_u:object_r:xfs_errorlog_t

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe p4-projects" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200211221430.gAMEUiWd059562>