Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Dec 2002 14:12:04 -0800 (PST)
From:      Brian Feldman <green@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 22950 for review
Message-ID:  <200212302212.gBUMC4eG082174@repoman.freebsd.org>

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

Change 22950 by green@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@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?200212302212.gBUMC4eG082174>