Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2310272imu; Fri, 23 Nov 2018 07:25:32 -0800 (PST) X-Google-Smtp-Source: AFSGD/XWjSmx4EGiliSW0sWiB2cmc/sNBY1QLVnIjTtG6UBbMXMk36jiynR/1GI2SBs83slkw2dn X-Received: by 2002:a17:902:8e8a:: with SMTP id bg10mr16193730plb.192.1542986732387; Fri, 23 Nov 2018 07:25:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542986732; cv=none; d=google.com; s=arc-20160816; b=0kIbJFUg2d/Y956MUUECq9gQ8bTDeRqAvf42LmhkR0bEXQN/jqv7nTz7B3Pu8AB1Nt QbIqszrZ1wdUd47CXg0VZq7+aGE0IaCbRX0K7Wewse6UyBGReCewrFdSN2JDRmZ0g6pE tWGpEs6jWfvxoNr8yGO8YVEh65S293HI5MEy+T1YLNxk4HGkF6pM3y/UTENhuj3ZcQrx IfwxuwKxk3MfjPFOVCsLzljaXO0+GyiDPW1HW28oouaajNnE6T3p+gdgdWqElbSTsNYV 2xwvNj7nzK1WGWt0b9q/yt1xMJ7bK77Hiea3X5r/MBQrjE8AKYe2mbe5OZ/Lb5otlXiA HSqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=0V2XJFiylB4yq1i4Z//ND/iK2ovw72BqIwXaXjnvkNY=; b=tBL9YF1a4lZgUZ341217CF0NXiH3bosaRvfqbmu30a9h2Ycd4R26B8c8bjqBPJfJNI zMCXm5Oaq5hbfbyuVfW1GWD8bGoBAts4EnjjMCuI5kT5jbFUhTxSQmvQwb/5HhJnOdYD D0hwTrUb8+V7pkJUa5cDwwLYw3iibvgKuqjBYLKSoNYKGjwcJHQBCjJfUVGnwVvvSzn7 dz2veU2FLJN/1nwD5cSEfc37/3qLRFBZWjE0OBSo0U3dZMw4lQoMOX206hm3aCaRxdCq sA50cFKxmLF9gBvzf0gQbF1deGsPBvyq42/RsFm0EaT6GXJcPoYNycJwSLG0v+jkxp0J FH2g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t69si52376482pgb.365.2018.11.23.07.25.11; Fri, 23 Nov 2018 07:25:32 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2436655AbeKVWyd (ORCPT + 99 others); Thu, 22 Nov 2018 17:54:33 -0500 Received: from mx1.redhat.com ([209.132.183.28]:33652 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2436604AbeKVWyc (ORCPT ); Thu, 22 Nov 2018 17:54:32 -0500 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id C9F1389ADD; Thu, 22 Nov 2018 12:15:24 +0000 (UTC) Received: from dhcp-27-174.brq.redhat.com (unknown [10.43.17.142]) by smtp.corp.redhat.com (Postfix) with SMTP id F3B9A1726D; Thu, 22 Nov 2018 12:15:22 +0000 (UTC) Received: by dhcp-27-174.brq.redhat.com (nbSMTP-1.00) for uid 1000 oleg@redhat.com; Thu, 22 Nov 2018 13:15:24 +0100 (CET) Date: Thu, 22 Nov 2018 13:15:22 +0100 From: Oleg Nesterov To: Alan Cox Cc: Andrew Morton , Ben Woodard , "Eric W. Biederman" , Kees Cook , Michal Hocko , linux-kernel@vger.kernel.org, linux-man@vger.kernel.org Subject: Re: [PATCH 2/2] exec: increase BINPRM_BUF_SIZE to 256 Message-ID: <20181122121521.GB28270@redhat.com> References: <20181112160931.GA28463@redhat.com> <20181112160956.GA28472@redhat.com> <20181116174911.6fcff580@alans-desktop> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181116174911.6fcff580@alans-desktop> User-Agent: Mutt/1.5.24 (2015-08-30) X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.26]); Thu, 22 Nov 2018 12:15:25 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/16, Alan Cox wrote: > > On Mon, 12 Nov 2018 17:09:56 +0100 > Oleg Nesterov wrote: > > > Large enterprise clients often times run applications out of networked > > file systems where the IT mandated layout of project volumes can end up > > leading to paths that are longer than 128 characters. Bumping this up to > > the next order of two solves this problem in all but the most egregious > > case while still fitting into a 512b slab. > > You also need to update the execve manual page as it explicitly documents > the 128 byte limit. Thanks, Eugene sent the patch: [PATCH] execve.2: document an effect of BINPRM_BUF_SIZE increase to 256 https://marc.info/?l=linux-man&m=154281645706657 Oleg.