Re: [PATCH v21 011/100] eclone (11/11): Document sys_eclone

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Randy Dunlap
Date: Wednesday, May 5, 2010 - 2:14 pm

On Sat,  1 May 2010 10:14:53 -0400 Oren Laadan wrote:


	                                that the clone()


	in the existing


		                                     to pass in


		                    e.g.                        to pass in


		                             stack region

Seems unfortunate that different architectures use the fields differently.


		                                      system call.


		                                                  i.e.


The struct does not have a reserved1 field AFAICT.


	                         of the clone(2)


	                 the youngest namespace. I.e.


		                                    process.


		                                         field).



Is this example program meant to build only on i386?

On x86_64 I get:

eclone-syscall-test.c: In function 'do_clone':
eclone-syscall-test.c:166: warning: assignment makes pointer from integer without a cast
/tmp/cc0OrhU3.o: In function `do_clone':
eclone-syscall-test.c:(.text+0x173): undefined reference to `setup_stack'
eclone-syscall-test.c:(.text+0x1e2): undefined reference to `eclone'




---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH v21 011/100] eclone (11/11): Document sys_eclone, Randy Dunlap, (Wed May 5, 2:14 pm)
Re: [PATCH v21 011/100] eclone (11/11): Document sys_eclone, Sukadev Bhattiprolu, (Wed May 5, 3:25 pm)