From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753844Ab3HDQfc (ORCPT ); Sun, 4 Aug 2013 12:35:32 -0400 Received: from mx1.redhat.com ([209.132.183.28]:32950 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753762Ab3HDQfb (ORCPT ); Sun, 4 Aug 2013 12:35:31 -0400 Date: Sun, 4 Aug 2013 18:30:02 +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: <20130804163002.GA24663@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 Andrew, please ignore this and the next series, I'll resend everything with a couple of cosmetic changes. Plus I believe audit_bprm() is not right too, this needs another patch. 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. > > Oleg.