Re: [PATCH] nextfd(2)

From: Valentin Nechayev
Date: Sun Apr 01 2012 - 14:37:42 EST


Sun, Apr 01, 2012 at 15:57:42, adobriyan wrote about "[PATCH] nextfd(2)":

> So, don't add closefrom(2), add nextfd(2).
>
> int nextfd(int fd)

Is it really needed here to create syscall? One shall update all arch
lists for it. Instead, adding a new option for fcntl() (named e.g.
F_NEXTFD) solves for all platforms simultaneously.


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