Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp45590pxu; Tue, 24 Nov 2020 18:07:32 -0800 (PST) X-Google-Smtp-Source: ABdhPJzPgWCmu+SY2Wobu9YPcVqebXtz2vufxCTyA6mXMkLS5uDcnESPnRirJ31PPogeyb8f+hX8 X-Received: by 2002:a50:99d6:: with SMTP id n22mr1386783edb.261.1606270051987; Tue, 24 Nov 2020 18:07:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606270051; cv=none; d=google.com; s=arc-20160816; b=EVMlRZM0WDNc1/0xC4tCbWAxH8GXQdIKPDPfBkKg7LdKYYD2sFzMVn2UeSMoClPkBU IJXRtsXqUaeTvOZdDOcjZwXRMJLcio+Z7ZCR8lnu3qcjJmdS800QpJmux4MAW8DynWux Ncu1aJh9nJottKRE0qsRI53OdTGOgXI7GAHz9Sr7Ge6CB6MulPJtJ+xfqV7mmRkHpsl6 dpikS6EryTGvvXb0z82jhJnJFYqcyDD54xdtcN4MVh5K0/82z43zTYZ6fGWq7r3uXkFx lg+GHOnQR8J3ghTWY/0WPlDq5DoLOQoBarDdqaKxgTwwv+93R34ukYcozOHuLDy16RCV MtGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=gxsDeVGamS0hlIf6ve+2luB3JdMIOEqdPuqPaIv9Dls=; b=UG6952kzHfWm+OKU0NqUl0cunFqrzsa9+LtKFFBr5FKoKvI1Oyvw+1sn0CElf3DFV+ gWtXt0GrF/cehdyIprpIsScTLsdcZ4/NWCNsicmVrsht8hXBuzPAsodMoJyPg/bnRZDK erT8Sipon2dUgcpDvew9VgMh5D288+VOpWIUXSZ4ZEWNIxjzaoKxuwH+N9JKhB1TEEpA IM0Grv+DyGzvd0ugciEiOMiDx5GQ+Y9G2v4BlS9PBGED2xJrKQof6AodiLkXb4sgy7Sc THksXryW9voBBh8C2/YGGK4pLGW5WXee10BBz/0PIixpXXssHe/sQioKpDGRlvGvSunb 5syw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b="VBYUp/uE"; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j1si368983edt.484.2020.11.24.18.07.08; Tue, 24 Nov 2020 18:07:31 -0800 (PST) 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=@infradead.org header.s=casper.20170209 header.b="VBYUp/uE"; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388431AbgKXNhW (ORCPT + 99 others); Tue, 24 Nov 2020 08:37:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35038 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387693AbgKXNhV (ORCPT ); Tue, 24 Nov 2020 08:37:21 -0500 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 915BFC0613D6; Tue, 24 Nov 2020 05:37:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=gxsDeVGamS0hlIf6ve+2luB3JdMIOEqdPuqPaIv9Dls=; b=VBYUp/uEnseBoeTeKEhlEWh3HQ g9jh5J/6w+XXN7KTPAWqRI2umbF+U2cvDEHRZ2+NADxjtfotGOawPf+w3FZ95YmoiYfvSAmBJq9D4 26wEASipBY6rGNiLU2Hi8AssdKYuF70q8nnjB8RjiU2SZP0YZgXvYmtZelAahPgqFm4LGeIQPwHt2 lo8QqqROqwzFUNAoeIMBekulW9J+J1XJwzu6vYqp6gvntJCCRyHMb2MlYx3Ct96pZ8dB9NbUflhGt pjlmHxstjZln9ZulPC9kuS4AQj7iF7mj/kiKWYtjSCVN0VIYtEoRfye1lyQIHousEOYYA4BSj7/yO m9EVCaBg==; Received: from hch by casper.infradead.org with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1khYVT-00086n-HE; Tue, 24 Nov 2020 13:37:19 +0000 Date: Tue, 24 Nov 2020 13:37:19 +0000 From: Christoph Hellwig To: Florian Weimer Cc: linux-api@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, dev@opencontainers.org, corbet@lwn.net, Carlos O'Donell Subject: Re: [PATCH] syscalls: Document OCI seccomp filter interactions & workaround Message-ID: <20201124133719.GA30896@infradead.org> References: <87lfer2c0b.fsf@oldenburg2.str.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87lfer2c0b.fsf@oldenburg2.str.redhat.com> X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 24, 2020 at 01:08:20PM +0100, Florian Weimer wrote: > This documents a way to safely use new security-related system calls > while preserving compatibility with container runtimes that require > insecure emulation (because they filter the system call by default). > Admittedly, it is somewhat hackish, but it can be implemented by > userspace today, for existing system calls such as faccessat2, > without kernel or container runtime changes. I think this is completely insane. Tell the OCI folks to fix their completely broken specification instead.