[refpolicy] A mozilla_run_plugin bug
Christopher J. PeBenito
cpebenito at tresys.com
Fri Jun 24 08:05:35 CDT 2011
On 06/22/11 23:20, HarryCiao wrote:
> Hi Chris,
>
> If I make role-types rule no longer used to declare a role(but use the
> newly added role-attr rule along with the role attribute support), I
> seem to have found that when mozilla_role() calls mozilla_run_plugin(),
> the 2nd argument is wrong, which would result below compile error:
>
> policy/modules/roles/staff.te":115:ERROR 'unknown role staff_t' at
> token ';'
> role staff_t types mozilla_plugin_t;
>
> Which could be simply fixed by the attached patch:
>
> - mozilla_run_plugin(mozilla_t, $2)
> + mozilla_run_plugin(mozilla_t, $1)
Merged.
--
Chris PeBenito
Tresys Technology, LLC
www.tresys.com | oss.tresys.com
More information about the refpolicy
mailing list