Re: [PATCH] alternative to sys_indirect, part 1

From: David Miller
Date: Thu Apr 24 2008 - 11:39:28 EST


From: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
Date: Thu, 24 Apr 2008 08:29:14 -0700 (PDT)

>
>
> On Thu, 24 Apr 2008, Alan Cox wrote:
> >
> > Given we will never have 2^32 socket types, and in a sense this is part
> > of the type why not just use
> >
> > socket(PF_INET, SOCK_STREAM|SOCK_CLOEXEC, ...)
>
> Ok, I have to admit that I find this very appealing. It looks much
> cleaner, but perhaps more importantly, it also looks both readable _and_
> easier to use for the user-space programmer.

Me too.
--
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/