bug in bind.if - bind_initrc_domtrans

Dominick Grift domg472 at gmail.com
Mon Jan 4 20:51:21 UTC 2010


I just stumbled on a bug:

Bad:

########################################
## <summary>
##	Execute bind server in the bind domain.
## </summary>
## <param name="domain">
##	<summary>
##	The type of the process performing this action.
##	</summary>
## </param>
#
#
interface(`bind_initrc_domtrans',`
	gen_require(`
		type bind_initrc_exec_t;
	')

	init_labeled_script_domtrans($1, bind_initrc_exec_t)

Good:

########################################
## <summary>
##	Execute bind server in the bind domain.
## </summary>
## <param name="domain">
##	<summary>
##	The type of the process performing this action.
##	</summary>
## </param>
#
#
interface(`bind_initrc_domtrans',`
	gen_require(`
		type bind_initrc_exec_t;
	')

	init_labeled_script_domtrans($1, named_initrc_exec_t)
')

Thanks


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: OpenPGP digital signature
Url : http://lists.fedoraproject.org/pipermail/selinux/attachments/20100104/b78be2ff/attachment.bin 


More information about the selinux mailing list