All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jacob Gorm Hansen <jacobg@diku.dk>
To: "Pasi Kärkkäinen" <pasik@iki.fi>
Cc: xen-devel@lists.sourceforge.net
Subject: Re: Xen with grsec?
Date: Tue, 23 Nov 2004 11:42:46 +0100	[thread overview]
Message-ID: <41A31426.2030808@diku.dk> (raw)
In-Reply-To: <20041123092751.GO1139@edu.joroinen.fi>

Pasi Kärkkäinen wrote:
> Has anyone tried running grsec with xen (2.4) ?
> 
> Are there any expected problems, or should it be ok "out-of-the-box"? 
> I have not yet tried patching xen-patched kernel with grsec.. Just wanted to
> ask if somebody has already tried this.

I am fairly sure you will run into infinite page-fault loops if you are 
trying to use the PaX 'software NX' implementation, because the call to 
Xen to update the page tables will frequently exhaust the associativity 
of the data-TLB.

You could find a way of implementing this part inside Xen though, by 
using an AVL or reserved bit to signify 'no execute', but this may be 
too much hassle.

The rest of grsec looks (from the description on the website) like it 
can be applied without problems.

Jacob


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/

  reply	other threads:[~2004-11-23 10:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-23  9:27 Xen with grsec? Pasi Kärkkäinen
2004-11-23 10:42 ` Jacob Gorm Hansen [this message]
2004-11-23 19:26   ` Milan Holzäpfel
2004-11-25 11:12     ` Jacob Gorm Hansen

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=41A31426.2030808@diku.dk \
    --to=jacobg@diku.dk \
    --cc=pasik@iki.fi \
    --cc=xen-devel@lists.sourceforge.net \
    /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.