Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Oct 2002 10:48:46 -0700 (PDT)
From:      Brian Feldman <green@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 18939 for review
Message-ID:  <200210081748.g98HmkMo064491@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=18939

Change 18939 by green@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@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?200210081748.g98HmkMo064491>