All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alex Williamson <alex.williamson@hp.com>
To: "George S. Coker, II" <gscoker@alpha.ncsc.mil>
Cc: xen-devel@lists.xensource.com, xense-devel@lists.xensource.com
Subject: Re: [Xense-devel][PATCH][XSM][1/4] Xen Security Modules Patch
Date: Thu, 08 Mar 2007 08:59:07 -0700	[thread overview]
Message-ID: <1173369547.5941.212.camel@bling> (raw)
In-Reply-To: <1173367723.11144.29.camel@moss-walleye.epoch.ncsc.mil>

On Thu, 2007-03-08 at 10:28 -0500, George S. Coker, II wrote:
> +    /*
> +     * Try all modules and see whichever could be the binary policy.
> +     * Adjust the initrdidx if module[1] is the binary policy.
> +     */
> +    for (i = mbi->mods_count-1; i >= 1; i--) {
> +#if defined(__i386__)
> +        _policy_start = (u32 *)(initial_images_start + (mod[i].mod_start-mod[0].mod_start));
> +#elif defined(__x86_64__)
> +        _policy_start = __va(initial_images_start + (mod[i].mod_start-mod[0].mod_start));
> +#else
> +#error Architecture unsupported by XSM
> +#endif

   This is unacceptable, please make it fail gracefully on non-x86.
Thanks,

	Alex
 
-- 
Alex Williamson                             HP Open Source & Linux Org.

  reply	other threads:[~2007-03-08 15:59 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-08 15:28 [Xense-devel][PATCH][XSM][1/4] Xen Security Modules Patch George S. Coker, II
2007-03-08 15:59 ` Alex Williamson [this message]
2007-03-08 16:16   ` George S. Coker, II
2007-03-08 16:43     ` Alex Williamson
2007-03-08 16:21 ` Keir Fraser
2007-03-08 18:08   ` George S. Coker, II
2007-03-08 19:06     ` Keir Fraser
2007-03-08 19:58       ` George S. Coker, II
2007-03-09  9:43         ` Keir Fraser
2007-03-09 16:55           ` George S. Coker, II
2007-03-09 17:51             ` Stefan Berger
2007-03-09 20:04               ` George S. Coker, II
2007-03-09 22:01                 ` Stefan Berger
2007-03-09 22:07                   ` George S. Coker, II
2007-03-09 22:09                   ` Keir Fraser
2007-03-08 19:08     ` George S. Coker, II
  -- strict thread matches above, loose matches on Subject: below --
2007-03-13 19:33 George S. Coker, II

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=1173369547.5941.212.camel@bling \
    --to=alex.williamson@hp.com \
    --cc=gscoker@alpha.ncsc.mil \
    --cc=xen-devel@lists.xensource.com \
    --cc=xense-devel@lists.xensource.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.