* [uml-devel] (no subject)
@ 2003-09-25 6:59 Jeff Chua
2003-09-25 16:33 ` Adam Heath
0 siblings, 1 reply; 6+ messages in thread
From: Jeff Chua @ 2003-09-25 6:59 UTC (permalink / raw)
To: UserModeLinux
Please apply the patch below to host-skas3.patch so that it does not need
to be undone when compiling uml.
Currently, I need to apply host-skas3.patch to /usr/src/linux to compile
the host's vmlinux, and reverse it in order to compile uml linux. With the
patch below, this will prevent gcc from redefining the struct twice.
Thanks,
Jeff
--- linux/include/asm-i386/ptrace.h.org Thu Sep 25 14:32:18 2003
+++ linux/include/asm-i386/ptrace.h Thu Sep 25 14:34:49 2003
@@ -51,6 +51,7 @@
#define PTRACE_SETOPTIONS 21
+#ifndef __arch_um__
struct ptrace_faultinfo {
int is_write;
unsigned long addr;
@@ -61,6 +62,7 @@
void *ptr;
unsigned long bytecount;
};
+#endif
#define PTRACE_FAULTINFO 52
#define PTRACE_SIGPENDING 53
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [uml-devel] (no subject)
2003-09-25 6:59 [uml-devel] (no subject) Jeff Chua
@ 2003-09-25 16:33 ` Adam Heath
2003-09-25 17:18 ` [uml-devel] RE: ptrace_faultinfo ptrace_ldt redefined Jeff Chua
0 siblings, 1 reply; 6+ messages in thread
From: Adam Heath @ 2003-09-25 16:33 UTC (permalink / raw)
To: Jeff Chua; +Cc: UserModeLinux
On Thu, 25 Sep 2003, Jeff Chua wrote:
>
> Please apply the patch below to host-skas3.patch so that it does not need
> to be undone when compiling uml.
>
> Currently, I need to apply host-skas3.patch to /usr/src/linux to compile
> the host's vmlinux, and reverse it in order to compile uml linux. With the
> patch below, this will prevent gcc from redefining the struct twice.
A better fix it to modify uml's include, to not redefine the structure.
Maybe a common include, for both files.
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
* [uml-devel] RE: ptrace_faultinfo ptrace_ldt redefined
2003-09-25 16:33 ` Adam Heath
@ 2003-09-25 17:18 ` Jeff Chua
2003-09-25 18:22 ` Jeff Dike
2003-09-25 20:44 ` Adam Heath
0 siblings, 2 replies; 6+ messages in thread
From: Jeff Chua @ 2003-09-25 17:18 UTC (permalink / raw)
To: Adam Heath; +Cc: UserModeLinux, Jeff Dike
On Thu, 25 Sep 2003, Adam Heath wrote:
> > Please apply the patch below to host-skas3.patch so that it does not need
> > to be undone when compiling uml.
>
> Maybe a common include, for both files.
Problem is uml has to be compiled under a separate path other than the
standard path /usr/src/linux. /usr/include/asm/ptrace.h is not accessed
until the very end.
And I was trying to minimize changes to the original patch.
Jeff Dike ... any comments?
Thanks,
Jeff.
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [uml-devel] RE: ptrace_faultinfo ptrace_ldt redefined
2003-09-25 17:18 ` [uml-devel] RE: ptrace_faultinfo ptrace_ldt redefined Jeff Chua
@ 2003-09-25 18:22 ` Jeff Dike
2003-09-25 20:44 ` Adam Heath
2003-09-25 20:44 ` Adam Heath
1 sibling, 1 reply; 6+ messages in thread
From: Jeff Dike @ 2003-09-25 18:22 UTC (permalink / raw)
To: Jeff Chua; +Cc: Adam Heath, UserModeLinux
jeff98@silk.corp.fedex.com said:
> Jeff Dike ... any comments?
Yeah, the next version of the skas patch, which will implement Linus-acceptable
interfaces, is in the works, so I'm not that interested in fixing the old
patch right now.
Jeff
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [uml-devel] RE: ptrace_faultinfo ptrace_ldt redefined
2003-09-25 18:22 ` Jeff Dike
@ 2003-09-25 20:44 ` Adam Heath
0 siblings, 0 replies; 6+ messages in thread
From: Adam Heath @ 2003-09-25 20:44 UTC (permalink / raw)
To: Jeff Dike; +Cc: UserModeLinux
On Thu, 25 Sep 2003, Jeff Dike wrote:
> jeff98@silk.corp.fedex.com said:
> > Jeff Dike ... any comments?
>
> Yeah, the next version of the skas patch, which will implement Linus-acceptable
> interfaces, is in the works, so I'm not that interested in fixing the old
> patch right now.
How long?
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [uml-devel] RE: ptrace_faultinfo ptrace_ldt redefined
2003-09-25 17:18 ` [uml-devel] RE: ptrace_faultinfo ptrace_ldt redefined Jeff Chua
2003-09-25 18:22 ` Jeff Dike
@ 2003-09-25 20:44 ` Adam Heath
1 sibling, 0 replies; 6+ messages in thread
From: Adam Heath @ 2003-09-25 20:44 UTC (permalink / raw)
To: Jeff Chua; +Cc: UserModeLinux
On Fri, 26 Sep 2003, Jeff Chua wrote:
>
> On Thu, 25 Sep 2003, Adam Heath wrote:
>
> > > Please apply the patch below to host-skas3.patch so that it does not need
> > > to be undone when compiling uml.
> >
> > Maybe a common include, for both files.
>
> Problem is uml has to be compiled under a separate path other than the
> standard path /usr/src/linux. /usr/include/asm/ptrace.h is not accessed
> until the very end.
Huh?
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2003-09-25 20:45 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-25 6:59 [uml-devel] (no subject) Jeff Chua
2003-09-25 16:33 ` Adam Heath
2003-09-25 17:18 ` [uml-devel] RE: ptrace_faultinfo ptrace_ldt redefined Jeff Chua
2003-09-25 18:22 ` Jeff Dike
2003-09-25 20:44 ` Adam Heath
2003-09-25 20:44 ` Adam Heath
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.