Re: [RFC][v8][PATCH 9/10]: Define clone3() syscall

From: H. Peter Anvin
Date: Thu Oct 22 2009 - 08:26:40 EST


On 10/22/2009 09:14 PM, Michael Kerrisk wrote:

So, sometimes, a number in a system call should be the bit width of
some arguments(s), sometimes it should be the number of arguments, and
sometimes (well, just occasionally, as in mmap2() and clone()) -- it
should be a version number? Does the weather play any part in the
decision? ;-)


The notion is that they are *some* kind of description on how the system call has been augmented. The bitwidths and argument numbers are non-overlapping and visually very different, so are not subject to confusion. Your argument makes about as much sense as saying the letter "a" should have the same meaning in every context.

-hpa
--
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/