From: harrytaurus2002@hotmail.com (HarryCiao) Date: Thu, 23 Jun 2011 03:20:26 +0000 Subject: [refpolicy] A mozilla_run_plugin bug Message-ID: To: refpolicy@oss.tresys.com List-Id: refpolicy.oss.tresys.com 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) Thanks, Harry -------------- next part -------------- An HTML attachment was scrubbed... URL: http://oss.tresys.com/pipermail/refpolicy/attachments/20110623/878b6226/attachment.html -------------- next part -------------- A non-text attachment was scrubbed... Name: 0001-Fix-the-call-to-mozilla_run_plugin.patch Type: text/x-patch Size: 1155 bytes Desc: not available Url : http://oss.tresys.com/pipermail/refpolicy/attachments/20110623/878b6226/attachment.bin