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:13:38 +0100
Message-ID: <3915003C-0382-4F0A-9789-7072660BE158@gmail.com>
References: <164286838577.8429.4021499312049157333@vcs2.savannah.gnu.org>
<20220122161946.44098C0DA30@vcs2.savannah.gnu.org> <877daqq9kp.fsf@yahoo.com>
<83tudshvb1.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="25270"; mail-complaints-to="usenet@ciao.gmane.io"
Cc: Po Lu , Philipp Stephani , rms@gnu.org,
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:17:14 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 1nCSFd-0006RX-V3
for ged-emacs-devel@m.gmane-mx.org; Tue, 25 Jan 2022 21:17:13 +0100
Original-Received: from localhost ([::1]:43484 helo=lists1p.gnu.org)
by lists.gnu.org with esmtp (Exim 4.90_1)
(envelope-from )
id 1nCSFc-00006i-NC
for ged-emacs-devel@m.gmane-mx.org; Tue, 25 Jan 2022 15:17:12 -0500
Original-Received: from eggs.gnu.org ([209.51.188.92]:34908)
by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from )
id 1nCSCF-0006Rt-Cy
for emacs-devel@gnu.org; Tue, 25 Jan 2022 15:13:43 -0500
Original-Received: from [2a00:1450:4864:20::42f] (port=41588
helo=mail-wr1-x42f.google.com)
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
(Exim 4.90_1) (envelope-from )
id 1nCSCE-0008Lk-0j; Tue, 25 Jan 2022 15:13:43 -0500
Original-Received: by mail-wr1-x42f.google.com with SMTP id h21so4410556wrb.8;
Tue, 25 Jan 2022 12:13:41 -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=pQVipZ/KD1A8qT/w42Y/LUmebbyCeALr+oSGcSQMcMs=;
b=jsMA/nOSenVQJwmH+IO5bZlnGhDsAkHoBit1ARcmraoqZqi4sbGbsJrs2hdTozVjVj
9HceLohF0SKTQOQQvnD0BCVKRNoaHCSPLCOXhtKYQ6WvWEABPwJJ9GSNMSMBiJqMVjVa
6Q/QGIhWzTsrZ9IuTC2cMEb5NtQg3NFxuJZq5EKaOrKnkaX1dSiKKY2PYPSeMCJ8eCgn
i7EO/dLwujd1W6jSJWp5PA5lcHdNQD+ZoAHrmvwlU5ErMjcwD54MEkfD171FSfe1cGsY
tFhiBJh/cp/9V+U3ewOKQgCT8/IJFS3nGTQtXXr772ew9tAQNaU5z11x4u+SbuvXn2/R
jhRw==
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=pQVipZ/KD1A8qT/w42Y/LUmebbyCeALr+oSGcSQMcMs=;
b=5+tgwgovkEecuunbgl/A8vlDGYEKHqsGqjHNzMQkatebQaazM2FRGMuoGhU7DZmeUs
RaIWDD5hciA+88qCBwADMWARzn1ChNHIciJce9+ni9jXaYjeFuZ6YWGPWcz1Lfin/8ks
FMwOoBgaC2/4nvXjP547uVED2EwQW/Me+yb3QqtZMDhUy9eQYL8JUSTcBNm1AZeKhsEw
63CrH58PSNJNBpmQoHqhUSTsRGkdQPNovhqumUzUCxBMbp25Q8AdsYlxx0QuUxTHWqw2
pYGQkQCVOZFlEXMrVPPLihBC17ZPRrvSYetSMWIWTrEGHWdGLI6T8M9MYQmf1ZDOSuL4
N1YQ==
X-Gm-Message-State: AOAM530dtU8ldzc4EG833Pzexad1ChpNYuxTkirJBKrliq8dCadQezWG
BmNGBlHUgCyPHfPZQP+LxcZuBUaPQXI=
X-Google-Smtp-Source: ABdhPJx+aHnem7sRZ2Il+IyEG+u0fd34Fd5qGmJm+6XjQUYrcs5RU4yErx95zHLLGXGV53YbC1tWVg==
X-Received: by 2002:adf:fa84:: with SMTP id h4mr12027471wrr.14.1643141619439;
Tue, 25 Jan 2022 12:13:39 -0800 (PST)
Original-Received: from smtpclient.apple ([2a02:2455:2a4:dc00:d85e:f16a:2547:d608])
by smtp.gmail.com with ESMTPSA id l13sm1323146wmq.22.2022.01.25.12.13.38
(version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128);
Tue, 25 Jan 2022 12:13:39 -0800 (PST)
In-Reply-To: <83tudshvb1.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::42f
(failed)
Received-SPF: pass client-ip=2a00:1450:4864:20::42f;
envelope-from=p.stephani2@gmail.com; helo=mail-wr1-x42f.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:285390
Archived-At:
> Am 25.01.2022 um 13:08 schrieb Eli Zaretskii :
>=20
>> From: Richard Stallman
>> Date: Mon, 24 Jan 2022 23:16:03 -0500
>> Cc: luangruo@yahoo.com, phst@google.com, emacs-devel@gnu.org
>>=20
>>> That can happen any day, if glibc folks make some change we didn't
>>> know about. We cannot chase glibc development forever, we will =
never
>>> succeed catching up with them, certainly not in the long run.
>>=20
>> It's true that problems like this can happen any day. Not just with
>> Glibc but with lots of libraries that Emacs uses. But that has been
>> the case for many years. Are things getting worse in some way?
>=20
> If frequent changes to glibc cause Emacs to crash, that is bad.
These "crashes" are the whole point and purpose of seccomp filters. If =
an Emacs process is sandboxed using a syscall filter, any unknown =
syscall has to exit the process ("crash"), otherwise the sandbox would =
be insecure.