From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Philipp Stephani Newsgroups: gmane.emacs.devel Subject: Re: emacs-28 6d3608be88: Seccomp: improve support for newer versions of glibc (Bug#51073) Date: Tue, 25 Jan 2022 21:12:17 +0100 Message-ID: References: <164286838577.8429.4021499312049157333@vcs2.savannah.gnu.org> <20220122161946.44098C0DA30@vcs2.savannah.gnu.org> <877daqq9kp.fsf@yahoo.com> <83v8y9jnvt.fsf@gnu.org> <874k5tp8c2.fsf@yahoo.com> <83pmohjloh.fsf@gnu.org> <87sftd5hcv.fsf@gnus.org> <83ilu9ji0m.fsf@gnu.org> <87h79thyi0.fsf@gmail.com> <83bl01jbks.fsf@gnu.org> Mime-Version: 1.0 (Mac OS X Mail 15.0 \(3693.40.0.1.81\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11173"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Po Lu , Philipp Stephani , Robert Pluim , Lars Ingebrigtsen , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Jan 25 21:14:48 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nCSDC-0002Th-Lw for ged-emacs-devel@m.gmane-mx.org; Tue, 25 Jan 2022 21:14:42 +0100 Original-Received: from localhost ([::1]:41458 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nCSDB-00074e-H0 for ged-emacs-devel@m.gmane-mx.org; Tue, 25 Jan 2022 15:14:41 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:34340) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nCSAx-0005HD-CU for emacs-devel@gnu.org; Tue, 25 Jan 2022 15:12:23 -0500 Original-Received: from [2a00:1450:4864:20::42a] (port=44582 helo=mail-wr1-x42a.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nCSAu-0008F7-T9; Tue, 25 Jan 2022 15:12:23 -0500 Original-Received: by mail-wr1-x42a.google.com with SMTP id k18so21951921wrg.11; Tue, 25 Jan 2022 12:12:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=/Wly4rV7WJ043KOVFMZohB1Q4xX0i1WNXbc0+hbpnKU=; b=Y+7iK8ctEBXzfzwxYGwkxlm1hLEdczTwx0m61WQ5z2k2sg+aykhc+ypQbbJHh9sOLJ DnfAWPp0Mbu+iEyyJ1tqejylhv0om/10oX4hyweSwJc1PO7h7QtUP8+NPlXX7n8WE39N bHcVfjBhf89kHv1mxpWZ8Z2LB4Jl26FSs/3nqSDsR0nPIQbEkekAUFXhADjif0J6KuL7 idMbd0ibglpwqu9DGtYZxtsOhQ1/uWpHU/P7pEPXEtGWD3FlbN9xCCqrDcACjUQyIXXD +Q0uRkbMV/G3Dl40KgxV//EQ1m3yEpuK69X0zheu3WdbSCsWyWY9MExiWkvGgLRbvXS6 7viA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=/Wly4rV7WJ043KOVFMZohB1Q4xX0i1WNXbc0+hbpnKU=; b=ifrtCYYam9DKmUOF+5DClkgpMWXCb50lMSBnxu33U1jkd3wQWs7NryvxS/vSc1ZBF4 eieB+Kv2oPFGHI4JP1FRsy3WT8whoKVJTWHz6E99JqDYOSVyZ49/UibtoULvKOVLuh9T oQDTnJFgcoTBMD6FzCvIlf4AWbcBwDUGvJwiK0nXyag7luDdyQGBcl3P+Mokb4J/Vbly +En43TtxzQXr2WY6daIYVK6a0JBNxpOb8Z59LyQSaBJNMDTfBo9WZkoFCKeAC1/ZjqMq 8b18lKlD9nuTdK+RZIZlrntVRqO5XtGnWvfRmI7+x3VNcsnOgIxXZnKkyRyU0f+MROpP wthQ== X-Gm-Message-State: AOAM5335ncUeXPWOxb06OAfYRda+6sCEAo0REDGT/bXULwCAXb03moPq GWTZ9L+o7358jKPGwOcx9lTnv0KzCvQ= X-Google-Smtp-Source: ABdhPJy2qCFWByEzK75Q/8Kdx13kDOpzpr5fCO/1H/8qww9jn1rMNF7ZHrqUfOuz0mbMLZ4JNDp8Uw== X-Received: by 2002:adf:e3cf:: with SMTP id k15mr15260853wrm.5.1643141538853; Tue, 25 Jan 2022 12:12:18 -0800 (PST) Original-Received: from smtpclient.apple ([2a02:2455:2a4:dc00:d85e:f16a:2547:d608]) by smtp.gmail.com with ESMTPSA id s17sm17778849wrm.62.2022.01.25.12.12.17 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 25 Jan 2022 12:12:18 -0800 (PST) In-Reply-To: <83bl01jbks.fsf@gnu.org> X-Mailer: Apple Mail (2.3693.40.0.1.81) X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::42a (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::42a; envelope-from=p.stephani2@gmail.com; helo=mail-wr1-x42a.google.com X-Spam_score_int: 0 X-Spam_score: -0.1 X-Spam_bar: / X-Spam_report: (-0.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, FREEMAIL_REPLY=1, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:285389 Archived-At: > Am 24.01.2022 um 18:19 schrieb Eli Zaretskii : >=20 >> From: Robert Pluim >> Cc: Lars Ingebrigtsen , luangruo@yahoo.com, >> phst@google.com, p.stephani2@gmail.com, emacs-devel@gnu.org >> Date: Mon, 24 Jan 2022 17:47:19 +0100 >>=20 >> Eli> It is very worrisome that a change in glibc can break Emacs = like that. >> Eli> I wonder what it means for the maintainability of Emacs in = the long >> Eli> run. I have a bad feeling about this. >>=20 >> We can always default the seccomp support to off. >=20 > If it's so fragile, perhaps we should. The seccomp support isn't fragile at all. It only relies on the Linux = kernel and a small number of syscalls that haven't changed for a long = time. What is "fragile" here (though I think this wording is incorrect) is the = generation of the default filter that we ship for convenience reasons. = That one should be adapted (maybe a few times per year, so not very = frequently) to newer libc versions. There's no other way since unknown = syscalls in the filter can't be allowed for security reasons.=