Skip to contentSkip to conversation

I think the compiler is still broken.

DISCUSSION Daniel J Walsh 1 participant 1 message Jul 16, 2008 SELinux security module

lore
Share & tools
lore
#0 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I am trying to write policy to allow

xguest_t -> xguest_mozilla_t -> xguest_openoffice_t.

interface(openoffice_plugin_per_role_template',

	gen_require(`
		type openoffice_exec_t;
		type $1_openoffice_t;
	')
	
	########################################
	#
	# Local policy
	#

	domtrans_pattern($2, openoffice_exec_t, $1_openoffice_t)

')

optional_policy(`

	openoffice_plugin_per_role_template($1, $1_mozilla_t, $1_r)

')

This is blowing up with.

checkmodule -m -o xguest.mod xguest.tmp
checkmodule: loading policy configuration from xguest.tmp xguest.te":26:ERROR 'duplicate declaration of type/attribute' at token 'xguest_openoffice_t' on line 86607:
#line 26

		type xguest_openoffice_t;

checkmodule: error(s) encountered while parsing configuration

xguest.tmp file that is generated, and blows up

I am attaching the
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkh99+UACgkQrlYvE4MpobMtpACg3CMpg5FUHcZfB6Wq55ZEZkS4 imwAoLQujPjnyNIbJrfcPuLuK7kL+z4c
=jhtG
-----END PGP SIGNATURE-----