Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp765941imu; Fri, 16 Nov 2018 09:50:26 -0800 (PST) X-Google-Smtp-Source: AJdET5e9QCC2D+x3RRJOGJ+fb0McUvdg6IMqAeqNc//q86uYF1joV+KomPcYk5n9RuwIasK1PMRy X-Received: by 2002:a17:902:4381:: with SMTP id j1-v6mr11555744pld.59.1542390626264; Fri, 16 Nov 2018 09:50:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542390626; cv=none; d=google.com; s=arc-20160816; b=rMQ0x0DCjxzPa4C7utSjsCzNmxG/SJjpmOADKttIDcgLox727B2k9Oem3ENCC/eE5X 9Rahtod+PN21DguTm+bHLKgZt1HwMCpCoAalU3uaaP3yQTSbOaruEI6F2Miu5BGc6eDe 7mE2c8r2CDOtTx5OLI8VPJ4rWiSIXx7fHfk6SLxWfvPfEQnbNebPIzgGwKyWG9pnT7XZ aOT2CJcV6YOALN81Ntje0hT/LTD5NoJSnc1EbSIJ9ybZrp2l9NgRHP0xhl1nsoqoseXr 9CBaHx6I6UWzI9UGaEbo1wuuRnaLbS4I2aYyo4m1o/G7NGenHTgILaLz75D8sKpDN8QT XdBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=X31I0UZwyH64ItGt8BIyePV5pRHfJvfraVAtyXRu7Ps=; b=SzwLFUIOGQJtMRUNT03C5nubGrKG+Kk9buaJdm2T60ca04f42MgiDQFFZPPu72bZ4Y SLjeE8k/19hXu3/GMjoJGN+e5p7xlXfxDjxLa6EZ9725KZmtcCTg+tYPqFGNgBco+ZJb xqcS72mx4Ob5TfZ9gyiXRWNwWHq0IEckP2cRHAT43jC4q4eBcU2T3dJGzIZlYOWxbbp6 FuVw6v171Qp05eAGjtcKR4vQF5Re4HN/ksnLYBC4iJtJaRuZ6/2+x9RuetfXHQyXTQ/6 owlwPrDBC+pX7GaHjsYOXqj2n8+ZS7e94rwSuX/Ba9ylogQAFsN8TzLuz6g93vc4TH0K 1R1g== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m75si10059750pga.432.2018.11.16.09.50.12; Fri, 16 Nov 2018 09:50:26 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729336AbeKQECu (ORCPT + 99 others); Fri, 16 Nov 2018 23:02:50 -0500 Received: from www.llwyncelyn.cymru ([82.70.14.225]:42554 "EHLO fuzix.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729140AbeKQECu (ORCPT ); Fri, 16 Nov 2018 23:02:50 -0500 Received: from alans-desktop (82-70-14-226.dsl.in-addr.zen.co.uk [82.70.14.226]) by fuzix.org (8.15.2/8.15.2) with ESMTP id wAGHnCaE003901; Fri, 16 Nov 2018 17:49:12 GMT Date: Fri, 16 Nov 2018 17:49:11 +0000 From: Alan Cox To: Oleg Nesterov 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: <20181116174911.6fcff580@alans-desktop> In-Reply-To: <20181112160956.GA28472@redhat.com> References: <20181112160931.GA28463@redhat.com> <20181112160956.GA28472@redhat.com> Organization: Intel Corporation X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Alan