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.bugs Subject: bug#56359: seccomp test failures on RHEL 9.0 Date: Sat, 16 Jul 2022 12:50:01 +0200 Message-ID: <2094647B-7360-41F4-8AB0-ADFC835288E8@gmail.com> References: Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.100.31\)) 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="11343"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 56359@debbugs.gnu.org To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jul 16 12:51:13 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1oCfOC-0002if-Dr for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 16 Jul 2022 12:51:12 +0200 Original-Received: from localhost ([::1]:32842 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oCfOB-0003zg-5g for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 16 Jul 2022 06:51:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46232) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oCfO2-0003yr-Tm for bug-gnu-emacs@gnu.org; Sat, 16 Jul 2022 06:51:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:45284) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oCfO2-0007lO-LH for bug-gnu-emacs@gnu.org; Sat, 16 Jul 2022 06:51:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oCfO2-0002uo-ER for bug-gnu-emacs@gnu.org; Sat, 16 Jul 2022 06:51:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Philipp Stephani Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 16 Jul 2022 10:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56359 X-GNU-PR-Package: emacs Original-Received: via spool by 56359-submit@debbugs.gnu.org id=B56359.165796861311119 (code B ref 56359); Sat, 16 Jul 2022 10:51:02 +0000 Original-Received: (at 56359) by debbugs.gnu.org; 16 Jul 2022 10:50:13 +0000 Original-Received: from localhost ([127.0.0.1]:43040 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oCfNF-0002tF-7L for submit@debbugs.gnu.org; Sat, 16 Jul 2022 06:50:13 -0400 Original-Received: from mail-ej1-f42.google.com ([209.85.218.42]:40461) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oCfNB-0002sy-Fi for 56359@debbugs.gnu.org; Sat, 16 Jul 2022 06:50:11 -0400 Original-Received: by mail-ej1-f42.google.com with SMTP id tk8so1627650ejc.7 for <56359@debbugs.gnu.org>; Sat, 16 Jul 2022 03:50:09 -0700 (PDT) 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=5zs7Y/JBq/s+HJ2hBlgu+jOvHdVhZ2nCFsCqc1odAas=; b=Y7lYkLj7gIbCr7u2MTY0stNdV1klhaHlIQcZNQk9SyP7zpWnbE86V6x8XJTHnT59+z kGisId/NQQbiMBJc3WGJzmLtrCpM8YAgWTMtND9hyFADtJDhW/i151SF4GAs3lJuF4uM +De+bHzURlQsn1lymrRqhBDhGYmUxc9tyIvyjm6ZGGKksNfj8z+XtGTXqHtE04luzs2z gisXB62lyMDAhdGwwxFNl8HOivxG2TB9ioNe/zxbNZ98CYbJtaELH8Bw49KvjJ3B+DHh Vv5HjcuR+eJqvpbwqxOnBzFY7wYEhof2NAHeYzhhuu6vNKi7kZXUCScRds/2R8pptOtD K5lw== 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=5zs7Y/JBq/s+HJ2hBlgu+jOvHdVhZ2nCFsCqc1odAas=; b=ukrdeZ2xZtTriPIome1X5K/nkrNoPqA9Z426fbdCbHuFF/3hNwetGRKz2YIksiQu/w qVIOWXonogNXE0L2MlGOU33s4jKIs+WwJYl66chfTf2g1Kb9LfiMH0zqg9BCIdBTrNG3 UdpwNpu/lRzL8cQvxiD1kNfSxHpIfU/kkWw4Wm7GMBqTD4ZUKbn7OW/fFGQHb/r9J7ZD OFQgF7VLZ2gTrUkFvUoRmjmTH+87Dj8lj59lGmlGbqoHxznxThmNMyKLK5pJM8hkoOuH SSgPk1XtRGfJrfdLaNBLSzfk/vtq16zR/VKv7Zi6gbdKbpW6xNdyP8y3hiTV0mJe8+QS fUog== X-Gm-Message-State: AJIora+OT4d7g/kN/mhN//dEdSf9zBfBfwqj9my+gzVh5VeUj3+RnTWj 9Krg5uYMhVraZk6UHgE8aNk= X-Google-Smtp-Source: AGRyM1sTPYz7z+FrHZrCwouWjg1Z1UlMAsle5a0i8ao1C5FqGFt+LmuOqJxs4mxgoAlUteLoiZ7l5A== X-Received: by 2002:a17:906:5055:b0:6ff:1dfb:1e2c with SMTP id e21-20020a170906505500b006ff1dfb1e2cmr17930982ejk.200.1657968603324; Sat, 16 Jul 2022 03:50:03 -0700 (PDT) Original-Received: from smtpclient.apple (p57aafbd1.dip0.t-ipconnect.de. [87.170.251.209]) by smtp.gmail.com with ESMTPSA id p13-20020a05640210cd00b00435a62d35b5sm4499388edu.45.2022.07.16.03.50.02 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 16 Jul 2022 03:50:02 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.3696.100.31) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:237169 Archived-At: > Am 16.07.2022 um 01:35 schrieb Glenn Morris : >=20 > Philipp Stephani wrote: >=20 >> Does the attached patch fix the issue? >=20 > Not entirely. I have to also allow "clone3", then it passes. Hmm, I'm not sure we should allow clone3 unconditionally since it can do = lots of things, and I'd expect that its capabilities will only grow over = time. OTOH, BPF (or at least the libseccomp library) don't support = pointer indirections which would be needed to inspect the structure = fields. See https://lwn.net/Articles/822256/. Any opinions?=