Received: by 2002:ab2:710b:0:b0:1ef:a325:1205 with SMTP id z11csp741470lql; Mon, 11 Mar 2024 16:41:34 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVMqFuJaNTxyoONl2uXOg3X8SLHJRzjVjh2YMsZzJAGsUtpRVQsR76CqN6pKBGJaMgFONvZ3VYTEF/Sc7Y+oyP5GBz/Lt0nixZNTazJ3w== X-Google-Smtp-Source: AGHT+IF4GQEF0POY57KXXQI2JoBgv2/4L9voBLtBccBrCYZ/XjQwjmtWEABCP42ec75UHGTADvsy X-Received: by 2002:a05:620a:a45:b0:788:2b40:fbce with SMTP id j5-20020a05620a0a4500b007882b40fbcemr7337485qka.47.1710200494348; Mon, 11 Mar 2024 16:41:34 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710200494; cv=pass; d=google.com; s=arc-20160816; b=yLgfzUK8u3ZaapygatZWo7IFeTpVnEfVCiyFjeE+Y1/CByVzA6h9IU11HEE8Ek0QlU pJkDgPJKIo0hpaBY5b0EakOi9NKtg/qRrWHTAR8t6Tb9ZcoaClxCSnUs+Qy8Y8jiLQdP VDu6+zz4hHbydglA1N0RDR2tECyvFaODvqNAJ/ODcTAsUNXfIwrhCIPfIc2Hu4XzQUnI WEqvK7aMZ6y7WMtCrJfIPuzhMUzupuSsp6thMYyaa3sxemMYZjuCSzgjfh/+bPTOb/qG p2mf4wgTl5SLROa05iaePusrtLfTYE3xt6KQzJSgbm0rJ0lUfceZ9wvlR6kZpDp/DiwM Wv/Q== 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=sijOqUV0v9b+uu6ucC7y1n+V6LIAN15M66Y7AMirCnM=; fh=MPjz8XPPGLYcXbB0wWcckG3SRXmrmzBZA3MEBx6bMUc=; b=BJB2gC/bn93UuuMvcK9rr0lw6bfVosVdNmwfzM8rkXGV4sud1UpbmYBFvw3JHHKBwK RBsh9eBamLcHKoQBboX0XqrLVuNWUb0nEUV1aBSxzGUvI/IKkj8peV3pWPtHAuD/U6hC lCa2+BTKy1ZFnSsNU2KhywmTTKl6DUXuG2D+9G910mDBhJ/ne1MHh3cxLdXfuZHGQkeD Od2m6/tIV/Qp9nYwNvdP1HOGQpokHyFL8PUnG29ey5VfTT4GTw1EAF2J7V+0dosntrau cN8+YUsUMn9W9TD5YypoV4EqDXqzCfBEJkQu+fKD0ac5rYNhJt7uJQY/ao9KTGTybGze D8mg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=S4dWM25w; 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-99668-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-99668-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. [147.75.199.223]) by mx.google.com with ESMTPS id pa3-20020a05620a830300b0078827a9b07asi6304840qkn.42.2024.03.11.16.41.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Mar 2024 16:41:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-99668-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=S4dWM25w; 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-99668-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-99668-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 1848E1C20FF2 for ; Mon, 11 Mar 2024 23:41:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 91CC25914A; Mon, 11 Mar 2024 23:41:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="S4dWM25w" Received: from mail-pl1-f169.google.com (mail-pl1-f169.google.com [209.85.214.169]) (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 63C8D58ABF for ; Mon, 11 Mar 2024 23:41:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.169 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710200487; cv=none; b=Iy93AL8sOgFcdeL8AKi3uKVqtgvuUCYNEPZG+3bwY4bgzPbEoqZYiSfPNOLK8XYNdz2gYKpP9z+JBMxKQ5T/8wGnc03W/FOSVL8PTlPy8YX5E47RqiWuCUVjbW0knIw9aevn3xxqCuClbGTaiICvSDDNHJkgvMASEPQaLScEcOU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710200487; c=relaxed/simple; bh=oMBEUrIufNiH5v4Ezh8LCLg7QmBGNpZT2yXP31KEKm0=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=AWcocMspLhU3v1ARSodTGe+v4aWsRKlWbyya46As9Ykka3ZkE4cUF651qRk2rnoyv6MfxO5QRbtzZHlInF5lK3d5gYDkgx72S/yoZWuTgI2kQu/jF0JVjMv6rfS089u6G1UHF6kxNqtofjnPu7rWzpW9XJYLaB+YRda19Hzol6I= 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=S4dWM25w; arc=none smtp.client-ip=209.85.214.169 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-f169.google.com with SMTP id d9443c01a7336-1dcad814986so37896305ad.0 for ; Mon, 11 Mar 2024 16:41:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1710200485; x=1710805285; 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=sijOqUV0v9b+uu6ucC7y1n+V6LIAN15M66Y7AMirCnM=; b=S4dWM25wdVnn/V4sveILyhwzGtZNqtJxvlNY2pH/fLfVdM44X9gVdzlPRWzRZCrgsp HNp2tgQEhCGYjmYThXRREjH/gJ7T9Vl7F2K7yh4lqjrFNmqvMBHODixe7pdYwwKxvU00 LwbKsV3/1fKpKQ965sMHotjxAkBBz9tUP9Y98= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710200485; x=1710805285; 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=sijOqUV0v9b+uu6ucC7y1n+V6LIAN15M66Y7AMirCnM=; b=iS9VnL6Eau5vIeo+m0Yqo34RMjC0mtTlu0kmqzTRdj9juAHHmfiQw3JRdmjTmPbYj0 eziUZYYYJQZuNATTQ77qrH/o+rfLnh09sSPmg+h/IagcJuQ6UaURL4AbZHxDEZDEZbp5 mnk9ZCqgXXZ1XvbVHghGEDW48D4zoboTuEEtidSLnO6FiMBdCk4H9RrGeqElgS3R+teg aUel+qpKhhRB7PUcqwOGuAAcMNlV28cNsXpiaZSNHoWwJiyicUZAmSv8/+bUfYXulwqt KAqZMznoSmVP+ycj9c0i0gtdJT+4k5HnG7ZE8V0mkFhRrDotAeENBAJKvDK7Y4oYdnrQ M/mA== X-Gm-Message-State: AOJu0YzPJiJR1en9Hf/bzCqyaKvKN6tf1UrL4lmk0V4/BPa1mKmjTJ0T smzaxIIKUA8PBd+URLdvIItOW8Egq35K/m1HwqWigDTQnikyk9H5PnltThnsDw== X-Received: by 2002:a17:902:edd0:b0:1dc:a8aa:3c86 with SMTP id q16-20020a170902edd000b001dca8aa3c86mr7725774plk.5.1710200485198; Mon, 11 Mar 2024 16:41:25 -0700 (PDT) Received: from www.outflux.net ([198.0.35.241]) by smtp.gmail.com with ESMTPSA id n9-20020a170902e54900b001d949393c50sm5283343plf.187.2024.03.11.16.41.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Mar 2024 16:41:24 -0700 (PDT) Date: Mon, 11 Mar 2024 16:41:24 -0700 From: Kees Cook To: Linus Torvalds Cc: linux-kernel@vger.kernel.org, Andy Lutomirski , Arnd Bergmann , Kees Cook , kernel test robot , Mark Brown , Terry Tritton , Tycho Andersen , Will Drewry Subject: [GIT PULL] seccomp updates for v6.9-rc1 Message-ID: <202403111640.68D9B74844@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 these several seccomp updates for v6.9-rc1. There are no core kernel changes here; it's entirely selftests and samples. Details below. Thanks! -Kees The following changes since commit 41bccc98fb7931d63d03f326a746ac4d429c1dd3: Linux 6.8-rc2 (2024-01-28 17:01:12 -0800) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/seccomp-v6.9-rc1 for you to fetch changes up to 56af94aace8a0489fb1a32fd6f1cf0c548fe3911: samples: user-trap: fix strict-aliasing warning (2024-02-12 10:42:02 -0800) ---------------------------------------------------------------- seccomp updates for v6.9-rc1 - Improve reliability of selftests (Terry Tritton, Kees Cook) - Fix strict-aliasing warning in samples (Arnd Bergmann) ---------------------------------------------------------------- Arnd Bergmann (1): samples: user-trap: fix strict-aliasing warning Kees Cook (1): selftests/seccomp: Pin benchmark to single CPU Terry Tritton (3): selftests/seccomp: Handle EINVAL on unshare(CLONE_NEWPID) selftests/seccomp: Change the syscall used in KILL_THREAD test selftests/seccomp: user_notification_addfd check nextfd is available samples/seccomp/user-trap.c | 8 +++-- .../testing/selftests/seccomp/seccomp_benchmark.c | 38 ++++++++++++++++++-- tools/testing/selftests/seccomp/seccomp_bpf.c | 41 ++++++++++++++++------ 3 files changed, 73 insertions(+), 14 deletions(-) -- Kees Cook