From: Anthony Liguori <aliguori@us.ibm.com>
To: xen-devel <xen-devel@lists.xensource.com>
Subject: Changing semantics of ioperm() on Xen x86-64?
Date: Tue, 18 Apr 2006 16:50:09 -0500 [thread overview]
Message-ID: <44455F11.8080007@us.ibm.com> (raw)
As part of the Xen x86-64 Linux port, we've changed the ioperm() syscall
to always modify the IOPL instead of actually modifying the IO bitmap in
the TSS like we do on x86-32. Is there a particular reason for doing this?
I'm completely guessing here that this may allow us to avoid changing
the TR when changing from user/kernel mode but that doesn't seem like
that huge of a gain.
I don't expect that there are many apps that would rely on using ioperm
to restrict access to only certain ranges of ports so I don't think this
is a security problem but it still is a little discomforting.
Comments?
Regards,
Anthony Liguori
next reply other threads:[~2006-04-18 21:50 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-18 21:50 Anthony Liguori [this message]
2006-04-19 7:26 ` Changing semantics of ioperm() on Xen x86-64? Keir Fraser
-- strict thread matches above, loose matches on Subject: below --
2006-04-18 22:53 Ian Pratt
2006-04-18 23:36 ` Nivedita Singhvi
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=44455F11.8080007@us.ibm.com \
--to=aliguori@us.ibm.com \
--cc=xen-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.