From: BlaisorBlade <blaisorblade_spam@yahoo.it>
To: user-mode-linux-devel@lists.sourceforge.net
Subject: Re: [uml-devel] [UML combo patch] uml-combo-2.6.0-A7
Date: Mon, 5 Jan 2004 20:13:41 +0100 [thread overview]
Message-ID: <200401052013.42258.blaisorblade_spam@yahoo.it> (raw)
In-Reply-To: <20040105101117.GA23694@elte.hu>
Alle 11:11, lunedì 5 gennaio 2004, Ingo Molnar ha scritto:
> * BlaisorBlade <blaisorblade_spam@yahoo.it> wrote:
> > Two questions:
> > 1) I've added the G-03(this fixes the empty /proc/kallsyms issue), H-03
> > and H-04(for Makefiles cleanups) patches. Would you try them?
>
> i'll try these too. Your bugfixes/collections are now perfectly fine for
> 2.6.0 UML experimentation so i'll use them instead of spinning my own
> ones. (your ones are also better split up.)
Thanks, my first purpose has in fact been to make it ready for inclusion in
mainline, and I've finally replaced the A-03 and A-04 patches, which couldn't
be accepted probably.
> > 2)Have you given a look to the mm/memory.c change (what I'd split into
> > A-04)? Do you think that change can be safe even for the host kernel?
>
> tricky stuff - hand-building vmas is fragile like hell, and the vsyscall
> stuff is far from simple too. What is the main purpose of your change?
It wasn't a change that *I* did. I just found that change inside the patch
from Jeff Dike, and I separated it because I thought it was a bit risky for
the host, but I wasn't able to replace it. In fact I've always been warning
"apply that for UML and remove it for the host", even when I didn't
understand it.
In fact now I've posted the B-02 patch which replaces it; for a complete
description of the replacement, see the message (in this ML)"Replacement of
A-04 patch for mm/memory.c for UML/2.6".
However, I just think that while mainstream kernel changed that piece of code
from using FIXADDR_ to using FIXADDR_USER_, Jeff simply forgot to do this;
the patch was meant just to fix compilation (FIXADDR_USER_START is not a
compile-time constant for UML, so you can't compile mm/memory.c without a
patch).
In fact, in older UML patches, the kernel code *did* use FIXADDR_START and the
patch didn't change what the code did.
Also, for what I understand (I do want to be corrected if I'm wrong), the
interested piece of code allows a user-space process to execute the vsyscall
stub code, but it must not allow anything else to go in the process address
space.
Bye and thanks for the interest!
--
cat <<EOSIGN
Paolo Giarrusso, aka Blaisorblade
Linux Kernel 2.4.23/2.6.0 on an i686; Linux registered user n. 292729
EOSIGN
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id\x1278&alloc_id371&opÌk
_______________________________________________
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-01-05 19:13 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <Pine.LNX.4.58.0312171735540.8123@earth>
[not found] ` <20031217174901.GA6709@ccure.user-mode-linux.org>
[not found] ` <Pine.LNX.4.58.0312171924290.12482@earth>
2003-12-17 21:40 ` [uml-devel] [UML patch] fix 2.6.0-test11 compilation problem Ingo Molnar
2003-12-22 9:50 ` BlaisorBlade
2003-12-17 21:54 ` [uml-devel] [bug] uml segfaults if forcing static link, 2.6.0-test11 Ingo Molnar
2003-12-18 1:46 ` Jeff Dike
2003-12-18 8:35 ` M A Young
2003-12-18 9:42 ` Ingo Molnar
2003-12-18 10:27 ` [uml-devel] [patch] fix PTRACE_LDT, skas-fix-2.4.23-A0 Ingo Molnar
2003-12-18 11:17 ` [uml-devel] [patch] host-skas support for 2.6.0, other UML fixes Ingo Molnar
2003-12-18 11:56 ` [uml-devel] " Ingo Molnar
2003-12-18 14:24 ` [uml-devel] [UML patch] fixes for !CONFIG_PROC_MM, 2.6.0 Ingo Molnar
2003-12-18 16:27 ` roland
2003-12-18 18:53 ` Sven 'Darkman' Michels
2003-12-18 19:41 ` roland
2003-12-19 4:35 ` Jeff Chua
2003-12-19 8:22 ` Ingo Molnar
2003-12-24 11:25 ` BlaisorBlade
2003-12-19 9:20 ` M A Young
2003-12-19 9:46 ` Ingo Molnar
2003-12-19 11:37 ` M A Young
2003-12-19 19:09 ` [uml-devel] new_mm : /proc/mm copy_segments failed, err = 0 Jason Lunz
2003-12-19 19:38 ` BlaisorBlade
2003-12-20 16:10 ` [uml-devel] Re: [patch] host-skas support for 2.6.0, other UML fixes BlaisorBlade
2003-12-18 12:15 ` [uml-devel] [UML combo patch] 2.6.0 host-skas kernel & UML kernel patch Ingo Molnar
2003-12-19 18:59 ` BlaisorBlade
2003-12-19 21:16 ` Ingo Molnar
2003-12-20 15:57 ` BlaisorBlade
2003-12-20 17:08 ` Jeff Dike
2004-01-01 19:16 ` [uml-devel] [UML combo patch] uml-combo-2.6.0-A7 Ingo Molnar
2004-01-02 18:29 ` BlaisorBlade
2004-01-05 10:11 ` Ingo Molnar
2004-01-05 19:13 ` BlaisorBlade [this message]
2003-12-19 18:59 ` [uml-devel] [patch] host-skas support for 2.6.0, other UML fixes BlaisorBlade
2003-12-19 19:26 ` [uml-devel] [patch] fix PTRACE_LDT, skas-fix-2.4.23-A0 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=200401052013.42258.blaisorblade_spam@yahoo.it \
--to=blaisorblade_spam@yahoo.it \
--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