Received: by 2002:a89:2c3:0:b0:1ed:23cc:44d1 with SMTP id d3csp603599lqs; Tue, 5 Mar 2024 10:41:40 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXYas6YeCFEUZDcsGZoWREn+3xHUHvTyYRUOSivBEGtWxRyiQH8kH0JFDBVbuj++hmDk5iA362t1inG5QU6zVw55PyBtjgxzAn5aOxcmg== X-Google-Smtp-Source: AGHT+IG5KSghtENKgM6kYj40ochaOg9zE66j+2fTY1gp1LfBnTf5D3DEUMGeXfpw+Iim29JqEPQI X-Received: by 2002:a50:cb83:0:b0:565:7d4a:1d4a with SMTP id k3-20020a50cb83000000b005657d4a1d4amr7748429edi.8.1709664100094; Tue, 05 Mar 2024 10:41:40 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709664100; cv=pass; d=google.com; s=arc-20160816; b=nORCbO+0A/08jJH+8YhllQ92BlUNIxOrsugGBvl+yyd/HJyl8H/0Zf62P4vJGs1AGM AziYbBFi7RaPRHYHSx14OVV04x2pFCe2EDyttySL1FrQwnEVzC8ylNH+mZO1YzdZvnaL 5HJ9NRQd2wov28fHVWhMAuQDCqy8SzzTrT3pWu8lKWegNtV7VhNvu6VWb/UHA0s0g/hE IYZNtEGzr4JI3m/J/ElbcSK118CRBHy/2tKH6MLWaLsD5LbAYOjqdC0GYQa47F9+A0FC 4M9MU//4xy6DuN52JpMB1Jl05HYNs1TkkJQ4rLT6gUaPC8WJ7bqlol2i8WeawMGKXfAV YOVA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=uZoQI1fT8QfmmvEDY9ZYWRkDR8aVhX37TS8JWY66OSk=; fh=N4ONS3BMew1A9I/qNuQNSmyo7vBCsSzP0CrS40Q10Cw=; b=zcbKnsA1rNOTw7DNySB3kBTgcwgDD6KrmI4o8p9boa/hVUCqAHFS5xHy5uKVuIPCxE 2A/7zxmmziSNxwdvaffYRoP66Qe6/RVCHBeOY1Zo9s79bDVvMDOyRPUnCOEN3+ix8k4e e/tFlbYs0YIKEC38iwFjZlnHae8aUI/v8QmOMazoyFlBbm8L5bphA4j+gWX++ckxo9c4 1gqQOXvWzpqOhYA7z0ZZomU2teAE3AeFrx7grZBr+zjV7kjM1+RzAqIjZ+IIYFRv+hte yN5CL4x3FCKQiosXK4P97kFSrBfRhM9a7MTiu48UltAeXCmDXz3iwur+efwPWLuLqreS cncw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=a7nk0ZbF; 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-92832-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-92832-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id q6-20020aa7d446000000b005668de27aaasi5084419edr.227.2024.03.05.10.41.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Mar 2024 10:41:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-92832-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=a7nk0ZbF; 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-92832-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-92832-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 am.mirrors.kernel.org (Postfix) with ESMTPS id AC6A61F29404 for ; Tue, 5 Mar 2024 18:34:10 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 86BB724215; Tue, 5 Mar 2024 18:33:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="a7nk0ZbF" Received: from mail-pl1-f178.google.com (mail-pl1-f178.google.com [209.85.214.178]) (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 4267F1B972 for ; Tue, 5 Mar 2024 18:33:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.178 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709663628; cv=none; b=O4duX84jhueNQlJH+sndx+qycZP6MS0iN2J3lh+yDYX3pv6Gylt+7zzKIa7XmiD0YLxOM8+zvCPYIOhLrg68gzvjeczdhrypcDw4h5meJ76q9f4zPBJnR27lv/vl0ww72n4PSnmGyKLEBsce14VMcB2CUKwvuT6RfApFzFV4zg8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709663628; c=relaxed/simple; bh=owF45A5U8RazsW2KrYptuABA1Q6yhy0RwNPs4QQaAno=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=YAb0ocT4KPHg4vvmmZyMQYNNPzLDUW8+8IDqoPWRc1GKMUlp2n+1JC2bjb74JlZWmZt0bP4Jty6oShlA9PN5p0JChi6xkqu7fEOzsWY+wdfWf+5LY/WkSTsIjhL1QoUokfugck3skz/vpyUYbs6zEb3YbWjBXINhxcZiocBRR1M= 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=a7nk0ZbF; arc=none smtp.client-ip=209.85.214.178 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-f178.google.com with SMTP id d9443c01a7336-1dc49b00bdbso54319575ad.3 for ; Tue, 05 Mar 2024 10:33:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1709663626; x=1710268426; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=uZoQI1fT8QfmmvEDY9ZYWRkDR8aVhX37TS8JWY66OSk=; b=a7nk0ZbFLpOKCFbMBKU0gUAQUc7qq9urOdSEiVF65f8wWNcGnMeIsSpN9MREdmM0n2 /Z3N2EV6LDzSJPpi2G9bzoCzy4Lh52cfNOBF9OWxAwrtm6GPMPnCNp0jJQegnc/Gf+Ob Aq9ed+/5oXavnOlTe8xg0YGd163lqwSdmFxVs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709663626; x=1710268426; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=uZoQI1fT8QfmmvEDY9ZYWRkDR8aVhX37TS8JWY66OSk=; b=YcoCURFtqLtQkABpjwJpOW/BvXL/dt5e6gEq/pTQ5kXA95CUWM24T7UBBryz5elQuk QqMdj/c8cbGADSDC8VXCQjqCYMyKtHLEYLyrAZU2kFj70xzew71sIF+uP/s0fmplHZIY r+eZQT40VBZ3Ky6Vfs7eZ0ZcewJ7C/joMICde5RwuJhdLh178SAYKP8s936yy3rIvDmo VV0ZeoS21EWDH/5WzlqLCyNi5y4eagbNxrfHZVGwuoQOYnQpzLaQ/b6iU0pU/mkUTZaP 9FETH8w5JB9BjENgZNNFE26bByeoMSv/SWj0wn7vITkS3SZajFeKEiSNjxbcETBdzwlH 1zSA== X-Forwarded-Encrypted: i=1; AJvYcCUuRXqQF03M9PLM1h3ev4WsrJAPs2NvsTAEwAllYyqnjaaAuG+dg5lYcy8xsNqLvCqfL0AgAU/wdEfVdb0ySfJGfQRNNXqtkMo7P6xD X-Gm-Message-State: AOJu0Yy8drbXOxKejjvqhhlULh9XsxTkLEfHzrD3GMia1sOglMBsB0YF lkJgZNvxPZcRQYjdQdrtusoNCUxM8whcajgtxe+F58q6VFQwydrDlZ1f13CXxg== X-Received: by 2002:a17:902:a98c:b0:1db:cb13:10f1 with SMTP id bh12-20020a170902a98c00b001dbcb1310f1mr2522864plb.19.1709663626654; Tue, 05 Mar 2024 10:33:46 -0800 (PST) Received: from www.outflux.net ([198.0.35.241]) by smtp.gmail.com with ESMTPSA id i3-20020a170902c94300b001dc95205b56sm10890809pla.53.2024.03.05.10.33.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Mar 2024 10:33:46 -0800 (PST) Date: Tue, 5 Mar 2024 10:33:45 -0800 From: Kees Cook To: Christian Brauner Cc: Matthew Denton , Adrian Ratiu , linux-fsdevel@vger.kernel.org, kernel@collabora.com, linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, Guenter Roeck , Doug Anderson , Jann Horn , Andrew Morton , Randy Dunlap , Mike Frysinger Subject: Re: [PATCH v2] proc: allow restricting /proc/pid/mem writes Message-ID: <202403051032.783210E95@keescook> References: <20240301213442.198443-1-adrian.ratiu@collabora.com> <20240304-zugute-abtragen-d499556390b3@brauner> <202403040943.9545EBE5@keescook> <20240305-attentat-robust-b0da8137b7df@brauner> <202403050134.784D787337@keescook> <20240305-kontakt-ticken-77fc8f02be1d@brauner> <20240305-gremien-faucht-29973b61fb57@brauner> 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 In-Reply-To: <20240305-gremien-faucht-29973b61fb57@brauner> On Tue, Mar 05, 2024 at 12:03:21PM +0100, Christian Brauner wrote: > What btw, is the Linux sandbox on Chromium doing? Did they finally move > away from SECCOMP_RET_TRAP to SECCOMP_RET_USER_NOTIF? I see: > > https://issues.chromium.org/issues/40145101 > > What ever became of this? I'm not entirely sure. I don't think it's been a priority lately (obviously). -- Kees Cook