All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: nick <xerofoify@gmail.com>, gleb@kernel.org
Cc: x86@kernel.org, kvm@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: Questions about to dos in emulate.c
Date: Mon, 12 Jan 2015 16:41:16 +0100	[thread overview]
Message-ID: <54B3EB1C.3020208@redhat.com> (raw)
In-Reply-To: <54B0A714.5070903@gmail.com>



On 10/01/2015 05:14, nick wrote:
> Greetings Again Everyone,
> I have a few questions about fix mes in emulate.c. They are listed
> in numerical order below.
> 1. For  __emulate_int_real somebody stated we need limit checks. What
> checks are needed for my information.

These are written in the manual as

  IF stack not large enough for a 6-byte return information
     THEN #SS; FI;

> 2. Secondly,about the function, emulate_iret_real are what do you mean 
> by stack limit checks and if possible what parts of the stacks for either
> guest(s) or hosts we need to check.

Same here:

  IF top 6 bytes of stack are not within stack limits
     THEN #SS; FI;

Paolo

> In addition if you need help with other work, please don't feel free to
> contact me.
> Thanks and Regards,
> Nick 
> 

           reply	other threads:[~2015-01-12 15:41 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <54B0A714.5070903@gmail.com>]

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=54B3EB1C.3020208@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=gleb@kernel.org \
    --cc=kvm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=x86@kernel.org \
    --cc=xerofoify@gmail.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.