Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp4590615pxv; Tue, 20 Jul 2021 07:16:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzgOVZCMm4hTMzyjXV4FrnWYzpOdehl169DxsHfeboJvuFkaevO6QcSnqtv60GkhA+WRLeB X-Received: by 2002:a17:906:fc6:: with SMTP id c6mr32421787ejk.65.1626790591073; Tue, 20 Jul 2021 07:16:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626790591; cv=none; d=google.com; s=arc-20160816; b=cRF9VCXOr9t/UzVU3v0xoXGBa4BkP3VSQlotaR3eIWSExJGlNe3keRh5QA1J2yspQG FeLURukGIc9BsYFPgDwChF3E+fNYModsTRJ5cMRYf/eOOfk4zBJbbKgHIGxlndu3yPvM 8K1C1LSbZfjb2nraLbllMeYoytxE1uPzo8P51828gat0HIK6nnfXzO3g9eiMPMMVwpoB G/xJ5Yv7VPstaW6GfWP/FD583f+NTRAyoyvhonkIovrJO8ao+zFMFHlgA86kJEfkPOJy MXaoOpXkEIXYUCNGzWQDs6EHGcWK6n4q+5/scHewMeO+BkQ8bIBvBmCmXZfG1wRDdQFt nPOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=d+X4Q07MgeHYW8eCJj5YoBj1nYkhGjnbiHZEqthoXuw=; b=kUyxxmpU+S7KIEXS23P85i/smXt761O+EcKXfMYIUxC6e67i7TjRbSV+2MmytLY8TR sc13CjWLEyhb2WJBTH7LliWAybHLwYwHtvNwuzpVogV3p1ztWnVTozogGnddUObmtFlz 2etEVcYfj40SK6Nus7alm2hlOKSbgVsS9kGrAYxEumFxIsjjCrvvvmGCuPpzwkzVKVhD JCnSuEarH7MicfJ3hlXb9ppfzmd5vwA17Rsmz3GqZVGxnAkW7cxnhjPYJ9lJAMbRxwR9 w/FqHoMq3lGQZ1fzjQHYACG/yohufwuaBqE2Rm0dQCxR6c2rzJVac7Yu3Ji4bBJIP8YK v+og== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=hWgOOiHC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 26si24607723ejk.553.2021.07.20.07.16.07; Tue, 20 Jul 2021 07:16:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=hWgOOiHC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237484AbhGTNbb (ORCPT + 99 others); Tue, 20 Jul 2021 09:31:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34740 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239389AbhGTNOQ (ORCPT ); Tue, 20 Jul 2021 09:14:16 -0400 Received: from mail-lj1-x230.google.com (mail-lj1-x230.google.com [IPv6:2a00:1450:4864:20::230]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1F317C061574 for ; Tue, 20 Jul 2021 06:54:53 -0700 (PDT) Received: by mail-lj1-x230.google.com with SMTP id c23so2276444ljr.8 for ; Tue, 20 Jul 2021 06:54:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=d+X4Q07MgeHYW8eCJj5YoBj1nYkhGjnbiHZEqthoXuw=; b=hWgOOiHC1DPm4CD0bWFnEDG/qcM3MfkuXkskeBSyryxl8VruwN/+6X0WPj5NhE3DuV XbCJwizjc0O3gDMkTGthoz/YtPk9SWFZMHsY97J+4gaPHVgpDbJAJ8rzyMJldJqFaQRf VAxa+xkIUUPv+R90Qm1VgRZ13yJ7kNUKIeJk+9LLrsr8+lVpNQhtM0Zl1gse7/Nn6cNV BfonwVRwHUkQuBOJm3V4lVk70H8GxWd1yMlMJrMiLbIzWOCvoMS8VcLzcMGFLCCzCXob iInrfGf8dcvT8FoqXDOELMm6vCvwimUlJDJnOotePedFPFFkcUcG+7gbW0u6ZWcEcG4H nORw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=d+X4Q07MgeHYW8eCJj5YoBj1nYkhGjnbiHZEqthoXuw=; b=C2/4OQhZ+qD2Y6AVqxgy75DMsptoLWMQrmPfu29MDL3i5TKiBdOMkKO9ZZDKfG5FzD 1f8TfIeFB4bfn0RCSlty8CnvdDzGVKJkWVnmlYRCKJ1dpf5CjF97efWUI8dWRWeAxZQD fido9Zio+BRMm83Tj3BHq/idiv9sYls55FHsTHZ655IubHHYBCbHSNIlp1pPGUyzIDaL IwKGr6QR9igzuACeHMwqYXRjjVOhCmvkO4SBq4abwpHuBkFWqQeJObL5RXURd4P0zaSK I30IlitlpWF6akZSgkC5xhh1b6HE+9S8PKhoWqPxZzmywQOu/8EkcePGzieoytJJA41D CEow== X-Gm-Message-State: AOAM533b7LaataNe5aq3DSN7D7qm2xTS9tjCL3++ojLDM9MYKyEj1HI1 nArENaqDmwPhafrlYuR6/O8= X-Received: by 2002:a2e:9c54:: with SMTP id t20mr12193411ljj.87.1626789291527; Tue, 20 Jul 2021 06:54:51 -0700 (PDT) Received: from grain.localdomain ([5.18.255.97]) by smtp.gmail.com with ESMTPSA id x10sm1427384ljn.27.2021.07.20.06.54.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Jul 2021 06:54:50 -0700 (PDT) Received: by grain.localdomain (Postfix, from userid 1000) id 14FC65A001E; Tue, 20 Jul 2021 16:54:49 +0300 (MSK) Date: Tue, 20 Jul 2021 16:54:49 +0300 From: Cyrill Gorcunov To: Andrei Vagin Cc: LKML , Keno Fischer , Andrew Morton , Dmitry Safonov <0x7f454c46@gmail.com>, Kirill Tkhai , "Eric W. Biederman" Subject: Re: [PATCH] prctl: allow to setup brk for et_dyn executables Message-ID: References: <20210121221207.GB2174@grain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/2.0.7 (2021-05-04) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 20, 2021 at 12:33:11AM -0700, Andrei Vagin wrote: > > > > Reported-by: Keno Fischer > > Signed-off-by: Cyrill Gorcunov > > CC: Andrew Morton > > CC: Dmitry Safonov <0x7f454c46@gmail.com> > > CC: Andrey Vagin > > Acked-by: Andrey Vagin > Fixes: bbdc6076d2e5 ("binfmt_elf: move brk out of mmap when doing > direct loader exec") Thanks for review, Andrew! I reviseted this patch recently again and indeed we still need it.