Chris PeBenito 17de1b
#
Chris PeBenito 17de1b
# /emul
Chris PeBenito 17de1b
#
Chris PeBenito 13d7ce
ifdef(`distro_debian',`
Chris PeBenito 13d7ce
/emul/ia32-linux/usr(/.*)?/lib(/.*)?		gen_context(system_u:object_r:lib_t,s0)
Chris PeBenito 13d7ce
/emul/ia32-linux/usr(/.*)?/lib(/.*)?/ld-[^/]*\.so(\.[^/]*)* gen_context(system_u:object_r:ld_so_t,s0)
Chris PeBenito 13d7ce
/emul/ia32-linux/lib(/.*)?			gen_context(system_u:object_r:lib_t,s0)
Chris PeBenito 13d7ce
/emul/ia32-linux/lib(/.*)?/ld-[^/]*\.so(\.[^/]*)* -- gen_context(system_u:object_r:ld_so_t,s0)
Chris PeBenito 13d7ce
')
Chris PeBenito 13d7ce
Chris PeBenito 17de1b
ifdef(`distro_gentoo',`
Chris PeBenito 17de1b
/emul/linux/x86/usr(/.*)?/lib(/.*)?		gen_context(system_u:object_r:lib_t,s0)
Chris PeBenito 17de1b
/emul/linux/x86/lib(/.*)?			gen_context(system_u:object_r:lib_t,s0)
Chris PeBenito 17de1b
/emul/linux/x86/lib(/.*)?/ld-[^/]*\.so(\.[^/]*)* -- gen_context(system_u:object_r:ld_so_t,s0)
Chris PeBenito 17de1b
')
Chris PeBenito 17de1b
Chris PeBenito 17de1b
ifdef(`distro_redhat',`
Chris PeBenito 17de1b
/emul/ia32-linux/usr(/.*)?/lib(/.*)?		gen_context(system_u:object_r:lib_t,s0)
Chris PeBenito 350b6a
/emul/ia32-linux/usr(/.*)?/java/.+\.so(\.[^/]*)* -- gen_context(system_u:object_r:lib_t,s0)
Chris PeBenito 350b6a
/emul/ia32-linux/usr(/.*)?/java/.*\.jar	--	gen_context(system_u:object_r:lib_t,s0)
Chris PeBenito 350b6a
/emul/ia32-linux/usr(/.*)?/java/.*\.jsa	--	gen_context(system_u:object_r:lib_t,s0)
Chris PeBenito 17de1b
/emul/ia32-linux/usr(/.*)?/lib(/.*)?/ld-[^/]*\.so(\.[^/]*)* gen_context(system_u:object_r:ld_so_t,s0)
Chris PeBenito 17de1b
/emul/ia32-linux/lib(/.*)?			gen_context(system_u:object_r:lib_t,s0)
Chris PeBenito 17de1b
/emul/ia32-linux/lib(/.*)?/ld-[^/]*\.so(\.[^/]*)* -- gen_context(system_u:object_r:ld_so_t,s0)
Chris PeBenito 17de1b
')
Chris PeBenito 17de1b
Chris PeBenito 17de1b
#
Chris PeBenito 17de1b
# /etc
Chris PeBenito 17de1b
#
Chris PeBenito 17de1b
/etc/ld\.so\.cache			--	gen_context(system_u:object_r:ld_so_cache_t,s0)
Chris PeBenito 17de1b
/etc/ld\.so\.preload			--	gen_context(system_u:object_r:ld_so_cache_t,s0)
Chris PeBenito 17de1b
Chris PeBenito 350b6a
/etc/ppp/plugins/rp-pppoe\.so 		--	gen_context(system_u:object_r:lib_t,s0)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
#
Chris PeBenito 17de1b
# /lib(64)?
Chris PeBenito 17de1b
#
Chris PeBenito 3c3c04
/lib					-d	gen_context(system_u:object_r:lib_t,s0)
Chris PeBenito 3c3c04
/lib/.*						gen_context(system_u:object_r:lib_t,s0)
Chris PeBenito 3c3c04
/lib64					-d	gen_context(system_u:object_r:lib_t,s0)
Chris PeBenito 3c3c04
/lib64/.*					gen_context(system_u:object_r:lib_t,s0)
Chris PeBenito 17de1b
/lib/ld-[^/]*\.so(\.[^/]*)*		--	gen_context(system_u:object_r:ld_so_t,s0)
Chris PeBenito 17de1b
/lib64/ld-[^/]*\.so(\.[^/]*)*		--	gen_context(system_u:object_r:ld_so_t,s0)
Chris PeBenito 17de1b
Chris PeBenito 19ebf0
/lib/security/pam_poldi\.so  		--	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 6073ea
/lib64/security/pam_poldi\.so		--	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 17de1b
Chris PeBenito 13d7ce
ifdef(`distro_debian',`
Chris PeBenito 13d7ce
/lib32					-l	gen_context(system_u:object_r:lib_t,s0)
Chris PeBenito 13d7ce
/lib64					-l	gen_context(system_u:object_r:lib_t,s0)
Chris PeBenito 13d7ce
')
Chris PeBenito 13d7ce
Chris PeBenito 17de1b
ifdef(`distro_gentoo',`
Chris PeBenito 98faba
/lib					-l	gen_context(system_u:object_r:lib_t,s0)
Chris PeBenito 3c3c04
/lib32					-d	gen_context(system_u:object_r:lib_t,s0)
Chris PeBenito 3c3c04
/lib32/.*					gen_context(system_u:object_r:lib_t,s0)
Chris PeBenito 17de1b
/lib32/ld-[^/]*\.so(\.[^/]*)*		--	gen_context(system_u:object_r:ld_so_t,s0)
Chris PeBenito 17de1b
')
Chris PeBenito 17de1b
Chris PeBenito 17de1b
#
Chris PeBenito 17de1b
# /opt
Chris PeBenito 17de1b
#
Chris PeBenito 17de1b
/opt/(.*/)?lib(/.*)?				gen_context(system_u:object_r:lib_t,s0)
Chris PeBenito 17de1b
/opt/(.*/)?lib64(/.*)?				gen_context(system_u:object_r:lib_t,s0)
Chris PeBenito 350b6a
/opt/(.*/)?java/.+\.jar			--	gen_context(system_u:object_r:lib_t,s0)
Chris PeBenito d9845a
/opt/(.*/)?jre.*/.+\.so(\.[^/]*)*	--	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 350b6a
/opt/(.*/)?jre/.+\.jar			--	gen_context(system_u:object_r:lib_t,s0)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
ifdef(`distro_gentoo',`
Chris PeBenito 13d7ce
# despite the extensions, they are actually libs
Chris PeBenito 350b6a
/opt/Acrobat[5-9]/Reader/intellinux/plug_ins/.*\.api -- gen_context(system_u:object_r:lib_t,s0)
Chris PeBenito 350b6a
/opt/Acrobat[5-9]/Reader/intellinux/plug_ins3d/.*\.x3d -- gen_context(system_u:object_r:lib_t,s0)
Chris PeBenito 350b6a
/opt/Acrobat[5-9]/Reader/intellinux/SPPlugins/.*\.ap[il] -- gen_context(system_u:object_r:lib_t,s0)
Chris PeBenito e9b9e4
Chris PeBenito de2228
/opt/netscape/plugins(/.*)?			gen_context(system_u:object_r:lib_t,s0)
Chris PeBenito 19ebf0
/opt/netscape/plugins/libflashplayer\.so --	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 19ebf0
/opt/netscape/plugins/nppdf\.so		--	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito e9b9e4
/opt/RealPlayer/codecs(/.*)?			gen_context(system_u:object_r:lib_t,s0)
Chris PeBenito e9b9e4
/opt/RealPlayer/common(/.*)?			gen_context(system_u:object_r:lib_t,s0)
Chris PeBenito e9b9e4
/opt/RealPlayer/lib(/.*)?			gen_context(system_u:object_r:lib_t,s0)
Chris PeBenito e9b9e4
/opt/RealPlayer/mozilla(/.*)?			gen_context(system_u:object_r:lib_t,s0)
Chris PeBenito 009b37
/opt/RealPlayer/plugins(/.*)?			gen_context(system_u:object_r:lib_t,s0)
Chris PeBenito 17de1b
')
Chris PeBenito 17de1b
Chris PeBenito 02d968
ifdef(`distro_redhat',`
Chris PeBenito 02d968
/opt/Adobe(/.*?)/nppdf\.so 		-- 	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 02d968
/opt/Adobe/Reader8/Reader/intellinux/plug_ins/.*\.api -- gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 02d968
/opt/cisco-vpnclient/lib/libvpnapi\.so	--	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 02d968
/opt/cxoffice/lib/wine/.+\.so		--	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 02d968
/opt/f-secure/fspms/libexec/librapi\.so(\.[^/]*)* -- gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 02d968
/opt/ibm/java.*/jre/.+\.jar		--	gen_context(system_u:object_r:lib_t,s0)
Chris PeBenito 02d968
/opt/ibm/java.*/jre/.+\.so(\.[^/]*)*	--	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 02d968
/opt/netbeans(.*/)?jdk.*/linux/.+\.so(\.[^/]*)* -- gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 02d968
')
Chris PeBenito 02d968
Chris PeBenito 17de1b
#
Chris PeBenito 17de1b
# /sbin
Chris PeBenito 17de1b
#
Chris PeBenito 17de1b
/sbin/ldconfig				--	gen_context(system_u:object_r:ldconfig_exec_t,s0)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
#
Chris PeBenito 17de1b
# /usr
Chris PeBenito 17de1b
#
Chris PeBenito 19ebf0
/usr/(.*/)?/HelixPlayer/.+\.so(\.[^/]*)* --	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 19ebf0
/usr/(.*/)?/RealPlayer/.+\.so(\.[^/]*)* --	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 17de1b
Chris PeBenito 19ebf0
/usr/(.*/)?java/.+\.so(\.[^/]*)*	--	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 350b6a
/usr/(.*/)?java/.+\.jar			--	gen_context(system_u:object_r:lib_t,s0)
Chris PeBenito 350b6a
/usr/(.*/)?java/.+\.jsa			--	gen_context(system_u:object_r:lib_t,s0)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
/usr/(.*/)?lib(/.*)?				gen_context(system_u:object_r:lib_t,s0)
Chris PeBenito 17de1b
/usr/(.*/)?lib64(/.*)?				gen_context(system_u:object_r:lib_t,s0)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
/usr/(.*/)?lib(64)?(/.*)?/ld-[^/]*\.so(\.[^/]*)* gen_context(system_u:object_r:ld_so_t,s0)
Chris PeBenito 17de1b
Chris PeBenito 19ebf0
/usr/(.*/)?nvidia/.+\.so(\..*)?		--	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 17de1b
Chris PeBenito 6c53a1
/usr/lib/vlc/codec/libdmo_plugin\.so	   --	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 6073ea
/usr/lib/vlc/codec/librealaudio_plugin\.so --	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 17de1b
Chris PeBenito 19ebf0
/usr/(.*/)?lib(64)?(/.*)?/nvidia/.+\.so(\..*)? -- gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito d6d16b
/usr/lib(64)?(/.*)?/nvidia/.+\.so(\..*)? --	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 17de1b
/usr/lib(64)?/libsipphoneapi\.so.*	--	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 19ebf0
/usr/lib(64)?/ati-fglrx/.+\.so(\..*)?	--	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 17de1b
/usr/lib(64)?/(nvidia/)?libGL(core)?\.so(\.[^/]*)* -- gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 8708d9
/usr/lib(64)?/fglrx/libGL\.so(\.[^/]*)*	--	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 17de1b
/usr/lib(64)?/libGLU\.so(\.[^/]*)*	--	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 6073ea
/usr/lib(64)?/libjs\.so.*		--	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito d6d16b
/usr/lib(64)?/libx264\.so(\.[^/]*)* 	-- gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 19ebf0
/usr/lib(64)?(/.*)?/libnvidia.+\.so(\.[^/]*)* -- gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 17de1b
/usr/lib(64)?(/.*)?/nvidia_drv.*\.so(\.[^/]*)* -- gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 17de1b
/usr/lib(64)?/nvidia-graphics(-[^/]*/)?libGL(core)?\.so(\.[^/]*)* -- gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 17de1b
/usr/lib(64)?/nvidia-graphics(-[^/]*/)?libnvidia.*\.so(\.[^/]*)* -- gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 17de1b
/usr/lib(64)?/nvidia-graphics(-[^/]*/)?libXvMCNVIDIA\.so.* -- gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito d534d3
/usr/lib(64)?/xorg/libGL\.so(\.[^/]*)*	--	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito a5e213
/usr/lib(64)?/xulrunner-[^/]*/libgtkembedmoz\.so -- gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito a5e213
/usr/lib(64)?/xulrunner-[^/]*/libxul\.so --	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 17de1b
Chris PeBenito 350b6a
/usr/(local/)?.*\.so(\.[^/]*)*		--	gen_context(system_u:object_r:lib_t,s0)
Chris PeBenito 6073ea
/usr/(local/)?lib(64)?/wine/.+\.so	--	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 8708d9
/usr/(local/)?lib(64)?/(sse2/)?libfame-.*\.so.*	--	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 19ebf0
/usr/NX/lib/libXcomp\.so.*		--	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 19ebf0
/usr/NX/lib/libjpeg\.so.* 		--	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
/usr/X11R6/lib/libGL\.so.* 		--	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 17de1b
/usr/X11R6/lib/libXvMCNVIDIA\.so.* 	--	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
/usr/x11R6/lib/modules/extensions/libglx\.so(\.[^/]*)* -- gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 17de1b
/usr/lib(64)?/xorg/modules/extensions/libglx\.so(\.[^/]*)* -- gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 17de1b
/usr/lib(64)?/xorg/modules/drivers/fglrx_drv\.so(\.[^/]*)* -- gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito d6d16b
/usr/lib(64)?/xorg/modules/drivers/nvidia_drv\.o -- gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 17de1b
/usr/lib(64)?/xorg/modules/extensions/nvidia(-[^/]*)?/libglx\.so(\.[^/]*)* -- gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 17de1b
Chris PeBenito fe5618
ifdef(`distro_debian',`
Chris PeBenito fe5618
/usr/lib32				-l	gen_context(system_u:object_r:lib_t,s0)
Chris PeBenito fe5618
')
Chris PeBenito fe5618
Chris PeBenito 92d1ad
ifdef(`distro_gentoo',`
Chris PeBenito 92d1ad
/usr/lib				-l	gen_context(system_u:object_r:lib_t,s0)
Chris PeBenito 92d1ad
')
Chris PeBenito 92d1ad
Chris PeBenito 17de1b
ifdef(`distro_redhat',`
Chris PeBenito 350b6a
/usr/share/rhn/rhn_applet/eggtrayiconmodule\.so -- gen_context(system_u:object_r:lib_t,s0)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
# The following are libraries with text relocations in need of execmod permissions
Chris PeBenito 17de1b
# Some of them should be fixed and removed from this list
Chris PeBenito 17de1b
Chris PeBenito 17de1b
# Fedora Core packages: gstreamer-plugins, compat-libstdc++, Glide3, libdv
Chris PeBenito 17de1b
# 	HelixPlayer, SDL, xorg-x11, xorg-x11-libs, Hermes, valgrind, openoffice.org-libs, httpd - php
Chris PeBenito d6d16b
/usr/lib(64)?/gstreamer-.*/[^/]*\.so.* --	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 02d968
HOME_DIR/.*/\.gstreamer-.*/plugins/*\.so.* --	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 02d968
Chris PeBenito 02d968
/usr/lib/firefox-[^/]*/plugins/nppdf.so	--	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 02d968
/usr/lib/libFLAC\.so.*			--	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 02d968
/usr/lib/mozilla/plugins/nppdf\.so 	-- 	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 02d968
/usr/lib/maxima/[^/]+/binary-gcl/maxima	--	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 02d968
/usr/lib/mozilla/plugins/libvlcplugin\.so --	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 02d968
/usr/lib/nx/libXcomp\.so.*		--	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 02d968
/usr/lib/nx/libjpeg\.so.* 		--	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 02d968
/usr/lib/VBoxVMM\.so			--	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 02d968
/usr/lib64/mozilla/plugins/libvlcplugin\.so --	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito d6d16b
Chris PeBenito 17de1b
/usr/lib(64)?/libstdc\+\+\.so\.2\.7\.2\.8 --	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 17de1b
/usr/lib(64)?/libg\+\+\.so\.2\.7\.2\.8	--	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 17de1b
/usr/lib(64)?/libglide3\.so.* 		--	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 17de1b
/usr/lib(64)?/libglide3-v[0-9]*\.so.* 	--	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 17de1b
/usr/lib(64)?/libdv\.so.* 		--	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito d6d16b
/usr/lib(64)?/helix/plugins/[^/]*\.so --	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito d6d16b
/usr/lib(64)?/helix/codecs/[^/]*\.so	--	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 17de1b
/usr/lib(64)?/libSDL-.*\.so.*		--	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 19ebf0
/usr/lib(64)?/xorg/modules/dri/.+\.so	--	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 19ebf0
/usr/X11R6/lib/modules/dri/.+\.so	--	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 19ebf0
/usr/lib(64)?/dri/.+\.so		--	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 17de1b
/usr/X11R6/lib/libOSMesa\.so.*		--	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 17de1b
/usr/X11R6/lib/libfglrx_gamma\.so.* 	--	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 17de1b
/usr/lib(64)?/libHermes\.so.*		--	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 17de1b
/usr/lib(64)?/valgrind/hp2ps		--	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 17de1b
/usr/lib(64)?/valgrind/stage2		--	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 17de1b
/usr/lib(64)?/valgrind/vg.*\.so		--	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 17de1b
/usr/lib(64)?/.*/program/libicudata\.so.* --	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 17de1b
/usr/lib(64)?/.*/program/libsts645li\.so --	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 17de1b
/usr/lib(64)?/.*/program/libvclplug_gen645li\.so -- gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 17de1b
/usr/lib(64)?/.*/program/libwrp645li\.so --	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 17de1b
/usr/lib(64)?/.*/program/libswd680li\.so --	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 17de1b
/usr/lib(64)?/.*/program/librecentfile\.so --	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 17de1b
/usr/lib(64)?/.*/program/libsvx680li\.so --	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 17de1b
/usr/lib(64)?/.*/program/libcomphelp4gcc3\.so -- gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 6073ea
/usr/lib(64)?/.*/program/libsoffice\.so --	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 17de1b
/usr/(.*/)?pcsc/drivers(/.*)?/lib(cm2020|cm4000|SCR24x)\.so(\.[^/]*)* -- gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
# Fedora Extras packages: ladspa, imlib2, ocaml
Chris PeBenito 17de1b
/usr/lib(64)?/ladspa/analogue_osc_1416\.so --	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 17de1b
/usr/lib(64)?/ladspa/bandpass_a_iir_1893\.so --	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 17de1b
/usr/lib(64)?/ladspa/bandpass_iir_1892\.so --	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 17de1b
/usr/lib(64)?/ladspa/butterworth_1902\.so --	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 17de1b
/usr/lib(64)?/ladspa/fm_osc_1415\.so	--	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 17de1b
/usr/lib(64)?/ladspa/gsm_1215\.so	--	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 17de1b
/usr/lib(64)?/ladspa/gverb_1216\.so	--	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 17de1b
/usr/lib(64)?/ladspa/hermes_filter_1200\.so --	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 17de1b
/usr/lib(64)?/ladspa/highpass_iir_1890\.so --	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 17de1b
/usr/lib(64)?/ladspa/lowpass_iir_1891\.so --	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 17de1b
/usr/lib(64)?/ladspa/notch_iir_1894\.so	--	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 17de1b
/usr/lib(64)?/ladspa/pitch_scale_1193\.so --	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 17de1b
/usr/lib(64)?/ladspa/pitch_scale_1194\.so --	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 17de1b
/usr/lib(64)?/ladspa/sc1_1425\.so	--	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 17de1b
/usr/lib(64)?/ladspa/sc2_1426\.so	--	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 17de1b
/usr/lib(64)?/ladspa/sc3_1427\.so	--	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 17de1b
/usr/lib(64)?/ladspa/sc4_1882\.so	--	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 17de1b
/usr/lib(64)?/ladspa/se4_1883\.so	--	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 17de1b
/usr/lib(64)?/libImlib2\.so.* 		--	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 17de1b
/usr/lib(64)?/ocaml/stublibs/dllnums\.so --	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 17de1b
/usr/lib(64)?/httpd/modules/libphp5\.so	--	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 19ebf0
/usr/lib(64)?/php/modules/.+\.so	--	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
# Livna.org packages: xmms-mp3, ffmpeg, xvidcore, xine-lib, gsm, lame
Chris PeBenito 17de1b
/usr/lib(64)?.*/libmpg123\.so		--	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 02d968
/usr/lib(64)?/codecs/drv[1-9c]\.so(\.[^/]*)* --	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 17de1b
/usr/lib(64)?/libpostproc\.so.*		--	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 465510
/usr/lib(64)?/libavformat.*\.so(\.[^/]*)* --	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito a5e213
/usr/lib(64)?/libavcodec.*\.so(\.[^/]*)* --	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito a5e213
/usr/lib(64)?/libavutil.*\.so(\.[^/]*)* --	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 17de1b
/usr/lib(64)?/libxvidcore\.so.*		--	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 19ebf0
/usr/lib(64)?/xine/plugins/.+\.so	--	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 17de1b
/usr/lib(64)?/libgsm\.so.*		--	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 17de1b
/usr/lib(64)?/libmp3lame\.so.*		--	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
# Flash plugin, Macromedia
Chris PeBenito 6b19be
HOME_DIR/\.mozilla(/.*)?/plugins/libflashplayer\.so.* -- gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 17de1b
HOME_DIR/.*/plugins/libflashplayer\.so.* --	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 17de1b
/usr/lib(64)?/.*/libflashplayer\.so.*	--	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 17de1b
/usr/local/(.*/)?libflashplayer\.so.*	--	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito d6d16b
HOME_DIR/.*/plugins/nprhapengine\.so.* --	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito d6d16b
/usr/lib(64)?/.*/nprhapengine\.so.*	--	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito d6d16b
/usr/local/(.*/)?nprhapengine\.so.*	--	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
# Jai, Sun Microsystems (Jpackage SPRM)
Chris PeBenito 17de1b
/usr/lib(64)?/libmlib_jai\.so		--	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 19ebf0
/usr/lib(64)?/libdivxdecore\.so\.0	--	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 19ebf0
/usr/lib(64)?/libdivxencore\.so\.0	--	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 17de1b
Chris PeBenito 02d968
/usr/lib(64)?/libdvdcss\.so.*  		--	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 02d968
Chris PeBenito 02d968
/usr/lib(64)?/python2.4/site-packages/M2Crypto/__m2crypto\.so -- gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 6b19be
Chris PeBenito 17de1b
# vmware 
Chris PeBenito 17de1b
/usr/lib(64)?/vmware/lib(/.*)?/libgdk-x11-.*\.so.* -- gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 6073ea
/usr/lib(64)?/vmware/lib(/.*)?/HConfig\.so --	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 17de1b
/usr/lib(64)?/vmware/(.*/)?VmPerl\.so	--	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
# Java, Sun Microsystems (JPackage SRPM)
Chris PeBenito d6d16b
/usr/(.*/)?jre.*/.*\.so(\.[^/]*)* --	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito d6d16b
/usr/local/(.*/)?jre.*/.*\.so(\.[^/]*)* --	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito d6d16b
/usr/lib(64)?/(.*/)?jre.*/.*\.so(\.[^/]*)* --	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
/usr/(local/)?Adobe/(.*/)?intellinux/nppdf\.so -- gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 17de1b
/usr/(local/)?Adobe/(.*/)?intellinux/sidecars/* -- gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
/usr/(local/)?acroread/(.*/)?intellinux/nppdf\.so -- gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 17de1b
/usr/(local/)?Adobe/(.*/)?lib/[^/]*\.so(\.[^/]*)* -- gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 17de1b
/usr/(local/)?acroread/(.*/)?lib/[^/]*\.so(\.[^/]*)* -- gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 17de1b
/usr/(local/)?Adobe/.*\.api		--	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 6c53a1
/usr/(local/)?lib/xchat/plugins/systray\.so --	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito ecc98e
/usr/(local/)?matlab.*/bin/glnx86/libmwlapack\.so -- gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 6c53a1
/usr/(local/)?matlab.*/bin/glnx86/(libmw(lapack|mathutil|services)|lapack|libmkl)\.so -- gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 6c53a1
/usr/(local/)?matlab.*/sys/os/glnx86/libtermcap\.so -- gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito ecc98e
Chris PeBenito 17de1b
/usr/(.*/)?intellinux/SPPlugins/ADMPlugin\.apl -- gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
/usr/lib/acroread/(.*/)?sidecars/*	--	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 17de1b
/usr/lib/acroread/(.*/)?nppdf\.so	--	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 17de1b
/usr/lib/acroread/(.*/)?lib/[^/]*\.so(\.[^/]*)* -- gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 19ebf0
/usr/lib/acroread/.+\.api		--	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 17de1b
/usr/lib/acroread/(.*/)?ADMPlugin\.apl	--	gen_context(system_u:object_r:textrel_shlib_t,s0)
Chris PeBenito 17de1b
') dnl end distro_redhat
Chris PeBenito 17de1b
Chris PeBenito 17de1b
#
Chris PeBenito 17de1b
# /var
Chris PeBenito 17de1b
#
Chris PeBenito 9c4500
/var/cache/ldconfig(/.*)?			gen_context(system_u:object_r:ldconfig_cache_t,s0)
Chris PeBenito 9c4500
Chris PeBenito 17de1b
/var/ftp/lib(64)?(/.*)?				gen_context(system_u:object_r:lib_t,s0)
Chris PeBenito 17de1b
/var/ftp/lib(64)?/ld[^/]*\.so(\.[^/]*)*	--	gen_context(system_u:object_r:ld_so_t,s0)
Chris PeBenito 17de1b
Chris PeBenito 350b6a
/var/mailman/pythonlib(/.*)?/.+\.so(\..*)? --	gen_context(system_u:object_r:lib_t,s0)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
ifdef(`distro_suse',`
Chris PeBenito 19ebf0
/var/lib/samba/bin/.+\.so(\.[^/]*)*	-l	gen_context(system_u:object_r:lib_t,s0)
Chris PeBenito 17de1b
')
Chris PeBenito 17de1b
Chris PeBenito 17de1b
/var/spool/postfix/lib(64)?(/.*)? 		gen_context(system_u:object_r:lib_t,s0)
Chris PeBenito 17de1b
/var/spool/postfix/usr(/.*)?			gen_context(system_u:object_r:lib_t,s0)
Chris PeBenito 17de1b
/var/spool/postfix/lib(64)?/ld.*\.so.*	--	gen_context(system_u:object_r:ld_so_t,s0)