Ulrich Drepper a écrit :
This is a first user of sys_indirect. Several of the socket-related system calls which produce a file handle now can be passed an additional parameter to set the FD_CLOEXEC flag.
- retval = sock_map_fd(sock); + retval = sock_map_fd_flags(sock, current->indirect_params.file_flags.flags);
Yes, we know now why you wanted sys_indirect so much :) However, there should be a macro or something to ease reader mind... #define INDPARAM(SUBSYSNAME,PARAMNAME) \ (current->indirect_params.##SUBSYSNAME.##PARAMNAME) > + retval = sock_map_fd_flags(sock, INDPARAM(file_flags,flags)); - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/