All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ian Campbell <ian.campbell@citrix.com>
To: Julien Grall <julien.grall@citrix.com>
Cc: xen-devel@lists.xenproject.org, dgdegra@tycho.nsa.gov,
	jbeulich@suse.com, andrew.cooper3@citrix.com
Subject: Re: [PATCH] xen/xsm: Fix x86 XSM build after commit 6ea9f04
Date: Mon, 11 May 2015 11:48:53 +0100	[thread overview]
Message-ID: <1431341333.8263.16.camel@citrix.com> (raw)
In-Reply-To: <1431338964-5341-1-git-send-email-julien.grall@citrix.com>

On Mon, 2015-05-11 at 11:09 +0100, Julien Grall wrote:
> Signed-off-by: Julien Grall <julien.grall@citrix.com>

Applied, thanks.

(NB: I prefer commit logs which explain how they fix the build)


> ---
>  xen/xsm/flask/flask_op.c | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/xen/xsm/flask/flask_op.c b/xen/xsm/flask/flask_op.c
> index 802ffd4..8dee021 100644
> --- a/xen/xsm/flask/flask_op.c
> +++ b/xen/xsm/flask/flask_op.c
> @@ -829,10 +829,10 @@ CHECK_flask_setenforce;
>  CHECK_flask_transition;
>  
>  #define COMPAT
> -#define flask_copyin_string(ch, pb, sz, mx) ({ \
> -	XEN_GUEST_HANDLE_PARAM(char) gh; \
> -	guest_from_compat_handle(gh, ch); \
> -	flask_copyin_string(gh, pb, sz, mx); \
> +#define safe_copy_string_from_guest(ch, sz, mx) ({ \
> +    XEN_GUEST_HANDLE_PARAM(char) gh; \
> +    guest_from_compat_handle(gh, ch); \
> +    safe_copy_string_from_guest(gh, sz, mx); \
>  })
>  
>  #define xen_flask_load compat_flask_load

      reply	other threads:[~2015-05-11 10:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-11 10:09 [PATCH] xen/xsm: Fix x86 XSM build after commit 6ea9f04 Julien Grall
2015-05-11 10:48 ` Ian Campbell [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=1431341333.8263.16.camel@citrix.com \
    --to=ian.campbell@citrix.com \
    --cc=andrew.cooper3@citrix.com \
    --cc=dgdegra@tycho.nsa.gov \
    --cc=jbeulich@suse.com \
    --cc=julien.grall@citrix.com \
    --cc=xen-devel@lists.xenproject.org \
    /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.