Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp1213182lqo; Sat, 11 May 2024 12:24:33 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUvT8fTIvuq+0Vj4R4/z0jpnWm+3nSvuKGdLUGeEHkFSdzFmTCGjinddzRJD053YwnzmlxcKWZkbSGUGNgtXkH1lYEfeSYzFXvpI7hMMQ== X-Google-Smtp-Source: AGHT+IHPAwbAKlUtzpa53hzKai8YEk3idVyJgoD3KnwrRkdodKJ/JJsjlYFyPJI8JPvmFDLUQmsy X-Received: by 2002:a05:622a:4b0b:b0:43d:d8e3:3322 with SMTP id d75a77b69052e-43dfdb26c76mr81075501cf.38.1715455473395; Sat, 11 May 2024 12:24:33 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715455473; cv=pass; d=google.com; s=arc-20160816; b=XuOy/OyX8A4bdyUKm1VrdiC/Nl3zTVm2yY48xUp3ebrtLVHZu8MczVDKMm3JJfGC5d 7v2XH/3TuAUYvJlsaIrMlyd7epIwNSl08p2Q6NKMOoB1EizwIOa7rfgNQuIijOpZUbw6 DXFZD6uGEt3+Twu6DwTCGsNKc/8tQbgdO1UKoSv49XLL5P3LqQYyIGnJQrAhutn6M/JX vmMgp31XUAMd/YsH90GKqXorJ7mJstSorWYW2cUp6dFpHjj4XY3vcsCAAQS/pfaNVMxf Csp+MYMvQT99I95/cP4QPamPw6S6vTxp9qAp0uPl3eKnK6/ah4xXDtmZv2u0VzEsrbhY fb4w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-disposition:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:message-id:subject:cc:to:from:date :dkim-signature; bh=+4TXunqFT0uWZjzeItEBoMExIHFBPOqppPsH/ewa57k=; fh=+Pgu3LsBvrmcc89X7brRtEfET7Zhi1ANb6a19BNc12A=; b=JgY/HJHPRKw60CZDQnLoLbGQajYZ8gIw7wTcJcjvojLEDtPE6YTRO7OaQ/d1mZl9/R srh18j+KjGlM1kf8IKg/ihyxtNR/p4Auli6Vx+gbMm8dwpaVIebq7OTiip/RZdjCCCli OgECsU9Srct/6s0o5gXvA+t6ajtybJV5RDyAhwsmJzMpddbu+yQz9G0kodB65mJvc3np Yc7RcdwYzcYijjI590ayiNjmJ4PWuZtVqLlxX88HpOZyf5RWwmWkzhCogxIO/I0Av1FV 97qv5rGtIhbxw2Eg29Oizes4WxH1ijw4BF7TTZf27IpcnrO/39zuarP0NrtCDo2DKKIi hw+Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=SG8+yz9n; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-176698-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-176698-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id d75a77b69052e-43df8d2e5a4si57123721cf.54.2024.05.11.12.24.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 11 May 2024 12:24:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-176698-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=SG8+yz9n; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-176698-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-176698-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 00E731C20D96 for ; Sat, 11 May 2024 19:24:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7346D1CD31; Sat, 11 May 2024 19:24:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="SG8+yz9n" Received: from mail-pl1-f170.google.com (mail-pl1-f170.google.com [209.85.214.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5740E1B974 for ; Sat, 11 May 2024 19:24:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.170 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715455466; cv=none; b=QMZcAKs96kwD313OQvRNM4UmrnCXHEvhGhSbXpRdeyJlqKhB/dkFnce7dqWh9Uz6XbkqJHpV4EcapVnMvw1qiuuyB39Yg6whd6WojQB/FN3/Npp+S4+1W0UGYtCD+K1EZfw+gQoLeknDQrsu+5szq+ndFQOMy+whROdpNkmUG4Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715455466; c=relaxed/simple; bh=3M3BD0Y1waNGEJ50/Jp+zcuKpSFwkiU9LMCkhhKwLkM=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=jJXst2tctXcobFZ8x9dYXJ7pMkNWjVPfIQQbbZL2LYrrEkdQn7zViJEXXCO0KfOj9oe6zNL18lCf7ciKqBQt2rcu8bYoiFbwSBFTv5RiDemY0jVIlRUpBGpJ1hHtHTPr0XjS6dwZt15u/juuN6IQ9mkH9pwPOC9J7W68YRlT+7E= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org; spf=pass smtp.mailfrom=chromium.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b=SG8+yz9n; arc=none smtp.client-ip=209.85.214.170 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chromium.org Received: by mail-pl1-f170.google.com with SMTP id d9443c01a7336-1ec486198b6so24901265ad.1 for ; Sat, 11 May 2024 12:24:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1715455464; x=1716060264; darn=vger.kernel.org; h=content-disposition:mime-version:message-id:subject:cc:to:from:date :from:to:cc:subject:date:message-id:reply-to; bh=+4TXunqFT0uWZjzeItEBoMExIHFBPOqppPsH/ewa57k=; b=SG8+yz9n5HefYYdHONHu5GutU25ud+0zWKYXqR05ScTAiJwBbZAUE/cV3m2DZ//KYi 1TrjZLQIx8DVEHsLcOwAk1gyk0R6dkEUShqEGSkeM7WVcU5iWNQa64QC+QMJzllwTg52 zi3sKaAyMBe0SfV6KA5cSGG5KOFTCQR4F7FR4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715455464; x=1716060264; h=content-disposition:mime-version:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=+4TXunqFT0uWZjzeItEBoMExIHFBPOqppPsH/ewa57k=; b=pc8pJoQW/kZIkBhBNoVFluSEvnWd2NfXl3AqqgCJbylB/s6P5Xfn2GvCMKtFpBNJ7U uUKpwakt59++RBKj5TAuZ4i/ZXqxtqcyi2zqO6H2lhYPiuz0MHgEbqkA3Ygg6AewT8a6 QzNu/zIKGFg/c3ZvYqTaH72kOrHwH7n7lMymQYgUrgruOujc/iLRKOFraqTqVwnqciS0 9sdT97GTcMX976uHKfoYvthFpCT20fueW3PeIHr/+cQCdL7sC74cPiWLsZYopsompkIo Lci6CI097lChZF1KHwDAgcI1Dvp1gdQkZZt48mt9ivIpNeVlEL6NV5bt6wvJhm6BGWpc PojQ== X-Gm-Message-State: AOJu0YwJhu476R7lDK8sJtTqdQ2fxGUS7I3EppMK17AbfCI9fvaJ52IM uxCh7wBGYuraOhTfb9Tq7qnPy+nELbTcTa1ThVpRPL8KgnNBIQol59oPUlFwJw== X-Received: by 2002:a17:903:2292:b0:1e8:9054:101a with SMTP id d9443c01a7336-1ef441a690bmr75036825ad.60.1715455464695; Sat, 11 May 2024 12:24:24 -0700 (PDT) Received: from www.outflux.net ([198.0.35.241]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1ef0c15d516sm51984105ad.274.2024.05.11.12.24.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 11 May 2024 12:24:24 -0700 (PDT) Date: Sat, 11 May 2024 12:24:23 -0700 From: Kees Cook To: Linus Torvalds Cc: linux-kernel@vger.kernel.org, Allen Pais , Jini Susan George , Kees Cook , Marco Elver , Masami Hiramatsu , Max Filippov , Michael Ellerman , Steven Rostedt , Vignesh Balasubramanian , Vijay Nag , y0un9n132@gmail.com Subject: [GIT PULL] execve updates for 6.10-rc1 Message-ID: <202405111224.433C7AEAB@keescook> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi Linus, Please pull this handful of execve updates for 6.10-rc1. Thanks! -Kees The following changes since commit 39cd87c4eb2b893354f3b850f916353f2658ae6f: Linux 6.9-rc2 (2024-03-31 14:32:39 -0700) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/execve-6.10-rc1 for you to fetch changes up to 4bbf9c3b53e637eb3a14ee27b996300ce88e752a: fs/coredump: Enable dynamic configuration of max file note size (2024-05-08 09:53:00 -0700) ---------------------------------------------------------------- execve updates for 6.10-rc1 - Provide knob to change (previously fixed) coredump NOTES size (Allen Pais) - Add sched_prepare_exec tracepoint (Marco Elver) - Make /proc/$pid/auxv work under binfmt_elf_fdpic (Max Filippov) - Convert ARCH_HAVE_EXTRA_ELF_NOTES to proper Kconfig (Vignesh Balasubramanian) - Leave a gap between .bss and brk ---------------------------------------------------------------- Allen Pais (1): fs/coredump: Enable dynamic configuration of max file note size Kees Cook (1): binfmt_elf: Leave a gap between .bss and brk Marco Elver (1): tracing: Add sched_prepare_exec tracepoint Max Filippov (1): binfmt_elf_fdpic: fix /proc//auxv Vignesh Balasubramanian (1): Replace macro "ARCH_HAVE_EXTRA_ELF_NOTES" with kconfig arch/Kconfig | 9 +++++ arch/powerpc/Kconfig | 1 + arch/powerpc/include/asm/elf.h | 2 - fs/binfmt_elf.c | 10 ++++- fs/binfmt_elf_fdpic.c | 85 +++++++++++++++++++----------------------- fs/coredump.c | 17 +++++++++ fs/exec.c | 8 ++++ include/linux/coredump.h | 2 + include/linux/elf.h | 2 +- include/trace/events/sched.h | 35 +++++++++++++++++ 10 files changed, 120 insertions(+), 51 deletions(-) -- Kees Cook