[lkml]   [2012]   [Apr]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] nextfd(2)
On Sun, Apr 01, 2012 at 09:28:26PM +0300, Valentin Nechayev wrote:
> 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.

This is not a problem, build system even checks for not yet added syscalls.
Explicit syscall is better than multiplexer.

 \ /
  Last update: 2012-04-01 23:37    [W:0.314 / U:19.036 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site