[PATCH 1/2] Extend sys_clone and sys_unshare system calls API

Pavel Machek pavel at ucw.cz
Thu Jan 24 09:37:08 PST 2008


On Thu 2008-01-24 09:24:34, Dave Hansen wrote:
> On Thu, 2008-01-24 at 18:09 +0100, Cedric Le Goater wrote:
> > yes but we would need more something like  : 
> > 
> >  long sys_clone64(unsigned long flags_high, unsigned long flag_low)
> > 
> > if we want the syscall to be supported on 32bit arch. clone2 is also 
> > being used on ia64 already.
> 
> Did we decide not to do something with a variable number of arguments?
> 
> 	sys_clonefoo(unsigned long *flags, int len);

That is evil, because that means strace can no longer reliably print
flags being used (for example).
									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html


More information about the Containers mailing list