Re: [patch 7/8] fdmap v2 - implement sys_socket2

From: Davide Libenzi
Date: Thu Jun 07 2007 - 14:39:54 EST


On Thu, 7 Jun 2007, Ulrich Drepper wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Eric Dumazet wrote:
> > eventfd2(int count, int oflags);
> >
> > signalfd2(int ufd, sigset_t __user *user_mask, size_t sizemask, int oflags);
> >
> > timerfd2(int ufd, int clockid, int flags,const struct itimerspec __user *utmr, int oflags) ...
>
> These aren't released yet, so, change them now before it's too late.

Linus, Andrew, would it be OK to change?



> And to add to your list:
>
> epoll_create(). Important if you think that's the interface people
> should use.

Can't we leave it as is, and use sys_nonseqfd() for those? So basically:

pipe(2) -> Use sys_nonseqfd
epoll_create(2) -> Use sys_nonseqfd
accept(2) -> Inherit the "origin" fd characteristics
open(2) -> Add O_NONSEQFD
socket(2) -> Introduce socket2()



- Davide


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