All of lore.kernel.org
 help / color / mirror / Atom feed
From: cpebenito@tresys.com (Christopher J. PeBenito)
To: refpolicy@oss.tresys.com
Subject: [refpolicy] A mozilla_run_plugin bug
Date: Fri, 24 Jun 2011 09:05:35 -0400	[thread overview]
Message-ID: <4E048B9F.2080702@tresys.com> (raw)
In-Reply-To: <SNT139-w50502110AB9594423FF720AB530@phx.gbl>

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

      reply	other threads:[~2011-06-24 13:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-23  3:20 [refpolicy] A mozilla_run_plugin bug HarryCiao
2011-06-24 13:05 ` Christopher J. PeBenito [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4E048B9F.2080702@tresys.com \
    --to=cpebenito@tresys.com \
    --cc=refpolicy@oss.tresys.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.