Re: [patch 2/2] ufd v1 - use unsequential O(1) fdmap

From: Linus Torvalds
Date: Mon Jun 04 2007 - 01:12:21 EST




On Sun, 3 Jun 2007, Davide Libenzi wrote:
>
> Agreed, a new syscall looks less messy. I'll make sys_dup2() to allow
> installing in the non-sequential area, only if there's an fd already
> allocated. F_DUPFD will remain unchanged (that is, not allow
> non-sequential fds allocations).

I actually think that a new system call is _hugely_ messy. It means that
anybody who wants to use a new feature needs to have a new glibc. Not
nice, not nice at all. I'd much rather see a totally transparent extension
that doesn't require any new user space what-so-ever to be used...

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