PERFORCE change 18939 for review
Brian Feldman
green at freebsd.org
Tue Oct 8 17:48:46 GMT 2002
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=18939
Change 18939 by green at green_laptop_2 on 2002/10/08 10:48:22
Add contexts for more shells/ correct more of the contexts already
there.
Affected files ...
.. //depot/projects/trustedbsd/mac/contrib/sebsd/policy/file_contexts/program/shell.fc#1 add
.. //depot/projects/trustedbsd/mac/contrib/sebsd/policy/file_contexts/types.fc#4 edit
Differences ...
==== //depot/projects/trustedbsd/mac/contrib/sebsd/policy/file_contexts/types.fc#4 (text+ko) ====
@@ -86,10 +86,8 @@
# /bin
#
/bin(/.*)? system_u:object_r:bin_t
-/bin/tcsh system_u:object_r:shell_exec_t
-/bin/bash system_u:object_r:shell_exec_t
+/bin/t?csh system_u:object_r:shell_exec_t
/bin/sh system_u:object_r:shell_exec_t
-/bin/ash system_u:object_r:shell_exec_t
/bin/ls system_u:object_r:ls_exec_t
#
@@ -116,10 +114,11 @@
/dev/sd[^/]* system_u:object_r:fixed_disk_device_t
/dev/hd[^/]* system_u:object_r:fixed_disk_device_t
/dev/ataraid/d[^/]* system_u:object_r:fixed_disk_device_t
-/dev/md[0-9]* system_u:object_r:fixed_disk_device_t
+#/dev/md[0-9]* system_u:object_r:fixed_disk_device_t
/dev/s(cd|r)[^/]* system_u:object_r:removable_device_t
/dev/fd[^/]+ system_u:object_r:removable_device_t
/dev/rtc system_u:object_r:clock_device_t
+/dev/ums.* system_u:object_r:mouse_device_t
/dev/psaux system_u:object_r:mouse_device_t
/dev/.*mouse.* -c system_u:object_r:mouse_device_t
/dev/input/.*mouse.* system_u:object_r:mouse_device_t
@@ -191,6 +190,7 @@
# /usr/lib
#
/usr/lib(/.*)? system_u:object_r:lib_t
+/usr/lib/ld.*\.so.* system_u:object_r:ld_so_t
/usr/lib/lib.*\.so.* system_u:object_r:shlib_t
/usr/lib/python.*\.so system_u:object_r:shlib_t
/usr/lib/[^/]*/lib.*\.so.* system_u:object_r:shlib_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