From: BlaisorBlade <blaisorblade_spam@yahoo.it>
To: user-mode-linux-devel@lists.sourceforge.net
Cc: Goetz Bock <bock+uml@blacknet.de>
Subject: Re: [uml-devel] skas3(-v3) for 2.4.27 with exec-shield
Date: Fri, 17 Sep 2004 20:54:44 +0200 [thread overview]
Message-ID: <200409172054.44049.blaisorblade_spam@yahoo.it> (raw)
In-Reply-To: <20040916210145.GJ24624@shell.blacknet.de>
On Thursday 16 September 2004 23:01, Goetz Bock wrote:
> Hi all,
>
> as I've no realy idea about the internal work of the skas patches, I'll
> have to bother you.
>
> I'd like to run a 2.4.27 kernel with exec-shield patch and skas3, if
> possible the -v3 version from BlaisorBlade, except that it does not
> apply :-(
> There are three conflicts in mm/mprotect.c but i suspect there are more
> not working sections.
> The patch seams to mainly change current->mm to mm, after defining
>
> struct mm_struct * mm = vma->vm_mm;
>
> unfortunately i've no idea how current-> mm and vma->vm_mm (aka mm)
> relate. Are they the same?
Not at all; they must be different.
If you look below, you see that in the old code, sys_mprotect says: "I'm
acting on current->mm"; the patch wants to be able to pass it any mm_struct
(and this is done within mm/proc_mm.c), so I had to replace every reference
to current->mm with a reference to the mm.
> Sorry, but obviosely I've no idea about the vm subsystem ... and not
> more about the rest of the kernel :-(
Don't worry.
--
Paolo Giarrusso, aka Blaisorblade
Linux registered user n. 292729
-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
next prev parent reply other threads:[~2004-09-17 19:04 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-16 21:01 [uml-devel] skas3(-v3) for 2.4.27 with exec-shield Goetz Bock
2004-09-17 18:54 ` BlaisorBlade [this message]
2004-09-18 10:42 ` BlaisorBlade
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=200409172054.44049.blaisorblade_spam@yahoo.it \
--to=blaisorblade_spam@yahoo.it \
--cc=bock+uml@blacknet.de \
--cc=user-mode-linux-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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox