Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Nov 2002 14:58:49 -0800 (PST)
From:      Brian Feldman <green@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 20722 for review
Message-ID:  <200211052258.gA5Mwn1H074233@repoman.freebsd.org>

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

Change 20722 by green@green_laptop_2 on 2002/11/05 14:58:43

	Define the var_run_ntp_t type instead of using it nonexistantly.

Affected files ...

.. //depot/projects/trustedbsd/mac/contrib/sebsd/policy/domains/program/ntpd.te#2 edit

Differences ...

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

@@ -9,14 +9,15 @@
 daemon_domain(ntpd)
 type var_lib_ntp_t, file_type, sysadmfile;
 type var_log_ntp_t, file_type, sysadmfile;
+type var_run_ntp_t, file_type, sysadmfile;
 type etc_ntp_t, file_type, sysadmfile;
 
 file_type_auto_trans(ntpd_t, var_log_t, var_log_ntp_t)
 
 allow ntpd_t var_lib_t:dir r_dir_perms;
 allow ntpd_t usr_t:file r_file_perms;
-allow ntpd_t { var_lib_ntp_t var_log_ntp_t }:dir rw_dir_perms;
-allow ntpd_t { var_lib_ntp_t var_log_ntp_t }:file create_file_perms;
+allow ntpd_t { var_lib_ntp_t var_log_ntp_t var_run_ntp_t }:dir rw_dir_perms;
+allow ntpd_t { var_lib_ntp_t var_log_ntp_t var_run_ntp_t }:file create_file_perms;
 
 allow ntpd_t self:capability { sys_time net_bind_service ipc_lock };
 dontaudit ntpd_t self:capability fsetid;

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?200211052258.gA5Mwn1H074233>