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

From: Pavel Machek
Date: Thu Jan 24 2008 - 12:37:12 EST


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/