PERFORCE change 20722 for review

Brian Feldman green at freebsd.org
Tue Nov 5 22:58:49 GMT 2002


http://perforce.freebsd.org/chv.cgi?CH=20722

Change 20722 by green at 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 at trustedbsd.org
with "unsubscribe trustedbsd-cvs" in the body of the message



More information about the trustedbsd-cvs mailing list