From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753446Ab3HBOOn (ORCPT ); Fri, 2 Aug 2013 10:14:43 -0400 Received: from mx1.redhat.com ([209.132.183.28]:1758 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752551Ab3HBOOl (ORCPT ); Fri, 2 Aug 2013 10:14:41 -0400 Date: Fri, 2 Aug 2013 16:09:16 +0200 From: Oleg Nesterov To: Andrew Morton , Zach Levis Cc: Al Viro , Evgeniy Polyakov , Kees Cook , linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/3] exec: minor cleanups + minor fix Message-ID: <20130802140916.GA25401@redhat.com> References: <20130801190455.GA3194@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130801190455.GA3194@redhat.com> User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 08/01, Oleg Nesterov wrote: > > Andrew, > > By discussion with Zach, please drop > > fs-binfmts-add-a-name-field-to-the-binfmt-struct.patch > fs-binfmts-better-handling-of-binfmt-loops.patch > fs-binfmts-whitespace-fixes-with-scripts-cleanfile.patch > > Zach is working on v2. > > Meanwhile, can't we cleanup search_binary_handler() a bit? It > doesn't look nice imho. And we can certainly cleanup it more > (perhaps I'll try tomorrow). The error handling, request_module() > logic and even "for (try=0; try<2; try++)" looks horrible imho. Seriously, I think this should be cleanuped too. Zach, I am sorry if you already rebased your changes, I'll send a couple more patches today. Oleg.