PERFORCE change 22950 for review

Brian Feldman green at freebsd.org
Mon Dec 30 22:12:04 GMT 2002


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

Change 22950 by green at green_laptop_2 on 2002/12/30 14:11:24

	Allow swapon on chr_file as well as blk_file.

Affected files ...

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

Differences ...

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

@@ -51,7 +51,7 @@
 
 # Enable swapping to devices and files
 allow fsadm_t swapfile_t:file { getattr swapon };
-allow fsadm_t fixed_disk_device_t:blk_file { getattr swapon };
+allow fsadm_t fixed_disk_device_t:{ blk_file chr_file } { getattr swapon };
 
 # XXX Why does updfstab run insmod?
 domain_auto_trans(fsadm_t, insmod_exec_t, insmod_t)
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