From: Philipp Stephani <p.stephani2@gmail.com>
To: Glenn Morris <rgm@gnu.org>
Cc: 56359@debbugs.gnu.org
Subject: bug#56359: seccomp test failures on RHEL 9.0
Date: Fri, 15 Jul 2022 16:12:06 +0200 [thread overview]
Message-ID: <CAArVCkRO7-OZgXJ0DDp8R3JAzaq7OOZBV0RKRX03xZxaPgRbQA@mail.gmail.com> (raw)
In-Reply-To: <mk8rpbv26z.fsf@fencepost.gnu.org>
[-- Attachment #1: Type: text/plain, Size: 705 bytes --]
Am Sa., 2. Juli 2022 um 19:46 Uhr schrieb Glenn Morris <rgm@gnu.org>:
>
> Package: emacs
> Version: 28.1.90
> Severity: minor
>
> emacs-28 at e390396e684 on RHEL 9.0:
>
> 2 unexpected results:
> FAILED emacs-tests/bwrap/allows-stdout
> FAILED emacs-tests/seccomp/allows-stdout
>
> From audit.log:
>
> type=SECCOMP msg=audit(1656773029.676:55047): auid=1000 uid=1000 gid=1000
> ses=320 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023
> pid=2443726 comm="emacs" exe="/src/emacs" sig=31 arch=c000003e syscall=186
> compat=0 ip=0x7f3c04d74dfd code=0x80000000AUID="gmorris" UID="gmorris"
> GID="gmorris" ARCH=x86_64 SYSCALL=gettid
Does the attached patch fix the issue?
[-- Attachment #2: gettid.patch --]
[-- Type: application/octet-stream, Size: 512 bytes --]
diff --git a/lib-src/seccomp-filter.c b/lib-src/seccomp-filter.c
index 9f0de7d64f..090d53d2db 100644
--- a/lib-src/seccomp-filter.c
+++ b/lib-src/seccomp-filter.c
@@ -223,6 +223,7 @@ main (int argc, char **argv)
RULE (SCMP_ACT_ALLOW, SCMP_SYS (getuid));
RULE (SCMP_ACT_ALLOW, SCMP_SYS (geteuid));
RULE (SCMP_ACT_ALLOW, SCMP_SYS (getpid));
+ RULE (SCMP_ACT_ALLOW, SCMP_SYS (gettid));
RULE (SCMP_ACT_ALLOW, SCMP_SYS (getpgrp));
/* Allow operations on open file descriptors. File descriptors are
next prev parent reply other threads:[~2022-07-15 14:12 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-02 17:45 bug#56359: seccomp test failures on RHEL 9.0 Glenn Morris
2022-07-15 14:12 ` Philipp Stephani [this message]
2022-07-15 23:35 ` Glenn Morris
2022-07-16 10:50 ` Philipp Stephani
2022-08-20 12:37 ` Basil L. Contovounesios via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-10-11 0:54 ` Lars Ingebrigtsen
2022-10-11 12:36 ` Basil L. Contovounesios via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-10-11 17:43 ` Paul Eggert
2022-10-11 19:47 ` Lars Ingebrigtsen
2022-10-18 9:32 ` Philipp Stephani
2022-10-06 16:56 ` Basil L. Contovounesios via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-10-07 11:56 ` Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAArVCkRO7-OZgXJ0DDp8R3JAzaq7OOZBV0RKRX03xZxaPgRbQA@mail.gmail.com \
--to=p.stephani2@gmail.com \
--cc=56359@debbugs.gnu.org \
--cc=rgm@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).