From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 07 06:31:08 2021 Received: (at submit) by debbugs.gnu.org; 7 Oct 2021 10:31:08 +0000 Received: from localhost ([127.0.0.1]:46140 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mYQg7-0003dx-M3 for submit@debbugs.gnu.org; Thu, 07 Oct 2021 06:31:08 -0400 Received: from lists.gnu.org ([209.51.188.17]:36634) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mYQg3-0003dm-HN for submit@debbugs.gnu.org; Thu, 07 Oct 2021 06:31:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48598) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mYQg3-0000DE-2N for bug-gnu-emacs@gnu.org; Thu, 07 Oct 2021 06:31:03 -0400 Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]:44950) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mYQfz-0005ni-NV for bug-gnu-emacs@gnu.org; Thu, 07 Oct 2021 06:31:02 -0400 Received: by mail-wr1-x434.google.com with SMTP id s15so17584526wrv.11 for ; Thu, 07 Oct 2021 03:30:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tcd.ie; s=google21; h=from:to:subject:date:message-id:mime-version; bh=NAc/j357CdYU89ylzEfqOlsOaeVaLknJv1Nv395FSQ4=; b=fUVB0v+fTPEeVFhtd8eLSGFwevDqRoVM/jcqA3Aw8y84rNWNyKSxvkdhTZPAyt/bAP RdOQAHEey41TV20d3gjxb/GeWlcuQWK0otVRy5+oHXcMVtaErG6b4oBZV6Gd9vHPPdL5 wxSCSps0Atq+WaYGs5lsjWPOPdIjhaFY8FDN6HKgWoFuDR81NyMizDZSh97Ew8krVZL/ QWMdaPunL5NBsvEipr11WTeOortvAW8Lby0X/bkw27bsToi9KJsUKJZY10KCpBZKBGVj MVH6RXcqkAFkiZXYZONVcKNFX83anyCUvRbK0RNXY/noeTMGp0RGtwxORIhkce1jwVXS utIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=NAc/j357CdYU89ylzEfqOlsOaeVaLknJv1Nv395FSQ4=; b=ChcvzNN5fskXVUpde7qYrS5jSQRquAmJAppLZnH07LoUMxRYBdbGUJkgwxsVcnqDIR /EWW47ky1DtfYYBod/rxrce8hhr7HyPas81XFdnqQN4Fhls76MqGTsQOaM8nQvqJNSuN hr8BwIRiQGA/sbOxvMUrRZwkgoUbbxSyID7iyzm1PngF+ZHfQ7puESEBNJEKb43tlxrq 80CwAxhv9oicl4jbeFvovnsC6Np+ZAtihBpVC9LjvkfUiI+syqRGITkDqeaClEVScj6S U1OwP/cQSz7dfAGUTJ7YRo1HUzJfx0L3JdaxIiJU8qL1QR6JWH0g10g4IEoJgw3smAs1 cI/Q== X-Gm-Message-State: AOAM531+pQFSUqvLiYrcHWYsCBKoskkPsLwf9LDiJEE9+D0iHX8zgsfT MR0qiovp7s23cXmjgdVZMlxxw4Y62CQFuQ== X-Google-Smtp-Source: ABdhPJzdCCy8sfCt2J2y2plfOss4KCAvG+aPIhV1VSFhX3VF07y1oxDwulKdri3h9INFOoLZSE736A== X-Received: by 2002:adf:a3da:: with SMTP id m26mr4201164wrb.336.1633602655139; Thu, 07 Oct 2021 03:30:55 -0700 (PDT) Received: from localhost ([2a02:8084:20e2:c380:f410:82e8:3a21:eedf]) by smtp.gmail.com with ESMTPSA id n1sm1790829wmi.30.2021.10.07.03.30.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Oct 2021 03:30:54 -0700 (PDT) From: "Basil L. Contovounesios" To: bug-gnu-emacs@gnu.org Subject: 28.0.60; SIGSYS in emacs-tests/bwrap/allows-stdout X-Debbugs-Cc: Philipp Stephani Date: Thu, 07 Oct 2021 11:30:27 +0100 Message-ID: <878rz52kl8.fsf@tcd.ie> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=2a00:1450:4864:20::434; envelope-from=contovob@tcd.ie; helo=mail-wr1-x434.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Running 'make test/emacs-tests' fails with status code 159 (where 159 =3D 128 + 31 and 31 =3D SIGSYS); see the attached compilation log. Running 'sudo journalctl -g SECCOMP' includes the following: Oct 07 10:48:19 tia audit[2156]: SECCOMP auid=3D1000 uid=3D1000 gid=3D1000 ses=3D2 subj=3D=3Dunconfined pid=3D2156 comm=3D"emacs" exe=3D"/home/blc/.local/src/emacs-28/src/emacs" sig=3D31 arch=3Dc000003e syscall=3D157 compat=3D0 ip=3D0x7ff4f975629d code=3D0x80000000 Oct 07 10:48:20 tia audit[2171]: SECCOMP auid=3D1000 uid=3D1000 gid=3D1000 ses=3D2 subj=3D=3Dunconfined pid=3D2171 comm=3D"emacs" exe=3D"/home/blc/.local/src/emacs-28/src/emacs" sig=3D31 arch=3Dc000003e syscall=3D257 compat=3D0 ip=3D0x7ff14b807823 code=3D0x80000000 AFAICT syscalls 157 and 257 correspond to prctl and openat, respectively, and __GI___prctl is mentioned in the attached coredumpctl stack trace. This is confirmed by the ausearch ert-info if I run 'sudo make test/emacs-tests' (because ausearch is in my sbin): Potentially relevant Seccomp audit events: ---- type=3DSECCOMP msg=3Daudit(10/07/21 11:25:02.024:209) : auid=3Dblc uid=3D= root gid=3Droot ses=3D3 subj=3D=3Dunconfined pid=3D5982 comm=3Demacs exe=3D/home/blc/.local/src/emacs-28/src/emacs sig=3DSIGSYS arch=3Dx86_64 syscall=3Dprctl compat=3D0 ip=3D0x7fbf2438c29d code=3Dkill I don't know whether the following caveat from seccomp(2) is relevant for openat: * Seccomp filtering is based on system call numbers. However, appli=E2= =80=90 cations typically do not directly invoke system calls, but instead call wrapper functions in the C library which in turn invoke the system calls. Consequently, one must be aware of the following: [...] =E2=80=A2 Finally, the behavior of wrapper functions can change = across glibc versions. For example, in older versions, the glibc wrap=E2= =80=90 per function for open(2) invoked the system call of the same name, but starting in glibc 2.26, the implementation switched to calling openat(2) on all architectures. FWIW here are some of my local versions: $ bwrap --version bubblewrap 0.5.0 $ uname -a Linux tia 5.14.0-1-amd64 #1 SMP Debian 5.14.6-2 (2021-09-19) x86_64 GNU/L= inux $ /lib/x86_64-linux-gnu/libc.so.6=20 GNU C Library (Debian GLIBC 2.32-4) stable release version 2.32. Copyright (C) 2020 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Compiled by GNU CC version 10.3.0. libc ABIs: UNIQUE IFUNC ABSOLUTE For bug reporting instructions, please see: . HTH. Let me know if you'd like me to test anything. Thanks, --=20 Basil In GNU Emacs 28.0.60 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo versio= n 1.16.0, Xaw3d scroll bars) of 2021-10-07 built on tia Repository revision: 1100fffcd360867c0116cb5c4d17bab535577c03 Repository branch: emacs-28 Windowing system distributor 'The X.Org Foundation', version 11.0.12011000 System Description: Debian GNU/Linux bookworm/sid Configured using: 'configure 'CFLAGS=3D-O0 -ggdb3' --prefix=3D/home/blc/.local --program-suffix=3D-28 --enable-checking=3Dyes,glyphs --enable-check-lisp-type --with-x-toolkit=3Dlucid --with-file-notification=3Dyes --with-x' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS X11 XAW3D XDBE XIM XPM LUCID ZLIB Important settings: value of $LANG: en_IE.UTF-8 value of $XMODIFIERS: @im=3Dibus locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t indent-tabs-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs rfc822 mml mml-sec epa derived epg rfc6068 epg-config gnus-util rmail rmail-loaddefs auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json map text-property-search time-date subr-x seq byte-opt gv bytecomp byte-compile cconv mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils iso-transl tooltip eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo x-toolkit x multi-tty make-network-process emacs) --=-=-= Content-Type: text/plain Content-Disposition: attachment; filename=compilation.log Content-Description: Compilation log -*- mode: compilation; default-directory: "~/.local/src/emacs-28/" -*- Compilation started at Thu Oct 7 10:48:17 make test/emacs-tests make -C test emacs-tests make[1]: Entering directory '/home/blc/.local/src/emacs-28/test' make[2]: Entering directory '/home/blc/.local/src/emacs-28/test' GEN src/emacs-tests.log Running 7 tests (2021-10-07 10:48:19+0100, selector `(not (or (tag :unstable) (tag :nativecomp)))') Test emacs-tests/bwrap/allows-stdout backtrace: signal(ert-test-failed (((should (eql status 0)) :form (eql 159 0) : ert-fail(((should (eql status 0)) :form (eql 159 0) :value nil)) (if (unwind-protect (setq value-166 (apply fn-164 args-165)) (setq f (let (form-description-168) (if (unwind-protect (setq value-166 (app (let ((value-166 'ert-form-evaluation-aborted-167)) (let (form-descr (let* ((fn-164 #'eql) (args-165 (condition-case err (let ((signal-ho (let ((ert--infos (cons (cons "Info: " (emacs-tests--seccomp-debug s (let* ((command (concat (mapconcat #'shell-quote-argument (list (fil (progn (let* ((command (concat (mapconcat #'shell-quote-argument (li (unwind-protect (progn (let* ((command (concat (mapconcat #'shell-qu (save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn (let ((temp-buffer (generate-new-buffer " *temp*" t))) (save-current (let ((bash (executable-find "bash")) (bwrap (executable-find "bwrap (let ((lexical-binding t)) (let ((bash (executable-find "bash")) (bw (closure (t) nil (let ((lexical-binding t)) (let ((bash (executable- ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test ert-run-test(#s(ert-test :name emacs-tests/bwrap/allows-stdout :docu ert-run-or-rerun-test(#s(ert--stats :selector ... :tests ... :test-m ert-run-tests((not (or (tag :unstable) (tag :nativecomp))) #f(compil ert-run-tests-batch((not (or (tag :unstable) (tag :nativecomp)))) ert-run-tests-batch-and-exit((not (or (tag :unstable) (tag :nativeco eval((ert-run-tests-batch-and-exit '(not (or (tag :unstable) (tag :n command-line-1(("-L" ":." "-L" "./../../elpa/packages/url-http-ntlm/ command-line() normal-top-level() Test emacs-tests/bwrap/allows-stdout condition: Info: Process output: Potentially useful coredump information: PID: 2156 (emacs) UID: 1000 (blc) GID: 1000 (blc) Signal: 31 (SYS) Timestamp: Thu 2021-10-07 10:48:19 IST (437ms ago) Command Line: /home/blc/.local/src/emacs-28/src/emacs --quick --batch --eval=(message "Hi") Executable: /home/blc/.local/src/emacs-28/src/emacs Control Group: /user.slice/user-1000.slice/session-2.scope Unit: session-2.scope Slice: user-1000.slice Session: 2 Owner UID: 1000 (blc) Boot ID: 4195cfec188140b5908f255dd92399d5 Machine ID: 1eaf00d04e87431584dd7dfc9cf6503c Hostname: tia Storage: /var/lib/systemd/coredump/core.emacs.1000.4195cfec188140b5908f255dd92399d5.2156.1633600099000000.zst Message: Process 2156 (emacs) of user 1000 dumped core. Stack trace of thread 2156: #0 0x00007ff4f975629d __GI___prctl (libc.so.6 + 0xfe29d) #1 0x00007ff4f897fd53 cap_get_bound (libcap.so.2 + 0x3d53) #2 0x00007ff4f897f40e n/a (libcap.so.2 + 0x340e) #3 0x00007ff4fba3b10e call_init (ld-linux-x86-64.so.2 + 0x1010e) #4 0x00007ff4fba3b1f0 call_init (ld-linux-x86-64.so.2 + 0x101f0) #5 0x00007ff4fba2c08a _dl_start_user (ld-linux-x86-64.so.2 + 0x108a) (ert-test-failed ((should (eql status 0)) :form (eql 159 0) :value nil)) FAILED 1/7 emacs-tests/bwrap/allows-stdout (0.302527 sec) passed 2/7 emacs-tests/seccomp/absent-file (0.028454 sec) passed 3/7 emacs-tests/seccomp/allows-stdout (0.095900 sec) passed 4/7 emacs-tests/seccomp/empty-file (0.013831 sec) passed 5/7 emacs-tests/seccomp/file-too-large (0.258692 sec) passed 6/7 emacs-tests/seccomp/forbids-subprocess (0.293651 sec) passed 7/7 emacs-tests/seccomp/invalid-file-size (0.014142 sec) Ran 7 tests, 6 results as expected, 1 unexpected (2021-10-07 10:48:21+0100, 1.921665 sec) 1 unexpected results: FAILED emacs-tests/bwrap/allows-stdout make[2]: *** [Makefile:182: src/emacs-tests.log] Error 1 make[2]: Leaving directory '/home/blc/.local/src/emacs-28/test' make[1]: *** [Makefile:248: src/emacs-tests] Error 2 make[1]: Leaving directory '/home/blc/.local/src/emacs-28/test' make: *** [Makefile:997: test/emacs-tests] Error 2 Compilation exited abnormally with code 2 at Thu Oct 7 10:48:21 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 09 13:25:40 2021 Received: (at 51073) by debbugs.gnu.org; 9 Oct 2021 17:25:40 +0000 Received: from localhost ([127.0.0.1]:54115 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mZG6O-0005U6-Fb for submit@debbugs.gnu.org; Sat, 09 Oct 2021 13:25:40 -0400 Received: from mail-oi1-f178.google.com ([209.85.167.178]:46698) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mZG6N-0005Tt-3F for 51073@debbugs.gnu.org; Sat, 09 Oct 2021 13:25:39 -0400 Received: by mail-oi1-f178.google.com with SMTP id o204so9938464oih.13 for <51073@debbugs.gnu.org>; Sat, 09 Oct 2021 10:25:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=MFkofDAW1gveWuJe/DnxF8q9ODFxIjdgjanAwbzJYfs=; b=EFtBhKhEWO5B0Lpv7WnuhQCKl6bMP09pBKZm2KlU6xdBy3bqHbbuYWSUsKrdCS6qaS r1Ha5VyuxhilL1Htuvi/gRKeTpag8tBiUYpxTbkEc2T/7E9E54spIoCyq29VdfOhX9XR jXnx8MQP0gIXEbKDvZ1HShYUJFYek3IWjfFe7BmG7o+OioxRTkH/rYv9ih6fF6dBPgF1 PKtOgXq9BldEctQvzVbTuvigBkY79RmjKZ2r4kz3k+CdoKr1iggFS4sz9WTmTbuodISC QuAH+3AC9TsMpvVEnD60dy/scTmpXaS3dRHi4FUagOwEczZWYmhKYUKkcsWaxr6BxRdQ 5GBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=MFkofDAW1gveWuJe/DnxF8q9ODFxIjdgjanAwbzJYfs=; b=IIkoMjWdEIpPn1IFp2CYCe+f80oI8iKKhddW4AY6CeKIGH2mPxpYGeAv0VjXwX4nwi BZM59Zd7VJgzTXaz3p7G9Mwb/R08C9fjC5o+Zht7R0pwoV5wAiZEsfsIFPbj/+WcFIo9 6ReJIT3FnSW1W8I603//GeErRfZZ6gpHRvi7XE/ia1E2HZaRNwzmy1DqP4ukecImvj0d kIA+pncu1SGWw32ma3D05xroIuAWTLrsnFyuC2AXnJWTM3w0P7D77/r3l8jWkwsjH4AQ EXYzenkNE1oitVlDD30KdhbjIyQIN4xLiYC5+9x+zVLl94zZdGYyKjvq7/xkUCtN3Zh8 6wlg== X-Gm-Message-State: AOAM533y77qU6mKWF5+xgtThfFENQNOz/PHxr8eY0BMppmQiqm395PAR gSgHT5AsqlxHuUrNL4NqmMLF/bsy5N4B2vDztHA= X-Google-Smtp-Source: ABdhPJzFneGK8J6F2EAL/epUJgU8CppqtrFCTGQsSKZvNxG3kO6ToAYXFxfv6h25+Wc5uOG06MhCr31sGimJJLmsOaY= X-Received: by 2002:a54:489a:: with SMTP id r26mr12783788oic.158.1633800333416; Sat, 09 Oct 2021 10:25:33 -0700 (PDT) MIME-Version: 1.0 References: <878rz52kl8.fsf@tcd.ie> In-Reply-To: <878rz52kl8.fsf@tcd.ie> From: Philipp Stephani Date: Sat, 9 Oct 2021 19:25:22 +0200 Message-ID: Subject: Re: bug#51073: 28.0.60; SIGSYS in emacs-tests/bwrap/allows-stdout To: "Basil L. Contovounesios" Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 51073 Cc: 51073@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.8 (/) Am Do., 7. Okt. 2021 um 12:32 Uhr schrieb Basil L. Contovounesios : > > Running 'make test/emacs-tests' fails with status code 159 (where > 159 = 128 + 31 and 31 = SIGSYS); see the attached compilation log. > > Running 'sudo journalctl -g SECCOMP' includes the following: > > Oct 07 10:48:19 tia audit[2156]: SECCOMP auid=1000 uid=1000 gid=1000 > ses=2 subj==unconfined pid=2156 comm="emacs" > exe="/home/blc/.local/src/emacs-28/src/emacs" sig=31 arch=c000003e > syscall=157 compat=0 ip=0x7ff4f975629d code=0x80000000 > > Oct 07 10:48:20 tia audit[2171]: SECCOMP auid=1000 uid=1000 gid=1000 > ses=2 subj==unconfined pid=2171 comm="emacs" > exe="/home/blc/.local/src/emacs-28/src/emacs" sig=31 arch=c000003e > syscall=257 compat=0 ip=0x7ff14b807823 code=0x80000000 > > AFAICT syscalls 157 and 257 correspond to prctl and openat, > respectively, and __GI___prctl is mentioned in the attached coredumpctl > stack trace. This is confirmed by the ausearch ert-info if I run > 'sudo make test/emacs-tests' (because ausearch is in my sbin): Thanks, from the stacktrace I guess the unknown syscall invocation comes from https://git.kernel.org/pub/scm/libs/libcap/libcap.git/tree/libcap/cap_proc.c?id=d07df10aaa02cf8cfe8047610d2f56dc0be68f1e#n272. I'll look around a bit whether we should allow or reject that combination. From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 09 13:44:08 2021 Received: (at 51073) by debbugs.gnu.org; 9 Oct 2021 17:44:08 +0000 Received: from localhost ([127.0.0.1]:54131 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mZGOF-0005vP-VP for submit@debbugs.gnu.org; Sat, 09 Oct 2021 13:44:08 -0400 Received: from mail-oi1-f171.google.com ([209.85.167.171]:40745) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mZGOE-0005uo-By for 51073@debbugs.gnu.org; Sat, 09 Oct 2021 13:44:06 -0400 Received: by mail-oi1-f171.google.com with SMTP id n63so18136877oif.7 for <51073@debbugs.gnu.org>; Sat, 09 Oct 2021 10:44:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=rAtZDXeCkWjay9pE3yM/d1eQ0ol8jL6DeBATkhEwTzE=; b=HM6jcgrXMs3J7SQezivpJ5bPYG/gN/D/ytXOTmjLG4dqI1c/a7xZvoNkcFEDgADbyG u5QcwlmcYcrBGLnx7cXlHmkqA/k8o35YkGYB/xwsweYaRFJHV5LcN3bzsKiyUrRIRN3y GczHUw7n9Zqsu77eh+V2xgahXaKZ0aWIHmZuWw4bHK2oUl3KU4eWErXlsefTVtBcTk04 sIwQJqvGWbFl1Jf5hOSR7lWxC02wPvAiMMpYwB2snAliNtzbw6KqJfmqmsl4HwMf+6qX ABjiQtNksLY/8BoIQeyvGUOuiFwIuEbQgeNGgCnptCpEzx1F49JcGky+AH5+5o+wBE4v j1kA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=rAtZDXeCkWjay9pE3yM/d1eQ0ol8jL6DeBATkhEwTzE=; b=67kWGUeQZ0v9a5RhmEx/3Qp0FdP4f8+eL+DcZjgJ9GOtQED1jKMkItdyteSMvuABtC n+b8YpxOMrrUYu4tOiVyOnepvwozShCM2Xh3JUCquPEKwvTbOrcRvjnaJK3tLQbG67vJ xoc+agWIekFS7ob53HeRfvfjYPEt/y0OMuy1r4sb81LAaTbKsOZvPDH2SxOHQK3N8uWe vsg1tJr7kknGfoD1hdpTAcgGhz5c3KCUHF/Y8w39yvLbQufsBi4Y3uwQhET4r6bXe9iU pRchtNYlWaGrlKEupSIaKYmC8LY1YNfMgzdv4rRqs3bH+YsbHvf36VH7Jj6C0qa2ldsD 3bAQ== X-Gm-Message-State: AOAM530cNtRTvb8cLjiKJTECao10MuBG4Zn47YO8mfCq+MYxpyeon+Uo Kjc1sijFIlDNWLHSXeWHmKbbhs9ANwKF3gAAFKY= X-Google-Smtp-Source: ABdhPJxlvJdF4UoD748FtoM788cYqN0PtrrASguUX4ABCNIRJqKSMCUkISsa4DR/dUzbF6VxEulZizgzBZ61orWAQgQ= X-Received: by 2002:a54:4401:: with SMTP id k1mr3786836oiw.25.1633801440678; Sat, 09 Oct 2021 10:44:00 -0700 (PDT) MIME-Version: 1.0 References: <878rz52kl8.fsf@tcd.ie> In-Reply-To: From: Philipp Stephani Date: Sat, 9 Oct 2021 19:43:49 +0200 Message-ID: Subject: Re: bug#51073: 28.0.60; SIGSYS in emacs-tests/bwrap/allows-stdout To: "Basil L. Contovounesios" Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 51073 Cc: 51073@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.8 (/) Am Sa., 9. Okt. 2021 um 19:25 Uhr schrieb Philipp Stephani : > > Am Do., 7. Okt. 2021 um 12:32 Uhr schrieb Basil L. Contovounesios > : > > > > Running 'make test/emacs-tests' fails with status code 159 (where > > 159 = 128 + 31 and 31 = SIGSYS); see the attached compilation log. > > > > Running 'sudo journalctl -g SECCOMP' includes the following: > > > > Oct 07 10:48:19 tia audit[2156]: SECCOMP auid=1000 uid=1000 gid=1000 > > ses=2 subj==unconfined pid=2156 comm="emacs" > > exe="/home/blc/.local/src/emacs-28/src/emacs" sig=31 arch=c000003e > > syscall=157 compat=0 ip=0x7ff4f975629d code=0x80000000 > > > > Oct 07 10:48:20 tia audit[2171]: SECCOMP auid=1000 uid=1000 gid=1000 > > ses=2 subj==unconfined pid=2171 comm="emacs" > > exe="/home/blc/.local/src/emacs-28/src/emacs" sig=31 arch=c000003e > > syscall=257 compat=0 ip=0x7ff14b807823 code=0x80000000 > > > > AFAICT syscalls 157 and 257 correspond to prctl and openat, > > respectively, and __GI___prctl is mentioned in the attached coredumpctl > > stack trace. This is confirmed by the ausearch ert-info if I run > > 'sudo make test/emacs-tests' (because ausearch is in my sbin): > > Thanks, from the stacktrace I guess the unknown syscall invocation > comes from https://git.kernel.org/pub/scm/libs/libcap/libcap.git/tree/libcap/cap_proc.c?id=d07df10aaa02cf8cfe8047610d2f56dc0be68f1e#n272. > I'll look around a bit whether we should allow or reject that > combination. I've pushed a new rule to emacs-28 (commit b497add971). At least for me that fixes the test. Does it work for you as well? From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 11 16:39:24 2021 Received: (at 51073) by debbugs.gnu.org; 11 Oct 2021 20:39:24 +0000 Received: from localhost ([127.0.0.1]:32798 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ma24y-0003vL-1I for submit@debbugs.gnu.org; Mon, 11 Oct 2021 16:39:24 -0400 Received: from mail-wr1-f48.google.com ([209.85.221.48]:36522) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ma24v-0003v2-Ga for 51073@debbugs.gnu.org; Mon, 11 Oct 2021 16:39:23 -0400 Received: by mail-wr1-f48.google.com with SMTP id o20so59755079wro.3 for <51073@debbugs.gnu.org>; Mon, 11 Oct 2021 13:39:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tcd.ie; s=google21; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=j0eMXETFTHsjKBKtBM3nATI3uJ4csqcdu7QKbPRvpjA=; b=YHIgdfDwwyThCnZbLGWWh0mjdofweSxIOwclV3JDDUs0zf8CfUYpkyqgegiLL3RN/i vk3eh/+Ce1BXcdxmxfXfAR3wbxtGuecn8Es75MRqnd5yQ3mMc/JLRjNOk8MvIEcRKLWC JlWEjjOMoYV5HEdD5UvwKXGzLPtGSquobAgoR4gWNAjYQGiYCcoWI0PshG4O38J8/IoA hHzkV0wRssWpCDioBliw/h8dpZaIoy7MXU8zcCDIqG6K+jR3whas8tfUAOpZFJoMpaN1 7SL6nMRU1lwZkotoj5whiqbxt7UN1vtF75HYJXPo43GOZ1+uT5rXMS2RzmLE56tYnEB/ z1QQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=j0eMXETFTHsjKBKtBM3nATI3uJ4csqcdu7QKbPRvpjA=; b=njqGP26QHijcU4czhYaZFUxj9P+b9o1+0JZYbEvBblpNzaW4ucjwkTmIbAHDWYJXKg Cj7fyOj7HLULumXN1vTI8ai3VmwcTX1PS9NoSHEUk++0cjWAyU3koYSFHMF/7SPb0Jjt nsJQNG/5lxTNtqOlbXeB/vZTnABD7mso998I6FnpKzZWDz6JyXNT1JcmkJ1wwqz+LeFw lVFqit9ZTaur8IWDvtdYwL4kPjBiDl2KCZC6LJHdS/Ke76dEcjoacnMhWV6ZREaWP8Ij TUrD4iQ89/b8ZMwu5ErNVyiEURo5mv52dfghFEugcuW7AtvzHkHTepVuYpTqvAQDz1C7 3/JQ== X-Gm-Message-State: AOAM531MF4FXrK8605n9mkk3ccohPOkpSuWPNw4NrJX6qagRCIL9ZI4h mJPc2TZvyUisLBmuwsmFvhnEuQ== X-Google-Smtp-Source: ABdhPJwIQ6m19MmTdoq7ep+ZFrUUCC27Ffg/dkD+aNv4yh3Q+mnwmyFQfVUjnvlBGXiclWEEG1ZiQw== X-Received: by 2002:a5d:6b88:: with SMTP id n8mr10281688wrx.332.1633984755750; Mon, 11 Oct 2021 13:39:15 -0700 (PDT) Received: from localhost ([2a02:8084:20e2:c380:f410:82e8:3a21:eedf]) by smtp.gmail.com with ESMTPSA id w2sm3453648wrt.31.2021.10.11.13.39.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Oct 2021 13:39:15 -0700 (PDT) From: "Basil L. Contovounesios" To: Philipp Stephani Subject: Re: bug#51073: 28.0.60; SIGSYS in emacs-tests/bwrap/allows-stdout References: <878rz52kl8.fsf@tcd.ie> Date: Mon, 11 Oct 2021 21:39:13 +0100 In-Reply-To: (Philipp Stephani's message of "Sat, 9 Oct 2021 19:43:49 +0200") Message-ID: <87a6jfnvny.fsf@tcd.ie> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 51073 Cc: 51073@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) close 51073 28.1 quit Philipp Stephani [2021-10-09 19:43 +0200] wrote: > I've pushed a new rule to emacs-28 (commit b497add971). At least for > me that fixes the test. Does it work for you as well? Yes, works fine here. Thanks! -- Basil From unknown Sat Aug 16 10:42:57 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 09 Nov 2021 12:24:09 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 21 08:55:29 2022 Received: (at control) by debbugs.gnu.org; 21 Jan 2022 13:55:29 +0000 Received: from localhost ([127.0.0.1]:60768 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nAuO0-00028k-QO for submit@debbugs.gnu.org; Fri, 21 Jan 2022 08:55:29 -0500 Received: from mail-ej1-f48.google.com ([209.85.218.48]:33533) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nAuNv-00028S-GK for control@debbugs.gnu.org; Fri, 21 Jan 2022 08:55:27 -0500 Received: by mail-ej1-f48.google.com with SMTP id jx6so363032ejb.0 for ; Fri, 21 Jan 2022 05:55:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tcd.ie; s=google21; h=from:to:subject:date:message-id:mime-version; bh=OSn+BNOkvVDP/pQeX2QYbWWu+yMChflT+bex9CIqjIA=; b=aQ24Nvze/et/Koe53xftrHUTaYL5jN0BIGRvyLl3iXNb92RCLdypWw02U8P9ObZPiA dklFxxOQE1Z+vTCowFCKCFnytugmP+7WX2gbjMRfAWtJeUaQbC8mGhf67tYiJ1hAll0o PPhxjwCX58xKGyFua1HrGYNannz7aq/3QgHjJfZ9VqGZIghQvIAByHYmP9ekZKUjH5hZ Wcgvwf/jLmg2iK8Ap9MwMGsst4aV5wnyssfVPQbzBPQ/qezt2CAkXroXltmxeym+rrWm kcBk601ZcSw7+moUWwCWiyjaPBFH/NMoyPgTeNRYQGjjTYVbRdn7dTS2SOZyIta6xEBc ZdqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=OSn+BNOkvVDP/pQeX2QYbWWu+yMChflT+bex9CIqjIA=; b=SQvw45/t4sfdiyR8y62nSv96XNBaVJBYS856j4bQ4eg+Hs+ZZBN1NG9/5HIZbcDDd8 dQ//p2khGpzJj2hD1Cd3knsDZqoJ+5qFrx9Xg1hK22bi227U2671FNdwHqX7aJoieCDB fj4FqR9LCFyvqOwvPfXfeoS0q7W26ecmEpPFXzthyUeqk6mHXB18VL9jjAw7bMFRDy6V osSV4z7vU1zyO7CrqipJUR0bjy316XzmlT3pma/sGO9G75TXaQvHn1TRTW0uVmab8pSq vqpa6uc/IAxE0k/m0B00Axh0UcflhpsHHpfcss/aK1xBkshcPzB9Z/CJIo5r1Zw6TicV KEUg== X-Gm-Message-State: AOAM533X02u3juWb4bRsTJpGPAGckqqXApUhsf9jP/0lAoYAj3NJwtDm n1kc9tg9x7i4t21GJT5aKhs+lj91rofIJQ== X-Google-Smtp-Source: ABdhPJwOxKZu/Lzf6U/s8RPEN+fNTpzCxb9ehM4v4Ha7GDvNeR39VXUKBpP2Aw2cH5MLOYI6GN9Ftw== X-Received: by 2002:a17:907:7244:: with SMTP id ds4mr3435813ejc.260.1642773317286; Fri, 21 Jan 2022 05:55:17 -0800 (PST) Received: from localhost (adsl-101.91.140.88.tellas.gr. [91.140.88.101]) by smtp.gmail.com with ESMTPSA id p11sm2659150eds.38.2022.01.21.05.55.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Jan 2022 05:55:16 -0800 (PST) From: "Basil L. Contovounesios" To: control@debbugs.gnu.org Subject: control message for bug #51073 Date: Fri, 21 Jan 2022 15:55:15 +0200 Message-ID: <87fsphw5vg.fsf@tcd.ie> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) unarchive 51073 quit From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 21 09:14:17 2022 Received: (at 51073) by debbugs.gnu.org; 21 Jan 2022 14:14:17 +0000 Received: from localhost ([127.0.0.1]:60796 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nAugB-0004s5-74 for submit@debbugs.gnu.org; Fri, 21 Jan 2022 09:14:17 -0500 Received: from mail-ej1-f45.google.com ([209.85.218.45]:42747) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nAug7-0004rq-QP for 51073@debbugs.gnu.org; Fri, 21 Jan 2022 09:14:14 -0500 Received: by mail-ej1-f45.google.com with SMTP id m4so501068ejb.9 for <51073@debbugs.gnu.org>; Fri, 21 Jan 2022 06:14:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tcd.ie; s=google21; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=ZUSvucds98ro+sllOVsnWWGiLzPZ2JuKQxXjLqe1DJs=; b=OPqndsOrr8TAGdC0MxYPZCSZrcfl2dyV/3wOZY2V9vfVP3bD/PZIrBbd7LBV3Nt+h4 +120DqInfcOa0tXVzSkzRnWYgMBff5vr0M2zy0aH019CidddDnQSJAZ0v2uFBw4vKXvJ 6ZFcWbtknmznqv7Vp2nxAZT+hWPsGDpyN3kqzdWv99UNd5Wocg7oSLwF13YPEFsLOVQ4 b1CVZrWon0tC2wui3G9L6YWjXYwVTqosX/7lRjYXUmW8TwVVpnpvKkXwP63rqYyO4mU/ Qvx6cjIPnWzVUd7eeWXEzlp9KF3or5hWs3n7ZPEE3MGa7UA27MPrF5ioGqvVBpL0jHgo FRcw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=ZUSvucds98ro+sllOVsnWWGiLzPZ2JuKQxXjLqe1DJs=; b=0221vCSFxPGbzjjikJN046PlNItEdSHebO7uO7ztqThLPoenuRNpu8UHkcIfCY0oy4 EnapI7NVDPimuypXWtNrO09wHcg41tlcUGwKnhRIDIrP5Z55psvBZHkakTgAhguoiubk pZkggBg33+B06SsxRq6/AZfOPh+hZ2QGXarCQVP9+wde5MAIYO0ug3/Yoc4A/LgbSGhI zK/k5UfPctSUmfpuo8eCZavA2n9HLTupUbMonpXItJ2CsU/AunuNccmeVDzL5gROms3Q wCMfjiXlE8ueSrBPBPoHkHgTt5k9s8AMiuAxyhd+LrgpaQvcDSRe0XWRaLesH1aQam7/ nwmQ== X-Gm-Message-State: AOAM530mb13WRyy8riJ5oZYzrCEi9T98wbpXk7nPzmQYJMV+LdBYJ1sH KQi2hXnvxGPR6eL8sS7RhWLT3A== X-Google-Smtp-Source: ABdhPJxkin1EZO64/KpR8qV6cSWPmNUX3hIjqkNhX5wrAXej5wDqykyPTH9R7WwUd5ZOhkyfS7pX2A== X-Received: by 2002:a17:906:f01:: with SMTP id z1mr3490206eji.346.1642774446034; Fri, 21 Jan 2022 06:14:06 -0800 (PST) Received: from localhost (adsl-101.91.140.88.tellas.gr. [91.140.88.101]) by smtp.gmail.com with ESMTPSA id t15sm2107801eju.1.2022.01.21.06.14.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Jan 2022 06:14:04 -0800 (PST) From: "Basil L. Contovounesios" To: Philipp Stephani Subject: Re: bug#51073: 28.0.60; SIGSYS in emacs-tests/bwrap/allows-stdout References: <878rz52kl8.fsf@tcd.ie> <87a6jfnvny.fsf@tcd.ie> Date: Fri, 21 Jan 2022 16:14:01 +0200 In-Reply-To: <87a6jfnvny.fsf@tcd.ie> (Basil L. Contovounesios's message of "Mon, 11 Oct 2021 21:39:13 +0100") Message-ID: <87y239uqfq.fsf@tcd.ie> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 51073 Cc: 51073@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain Basil L. Contovounesios [2021-10-11 21:39 +0100] wrote: > close 51073 28.1 > quit > > Philipp Stephani [2021-10-09 19:43 +0200] wrote: > >> I've pushed a new rule to emacs-28 (commit b497add971). At least for >> me that fixes the test. Does it work for you as well? > > Yes, works fine here. Thanks! After a several month hiatus from Emacs development, I'm now getting two SIGSYS failures in 'make test/emacs-tests' again on both emacs-28 and master (ERT backtraces and configuration info follow my signature). This time, 'sudo journalctl -g SECCOMP' mentions the following: Jan 21 15:47:02 tia audit[138481]: SECCOMP auid=1000 uid=1000 gid=1000 ses=2 subj==unconfined pid=138481 comm="emacs" exe="/home/blc/.local/src/emacs-nox/src/emacs" sig=31 arch=c000003e syscall=17 compat=0 ip=0x7fd745f3714a code=0x80000000 Jan 21 15:47:03 tia audit[138493]: SECCOMP auid=1000 uid=1000 gid=1000 ses=2 subj==unconfined pid=138493 comm="emacs" exe="/home/blc/.local/src/emacs-nox/src/emacs" sig=31 arch=c000003e syscall=439 compat=0 ip=0x7f46e8c30fc0 code=0x80000000 where AFAICT syscalls 17 and 439 correspond to pread64 and faccessat2, respectively. This is again confirmed by the ausearch ert-info when I run 'sudo make test/emacs-tests': Potentially relevant Seccomp audit events: ---- type=SECCOMP msg=audit(01/21/22 16:07:33.250:1144) : auid=blc uid=root gid=root ses=2 subj==unconfined pid=139780 comm=emacs exe=/home/blc/.local/src/emacs-nox/src/emacs sig=SIGSYS arch=x86_64 syscall=pread compat=0 ip=0x7fe7ba15c14a code=kill Potentially relevant Seccomp audit events: ---- type=SECCOMP msg=audit(01/21/22 16:07:33.250:1144) : auid=blc uid=root gid=root ses=2 subj==unconfined pid=139780 comm=emacs exe=/home/blc/.local/src/emacs-nox/src/emacs sig=SIGSYS arch=x86_64 syscall=pread compat=0 ip=0x7fe7ba15c14a code=kill ---- type=SECCOMP msg=audit(01/21/22 16:07:33.646:1154) : auid=blc uid=root gid=root ses=2 subj==unconfined pid=139795 comm=emacs exe=/home/blc/.local/src/emacs-nox/src/emacs sig=SIGSYS arch=x86_64 syscall=faccessat2 compat=0 ip=0x7f610b2dffc0 code=kill In contrast to the OP, I am now on Linux 5.15.0-2 and glibc 2.33-2. HTH. As always, let me know if you'd like me to test anything. Thanks, -- Basil --=-=-= Content-Type: text/plain Content-Disposition: attachment; filename=emacs-28.log Content-Description: Emacs 28 backtrace -*- mode: compilation; default-directory: "~/.local/src/emacs-28/" -*- Compilation started at Fri Jan 21 15:46:35 make test/emacs-tests make -C test emacs-tests make[1]: Entering directory '/home/blc/.local/src/emacs-28/test' make[2]: Entering directory '/home/blc/.local/src/emacs-28/test' GEN src/emacs-tests.log Running 7 tests (2022-01-21 15:46:36+0200, selector `(not (or (tag :unstable) (tag :nativecomp)))') Test emacs-tests/bwrap/allows-stdout backtrace: signal(ert-test-failed (((should (eql status 0)) :form (eql 159 0) : ert-fail(((should (eql status 0)) :form (eql 159 0) :value nil)) (if (unwind-protect (setq value-166 (apply fn-164 args-165)) (setq f (let (form-description-168) (if (unwind-protect (setq value-166 (app (let ((value-166 'ert-form-evaluation-aborted-167)) (let (form-descr (let* ((fn-164 #'eql) (args-165 (condition-case err (let ((signal-ho (let ((ert--infos (cons (cons "Info: " (emacs-tests--seccomp-debug s (let* ((command (concat (mapconcat #'shell-quote-argument (list (fil (progn (let* ((command (concat (mapconcat #'shell-quote-argument (li (unwind-protect (progn (let* ((command (concat (mapconcat #'shell-qu (save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn (let ((temp-buffer (generate-new-buffer " *temp*" t))) (save-current (let ((bash (executable-find "bash")) (bwrap (executable-find "bwrap (let ((lexical-binding t)) (let ((bash (executable-find "bash")) (bw (closure (t) nil (let ((lexical-binding t)) (let ((bash (executable- ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test ert-run-test(#s(ert-test :name emacs-tests/bwrap/allows-stdout :docu ert-run-or-rerun-test(#s(ert--stats :selector ... :tests ... :test-m ert-run-tests((not (or (tag :unstable) (tag :nativecomp))) #f(compil ert-run-tests-batch((not (or (tag :unstable) (tag :nativecomp)))) ert-run-tests-batch-and-exit((not (or (tag :unstable) (tag :nativeco eval((ert-run-tests-batch-and-exit '(not (or (tag :unstable) (tag :n command-line-1(("-L" ":." "-L" "./../../elpa/packages/url-http-ntlm/ command-line() normal-top-level() Test emacs-tests/bwrap/allows-stdout condition: Info: Process output: Potentially useful coredump information: PID: 138373 (emacs) UID: 1000 (blc) GID: 1000 (blc) Signal: 31 (SYS) Timestamp: Fri 2022-01-21 15:46:36 EET (703ms ago) Command Line: /home/blc/.local/src/emacs-28/src/emacs --quick --batch $'--eval=(message "Hi")' Executable: /home/blc/.local/src/emacs-28/src/emacs Control Group: /user.slice/user-1000.slice/session-2.scope Unit: session-2.scope Slice: user-1000.slice Session: 2 Owner UID: 1000 (blc) Boot ID: cfc15e16c869496f947935e197ac1d35 Machine ID: 1eaf00d04e87431584dd7dfc9cf6503c Hostname: tia Storage: /var/lib/systemd/coredump/core.emacs.1000.cfc15e16c869496f947935e197ac1d35.138373.1642772796000000.zst (present) Disk Size: 281.5K Message: Process 138373 (emacs) of user 1000 dumped core. Module /home/blc/.local/src/emacs-28/src/emacs with build-id 65e1e7e9bd31449a83b39d5ed19a12ffb1656ab3 Module linux-vdso.so.1 with build-id aa90d45bcd5e2f2cf6d3f271448c0055aab0c829 Module libgnutls.so.30 with build-id 247925d267be23194b9df36f6addb507fa2f7f62 Module libm17n-flt.so.0 with build-id 6a6832234e0d13b26a32fa8b9f0fc55df0163999 Module libm17n-core.so.0 with build-id c2c9576b73501921568e41b997c2397ed33eb7e2 Module libotf.so.1 with build-id 01f83610c060379c362910a50e23ef9b12c8f3a6 Module libharfbuzz.so.0 with build-id 6b736b6b0eabdbf3695daa6e47fb307e37b32257 Module libfontconfig.so.1 with build-id 1bd18664723dc4edd8024f18ef7d7a4c9efac13c Module libfreetype.so.6 with build-id c4f0ab5bb10190a8dc5d3c30ce89ce559c86ec08 Module libselinux.so.1 with build-id 7e68f414b47b91fda0d3a6ace5dea9359c7c387a Module libtinfo.so.6 with build-id b7eb22141b4a38e77529f10c214e595a86a32ffe Module libgpm.so.2 with build-id 6c19037d8cbbd965b5e31229c418f9f33b7a805f Module libxml2.so.2 with build-id db165ce4bbfed3b850a37eeedb0df28cc7a3aa4f Module libXfixes.so.3 with build-id 8693a78eff828f8ebf1252f87a5c15c5e52a7a07 Module libXinerama.so.1 with build-id 92633a2a5e638660e8ab5cf50007097edebd92f8 Module libXrandr.so.2 with build-id ca928c460da471e9d04078cbbf03b0cb5e2bd0fa Module libdbus-1.so.3 with build-id 0bcae537f1ca366889959f54793945dd2448f9b3 Module librt.so.1 with build-id 97ac793ccf0fc1496543704f9b0a2ca4e99abf0f Module libacl.so.1 with build-id 10f984c014a2f7b28613cd44a98cf1d2e4a5eb24 Module libcairo.so.2 with build-id b499c2ec70f39d8ef29d243c24a19fb7a9c247e8 Module libglib-2.0.so.0 with build-id b430f289010a80bffaaf00e9d4721155f45e8770 Module libgobject-2.0.so.0 with build-id 848df64b2a14b503390bc3c567d42a8dc1f6a031 Module libgdk_pixbuf-2.0.so.0 with build-id b7bc45d4f3a4b964c90da34f694a68234842ed76 Module libgio-2.0.so.0 with build-id e01ae4567793f2c94b5215e98bccb2ae32ba69d0 Module libm.so.6 with build-id 3950a8ba3d1bac563776c5596661b24af5e355f0 Module librsvg-2.so.2 with build-id 43d06b42d8e503a959248c1df50fff3a3808eb18 Module libasound.so.2 with build-id 78de024a6e2fa10ee5a2be8358242e5b4dae38f6 Module libXrender.so.1 with build-id 3c82fad2a57018456f55682e6fc74198cbeefb48 Module libX11.so.6 with build-id a09061532c97720598e0677bc1887a770152b14d Module libXext.so.6 with build-id 94abf5af6ebe825ecf64f717b6a62d07727af979 Module libICE.so.6 with build-id 6a0429d9840edac7a76507600758dfad21dbae99 Module libSM.so.6 with build-id 934950c93be01703ce94d26738d1f9aa1f7a9096 Module libXt.so.6 with build-id 0254f879fa3ead5852bf2b3e486c9c8f8ff4e548 Module libXmu.so.6 with build-id 2c688e4dbdd8c49f1de00d3836bb47bd5862b16b Module libXaw3d.so.6 with build-id 6fda728c42c55e0191091b66601f081967e55aa4 Module libXpm.so.4 with build-id 1f2dd817d18808f7122857a252faa77d6ed56109 Module libgif.so.7 with build-id e6c4c3292fd4c9e42f712efbd366a25830e2ca5e Module libz.so.1 with build-id 70a770d9b600208bb51e5f4d6a3bf4e344d13478 Module libpng16.so.16 with build-id c88c5ba10be0bb164283235efa1ab0b6e2c90c62 Module libjpeg.so.62 with build-id 368d652b25bccafcf6ab3c9c6381d07fb8393803 Module libtiff.so.5 with build-id 66a0f2fbbaec0726051406be218aedf8f1bfeac0 Module ld-linux-x86-64.so.2 with build-id b1133999bbb1801a832010378ae667737cad3131 Stack trace of thread 138373: #0 0x00007f4e50c5c14a __GI___pread64_nocancel (ld-linux-x86-64.so.2 + 0x2014a) #1 0x00007f4e50c42a04 open_verify (ld-linux-x86-64.so.2 + 0x6a04) #2 0x00007f4e50c45f11 _dl_map_object (ld-linux-x86-64.so.2 + 0x9f11) #3 0x00007f4e50c4a4b1 openaux (ld-linux-x86-64.so.2 + 0xe4b1) #4 0x00007f4e50c58fe6 _dl_catch_exception (ld-linux-x86-64.so.2 + 0x1cfe6) #5 0x00007f4e50c4a839 _dl_map_object_deps (ld-linux-x86-64.so.2 + 0xe839) #6 0x00007f4e50c40114 dl_main (ld-linux-x86-64.so.2 + 0x4114) #7 0x00007f4e50c5800f _dl_sysdep_start (ld-linux-x86-64.so.2 + 0x1c00f) #8 0x00007f4e50c3dffb _dl_start_final (ld-linux-x86-64.so.2 + 0x1ffb) #9 0x00007f4e50c3d058 _start (ld-linux-x86-64.so.2 + 0x1058) ELF object binary architecture: AMD x86-64 (ert-test-failed ((should (eql status 0)) :form (eql 159 0) :value nil)) FAILED 1/7 emacs-tests/bwrap/allows-stdout (0.146127 sec) passed 2/7 emacs-tests/seccomp/absent-file (0.022353 sec) Test emacs-tests/seccomp/allows-stdout backtrace: signal(ert-test-failed (((should (eql status 0)) :form (eql "Bad sys ert-fail(((should (eql status 0)) :form (eql "Bad system call" 0) :v (if (unwind-protect (setq value-102 (apply fn-100 args-101)) (setq f (let (form-description-104) (if (unwind-protect (setq value-102 (app (let ((value-102 'ert-form-evaluation-aborted-103)) (let (form-descr (let* ((fn-100 #'eql) (args-101 (condition-case err (let ((signal-ho (let ((ert--infos (cons (cons "Info: " (emacs-tests--seccomp-debug s (let ((start-time (current-time)) (status (call-process emacs nil t (progn (let ((start-time (current-time)) (status (call-process emacs (unwind-protect (progn (let ((start-time (current-time)) (status (ca (save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn (let ((temp-buffer (generate-new-buffer " *temp*" t))) (save-current (let ((emacs (expand-file-name invocation-name invocation-directory) (let ((lexical-binding t)) (let* ((fn-80 #'string-match-p) (args-81 (closure (t) nil (let ((lexical-binding t)) (let* ((fn-80 #'string-m ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test ert-run-test(#s(ert-test :name emacs-tests/seccomp/allows-stdout :do ert-run-or-rerun-test(#s(ert--stats :selector ... :tests ... :test-m ert-run-tests((not (or (tag :unstable) (tag :nativecomp))) #f(compil ert-run-tests-batch((not (or (tag :unstable) (tag :nativecomp)))) ert-run-tests-batch-and-exit((not (or (tag :unstable) (tag :nativeco eval((ert-run-tests-batch-and-exit '(not (or (tag :unstable) (tag :n command-line-1(("-L" ":." "-L" "./../../elpa/packages/url-http-ntlm/ command-line() normal-top-level() Test emacs-tests/seccomp/allows-stdout condition: Info: Process output: Potentially useful coredump information: PID: 138387 (emacs) UID: 1000 (blc) GID: 1000 (blc) Signal: 31 (SYS) Timestamp: Fri 2022-01-21 15:46:37 EET (1s ago) Command Line: /home/blc/.local/src/emacs-28/src/emacs --quick --batch --seccomp=/home/blc/.local/src/emacs-28/lib-src/seccomp-filter.bpf $'--eval=(message "Hi")' Executable: /home/blc/.local/src/emacs-28/src/emacs Control Group: /user.slice/user-1000.slice/session-2.scope Unit: session-2.scope Slice: user-1000.slice Session: 2 Owner UID: 1000 (blc) Boot ID: cfc15e16c869496f947935e197ac1d35 Machine ID: 1eaf00d04e87431584dd7dfc9cf6503c Hostname: tia Storage: /var/lib/systemd/coredump/core.emacs.1000.cfc15e16c869496f947935e197ac1d35.138387.1642772797000000.zst (present) Disk Size: 3.8M Message: Process 138387 (emacs) of user 1000 dumped core. Module /home/blc/.local/src/emacs-28/src/emacs with build-id 65e1e7e9bd31449a83b39d5ed19a12ffb1656ab3 Module linux-vdso.so.1 with build-id aa90d45bcd5e2f2cf6d3f271448c0055aab0c829 Module libgpg-error.so.0 with build-id eea2c65f72557657fcfb8c016afd591f3a4774f8 Module libdatrie.so.1 with build-id bdb764243ae69f6faa37d6b969fbbe46cd5476f1 Module libbrotlicommon.so.1 with build-id fada538d826fde21948d90f431ccc24714aa4eba Module libstdc++.so.6 with build-id 4d0895e7f15babd579e783cf9038c192b3ccd636 Module libicudata.so.67 with build-id 2421572a83e89276615b173445a81cc1b7db8852 Module libblkid.so.1 with build-id c3753875c55340b0cd5bbbaffa0d7d0c2aeb0b9c Module libfribidi.so.0 with build-id 9c6f0821078772cf1145ffabbe820f09b81bb9f5 Module libpangoft2-1.0.so.0 with build-id bdd941c30dc65428f68fe769af55a84aa09e032e Module libXdmcp.so.6 with build-id 1d12a8566670c95b1b02e341400060d2d825aade Module libXau.so.6 with build-id 84ffa90fee1b716cdc7d8349be47ed6ca4761b75 Module libmd.so.0 with build-id 9180a9ac40a53c9e3ab884bf56af7590afce48d1 Module libgcrypt.so.20 with build-id 2b1168fb43bab927604522f1cb49b48ed81e3adf Module libcap.so.2 with build-id a6034f7fc277ee9d9714c2b288b419498225156f Module liblz4.so.1 with build-id 964039e18af4b59e5a11f4ad26e9aa5e6a2d5db7 Module libhogweed.so.6 with build-id bc104618645979735399d88df5bb3b1a81753238 Module libnettle.so.8 with build-id a0fd01631c795d4955e5f6bef9f7e0367b20d13b Module libtasn1.so.6 with build-id b4bb5ce72e9b65bdfa6d6e38b20bae371d4de7f8 Module libunistring.so.2 with build-id 7169b2ba43b08661361637d65d422e83195ba9a7 Module libidn2.so.0 with build-id bd200ecd24a4ee730feb183ba94c68635fa73479 Module libp11-kit.so.0 with build-id 25d757d1ddf5f3151f277ce5ed9c4d5359e830da Module libthai.so.0 with build-id 11b774e6b958fa6734f1a721527e1596e34ecd00 Module libgraphite2.so.3 with build-id 5b00ca1eda239ea043d7eae3b0fd4481560a907e Module libexpat.so.1 with build-id 77beed573fc9f3deb6c26a094f8a6d4fbf053fe9 Module libbrotlidec.so.1 with build-id 3c50647c3773c7ffb9efbee43ff29b1575ee9482 Module libpcre2-8.so.0 with build-id d52256f3e58205a5c35ee7e6212a575117fe241e Module libicuuc.so.67 with build-id f871bbd529a02abd860f0d16b842b5b20234cb49 Module libxcb-render.so.0 with build-id e9434da5c1dbed7326e682f20dd1f90b51ba45c9 Module libxcb-shm.so.0 with build-id fe3f2befc67b81cf285d9be50754974663140374 Module libpixman-1.so.0 with build-id 2ba0d88f718a0fef93d759cfc90bc650cdee38ba Module libpcre.so.3 with build-id 665f1b80589ca7b4d7f106afafd6be3b3e17706b Module libffi.so.8 with build-id 4ce8e5d8874d0c5201af22cf5ee1d521dba67a9f Module libresolv.so.2 with build-id 19df48b181808b14077586d5ffddb1dc99639f72 Module libmount.so.1 with build-id 95485dc110937d19a4690791d258ca6eb3895368 Module libgmodule-2.0.so.0 with build-id 42d59f2bdb57c46452f6c48a09e81c07ecd95054 Module libgcc_s.so.1 with build-id 41054ed4594f0c8aea9a68114ae5999f4838fd4c Module libpango-1.0.so.0 with build-id 5fce6678f137715b93c1b8245bd1f421dfe5027b Module libpangocairo-1.0.so.0 with build-id 96f7abb19727a7f133f8ed8fb4bf23ca4dfe943c Module libcairo-gobject.so.2 with build-id 08412c2e1dfbe87ce10f035b54a3bef219d18aed Module ld-linux-x86-64.so.2 with build-id b1133999bbb1801a832010378ae667737cad3131 Module libxcb.so.1 with build-id a138edb4064781bf37428e898f4842427ded3404 Module libbsd.so.0 with build-id b04359610c861c7526a6e6c03b4500cd718116e3 Module libuuid.so.1 with build-id 861b56b1752b6a306991ca2e23a3e426edfea5e2 Module libdeflate.so.0 with build-id 7657fd4f079facefab8befbca6332e63b737dcd7 Module libjbig.so.0 with build-id 22813d3e92e574d81165b92701d721fbe4c1861e Module liblzma.so.5 with build-id 5d67991a152e0b62f982a0e4110cc2262850c788 Module libzstd.so.1 with build-id 57509eed80c587b9ef77d3d1234e969b98448664 Module libwebp.so.6 with build-id e8ec53bc33884e4e57a9a2e0607d01835ba69757 Module libc.so.6 with build-id 7d74053de4b1acdbbc139fd54deaaa32b3b38655 Module libgmp.so.10 with build-id f202d7d8f2feb4d57422b59085c4049caef2f9c8 Module libjansson.so.4 with build-id 39992d77fcaddf7c681c609609f182de739d3b72 Module libsystemd.so.0 with build-id 98ab74e63eb9c4d482a7db9a1408ddcdcddba003 Module libdl.so.2 with build-id 23b03cb94c34544ed3b222db64fe7b24cfd73fa1 Module liblcms2.so.2 with build-id 255030645c8534451e939cfd515f914c92281fd1 Module libanl.so.1 with build-id 3c49dd1120d2128804405921ba18f8b879f0392f Module libpthread.so.0 with build-id 54322f9a621b22e9ea3a4a96b6692f7a0f931b2d Module libgnutls.so.30 with build-id 247925d267be23194b9df36f6addb507fa2f7f62 Module libm17n-flt.so.0 with build-id 6a6832234e0d13b26a32fa8b9f0fc55df0163999 Module libm17n-core.so.0 with build-id c2c9576b73501921568e41b997c2397ed33eb7e2 Module libotf.so.1 with build-id 01f83610c060379c362910a50e23ef9b12c8f3a6 Module libharfbuzz.so.0 with build-id 6b736b6b0eabdbf3695daa6e47fb307e37b32257 Module libfontconfig.so.1 with build-id 1bd18664723dc4edd8024f18ef7d7a4c9efac13c Module libfreetype.so.6 with build-id c4f0ab5bb10190a8dc5d3c30ce89ce559c86ec08 Module libselinux.so.1 with build-id 7e68f414b47b91fda0d3a6ace5dea9359c7c387a Module libtinfo.so.6 with build-id b7eb22141b4a38e77529f10c214e595a86a32ffe Module libgpm.so.2 with build-id 6c19037d8cbbd965b5e31229c418f9f33b7a805f Module libxml2.so.2 with build-id db165ce4bbfed3b850a37eeedb0df28cc7a3aa4f Module libXfixes.so.3 with build-id 8693a78eff828f8ebf1252f87a5c15c5e52a7a07 Module libXinerama.so.1 with build-id 92633a2a5e638660e8ab5cf50007097edebd92f8 Module libXrandr.so.2 with build-id ca928c460da471e9d04078cbbf03b0cb5e2bd0fa Module libdbus-1.so.3 with build-id 0bcae537f1ca366889959f54793945dd2448f9b3 Module librt.so.1 with build-id 97ac793ccf0fc1496543704f9b0a2ca4e99abf0f Module libacl.so.1 with build-id 10f984c014a2f7b28613cd44a98cf1d2e4a5eb24 Module libcairo.so.2 with build-id b499c2ec70f39d8ef29d243c24a19fb7a9c247e8 Module libglib-2.0.so.0 with build-id b430f289010a80bffaaf00e9d4721155f45e8770 Module libgobject-2.0.so.0 with build-id 848df64b2a14b503390bc3c567d42a8dc1f6a031 Module libgdk_pixbuf-2.0.so.0 with build-id b7bc45d4f3a4b964c90da34f694a68234842ed76 Module libgio-2.0.so.0 with build-id e01ae4567793f2c94b5215e98bccb2ae32ba69d0 Module libm.so.6 with build-id 3950a8ba3d1bac563776c5596661b24af5e355f0 Module librsvg-2.so.2 with build-id 43d06b42d8e503a959248c1df50fff3a3808eb18 Module libasound.so.2 with build-id 78de024a6e2fa10ee5a2be8358242e5b4dae38f6 Module libXrender.so.1 with build-id 3c82fad2a57018456f55682e6fc74198cbeefb48 Module libX11.so.6 with build-id a09061532c97720598e0677bc1887a770152b14d Module libXext.so.6 with build-id 94abf5af6ebe825ecf64f717b6a62d07727af979 Module libICE.so.6 with build-id 6a0429d9840edac7a76507600758dfad21dbae99 Module libSM.so.6 with build-id 934950c93be01703ce94d26738d1f9aa1f7a9096 Module libXt.so.6 with build-id 0254f879fa3ead5852bf2b3e486c9c8f8ff4e548 Module libXmu.so.6 with build-id 2c688e4dbdd8c49f1de00d3836bb47bd5862b16b Module libXaw3d.so.6 with build-id 6fda728c42c55e0191091b66601f081967e55aa4 Module libXpm.so.4 with build-id 1f2dd817d18808f7122857a252faa77d6ed56109 Module libgif.so.7 with build-id e6c4c3292fd4c9e42f712efbd366a25830e2ca5e Module libz.so.1 with build-id 70a770d9b600208bb51e5f4d6a3bf4e344d13478 Module libpng16.so.16 with build-id c88c5ba10be0bb164283235efa1ab0b6e2c90c62 Module libjpeg.so.62 with build-id 368d652b25bccafcf6ab3c9c6381d07fb8393803 Module libtiff.so.5 with build-id 66a0f2fbbaec0726051406be218aedf8f1bfeac0 Stack trace of thread 138387: #0 0x00007f35d1218fc0 __faccessat (libc.so.6 + 0xedfc0) #1 0x000055de3b2f8856 n/a (/home/blc/.local/src/emacs-28/src/emacs + 0x23f856) #2 0x000055de3b2fd242 n/a (/home/blc/.local/src/emacs-28/src/emacs + 0x244242) #3 0x000055de3b2fd28c n/a (/home/blc/.local/src/emacs-28/src/emacs + 0x24428c) #4 0x000055de3b29383c n/a (/home/blc/.local/src/emacs-28/src/emacs + 0x1da83c) #5 0x000055de3b296165 n/a (/home/blc/.local/src/emacs-28/src/emacs + 0x1dd165) #6 0x00007f35d11527ed __libc_start_main (libc.so.6 + 0x277ed) #7 0x000055de3b0fa9ea n/a (/home/blc/.local/src/emacs-28/src/emacs + 0x419ea) ELF object binary architecture: AMD x86-64 (ert-test-failed ((should (eql status 0)) :form (eql "Bad system call" 0) :value nil)) FAILED 3/7 emacs-tests/seccomp/allows-stdout (0.336707 sec) passed 4/7 emacs-tests/seccomp/empty-file (0.016942 sec) passed 5/7 emacs-tests/seccomp/file-too-large (0.244316 sec) passed 6/7 emacs-tests/seccomp/forbids-subprocess (0.341750 sec) passed 7/7 emacs-tests/seccomp/invalid-file-size (0.024746 sec) Ran 7 tests, 5 results as expected, 2 unexpected (2022-01-21 15:46:39+0200, 3.254555 sec) 2 unexpected results: FAILED emacs-tests/bwrap/allows-stdout FAILED emacs-tests/seccomp/allows-stdout make[2]: *** [Makefile:182: src/emacs-tests.log] Error 1 make[2]: Leaving directory '/home/blc/.local/src/emacs-28/test' make[1]: *** [Makefile:248: src/emacs-tests] Error 2 make[1]: Leaving directory '/home/blc/.local/src/emacs-28/test' make: *** [Makefile:997: test/emacs-tests] Error 2 Compilation exited abnormally with code 2 at Fri Jan 21 15:46:39 --=-=-= Content-Type: text/plain Content-Disposition: attachment; filename=emacs-nox.log Content-Description: Emacs --without-x backtrace -*- mode: compilation; default-directory: "~/.local/src/emacs-nox/" -*- Compilation started at Fri Jan 21 15:47:01 make test/emacs-tests make -C test emacs-tests make[1]: Entering directory '/home/blc/.local/src/emacs-nox/test' make[2]: Entering directory '/home/blc/.local/src/emacs-nox/test' ELC src/emacs-tests.elc GEN src/emacs-tests.log Running 7 tests (2022-01-21 15:47:02+0200, selector `(not (or (tag :unstable) (tag :nativecomp)))') Test emacs-tests/bwrap/allows-stdout backtrace: signal(ert-test-failed (((should (eql status 0)) :form (eql 159 0) : ert-fail(((should (eql status 0)) :form (eql 159 0) :value nil)) (if (unwind-protect (setq value-166 (apply fn-164 args-165)) (setq f (let (form-description-168) (if (unwind-protect (setq value-166 (app (let ((value-166 'ert-form-evaluation-aborted-167)) (let (form-descr (let* ((fn-164 #'eql) (args-165 (condition-case err (let ((signal-ho (let ((ert--infos (cons (cons "Info: " (emacs-tests--seccomp-debug s (let* ((command (concat (mapconcat #'shell-quote-argument (list (fil (progn (let* ((command (concat (mapconcat #'shell-quote-argument (li (unwind-protect (progn (let* ((command (concat (mapconcat #'shell-qu (save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn (let ((temp-buffer (generate-new-buffer " *temp*" t))) (save-current (let ((bash (executable-find "bash")) (bwrap (executable-find "bwrap (closure (t) nil (let ((bash (executable-find "bash")) (bwrap (execu ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test ert-run-test(#s(ert-test :name emacs-tests/bwrap/allows-stdout :docu ert-run-or-rerun-test(#s(ert--stats :selector ... :tests ... :test-m ert-run-tests((not (or (tag :unstable) (tag :nativecomp))) #f(compil ert-run-tests-batch((not (or (tag :unstable) (tag :nativecomp)))) ert-run-tests-batch-and-exit((not (or (tag :unstable) (tag :nativeco eval((ert-run-tests-batch-and-exit '(not (or (tag :unstable) (tag :n command-line-1(("-L" ":." "-L" "./../../elpa/packages/url-http-ntlm/ command-line() normal-top-level() Test emacs-tests/bwrap/allows-stdout condition: Info: Process output: Potentially useful coredump information: PID: 138481 (emacs) UID: 1000 (blc) GID: 1000 (blc) Signal: 31 (SYS) Timestamp: Fri 2022-01-21 15:47:02 EET (807ms ago) Command Line: /home/blc/.local/src/emacs-nox/src/emacs --quick --batch $'--eval=(message "Hi")' Executable: /home/blc/.local/src/emacs-nox/src/emacs Control Group: /user.slice/user-1000.slice/session-2.scope Unit: session-2.scope Slice: user-1000.slice Session: 2 Owner UID: 1000 (blc) Boot ID: cfc15e16c869496f947935e197ac1d35 Machine ID: 1eaf00d04e87431584dd7dfc9cf6503c Hostname: tia Storage: /var/lib/systemd/coredump/core.emacs.1000.cfc15e16c869496f947935e197ac1d35.138481.1642772822000000.zst (present) Disk Size: 64.9K Message: Process 138481 (emacs) of user 1000 dumped core. Module /home/blc/.local/src/emacs-nox/src/emacs with build-id fe39b98d49dab1c3b5f61091144c5f053ba42a7c Module linux-vdso.so.1 with build-id aa90d45bcd5e2f2cf6d3f271448c0055aab0c829 Module libgnutls.so.30 with build-id 247925d267be23194b9df36f6addb507fa2f7f62 Module libselinux.so.1 with build-id 7e68f414b47b91fda0d3a6ace5dea9359c7c387a Module libtinfo.so.6 with build-id b7eb22141b4a38e77529f10c214e595a86a32ffe Module libgpm.so.2 with build-id 6c19037d8cbbd965b5e31229c418f9f33b7a805f Module libxml2.so.2 with build-id db165ce4bbfed3b850a37eeedb0df28cc7a3aa4f Module libdbus-1.so.3 with build-id 0bcae537f1ca366889959f54793945dd2448f9b3 Module librt.so.1 with build-id 97ac793ccf0fc1496543704f9b0a2ca4e99abf0f Module libacl.so.1 with build-id 10f984c014a2f7b28613cd44a98cf1d2e4a5eb24 Module libasound.so.2 with build-id 78de024a6e2fa10ee5a2be8358242e5b4dae38f6 Module ld-linux-x86-64.so.2 with build-id b1133999bbb1801a832010378ae667737cad3131 Stack trace of thread 138481: #0 0x00007fd745f3714a __GI___pread64_nocancel (ld-linux-x86-64.so.2 + 0x2014a) #1 0x00007fd745f1da04 open_verify (ld-linux-x86-64.so.2 + 0x6a04) #2 0x00007fd745f20f11 _dl_map_object (ld-linux-x86-64.so.2 + 0x9f11) #3 0x00007fd745f254b1 openaux (ld-linux-x86-64.so.2 + 0xe4b1) #4 0x00007fd745f33fe6 _dl_catch_exception (ld-linux-x86-64.so.2 + 0x1cfe6) #5 0x00007fd745f25839 _dl_map_object_deps (ld-linux-x86-64.so.2 + 0xe839) #6 0x00007fd745f1b114 dl_main (ld-linux-x86-64.so.2 + 0x4114) #7 0x00007fd745f3300f _dl_sysdep_start (ld-linux-x86-64.so.2 + 0x1c00f) #8 0x00007fd745f18ffb _dl_start_final (ld-linux-x86-64.so.2 + 0x1ffb) #9 0x00007fd745f18058 _start (ld-linux-x86-64.so.2 + 0x1058) ELF object binary architecture: AMD x86-64 (ert-test-failed ((should (eql status 0)) :form (eql 159 0) :value nil)) FAILED 1/7 emacs-tests/bwrap/allows-stdout (0.110459 sec) passed 2/7 emacs-tests/seccomp/absent-file (0.009098 sec) Test emacs-tests/seccomp/allows-stdout backtrace: signal(ert-test-failed (((should (eql status 0)) :form (eql "Bad sys ert-fail(((should (eql status 0)) :form (eql "Bad system call" 0) :v (if (unwind-protect (setq value-102 (apply fn-100 args-101)) (setq f (let (form-description-104) (if (unwind-protect (setq value-102 (app (let ((value-102 'ert-form-evaluation-aborted-103)) (let (form-descr (let* ((fn-100 #'eql) (args-101 (condition-case err (let ((signal-ho (let ((ert--infos (cons (cons "Info: " (emacs-tests--seccomp-debug s (let ((start-time (current-time)) (status (call-process emacs nil t (progn (let ((start-time (current-time)) (status (call-process emacs (unwind-protect (progn (let ((start-time (current-time)) (status (ca (save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn (let ((temp-buffer (generate-new-buffer " *temp*" t))) (save-current (let ((emacs (expand-file-name invocation-name invocation-directory) (closure (t) nil (let* ((fn-80 #'string-match-p) (args-81 (condition ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test ert-run-test(#s(ert-test :name emacs-tests/seccomp/allows-stdout :do ert-run-or-rerun-test(#s(ert--stats :selector ... :tests ... :test-m ert-run-tests((not (or (tag :unstable) (tag :nativecomp))) #f(compil ert-run-tests-batch((not (or (tag :unstable) (tag :nativecomp)))) ert-run-tests-batch-and-exit((not (or (tag :unstable) (tag :nativeco eval((ert-run-tests-batch-and-exit '(not (or (tag :unstable) (tag :n command-line-1(("-L" ":." "-L" "./../../elpa/packages/url-http-ntlm/ command-line() normal-top-level() Test emacs-tests/seccomp/allows-stdout condition: Info: Process output: Potentially useful coredump information: PID: 138493 (emacs) UID: 1000 (blc) GID: 1000 (blc) Signal: 31 (SYS) Timestamp: Fri 2022-01-21 15:47:03 EET (299ms ago) Command Line: /home/blc/.local/src/emacs-nox/src/emacs --quick --batch --seccomp=/home/blc/.local/src/emacs-nox/lib-src/seccomp-filter.bpf $'--eval=(message "Hi")' Executable: /home/blc/.local/src/emacs-nox/src/emacs Control Group: /user.slice/user-1000.slice/session-2.scope Unit: session-2.scope Slice: user-1000.slice Session: 2 Owner UID: 1000 (blc) Boot ID: cfc15e16c869496f947935e197ac1d35 Machine ID: 1eaf00d04e87431584dd7dfc9cf6503c Hostname: tia Storage: /var/lib/systemd/coredump/core.emacs.1000.cfc15e16c869496f947935e197ac1d35.138493.1642772823000000.zst (present) Disk Size: 3.4M Message: Process 138493 (emacs) of user 1000 dumped core. Module /home/blc/.local/src/emacs-nox/src/emacs with build-id fe39b98d49dab1c3b5f61091144c5f053ba42a7c Module linux-vdso.so.1 with build-id aa90d45bcd5e2f2cf6d3f271448c0055aab0c829 Module libgpg-error.so.0 with build-id eea2c65f72557657fcfb8c016afd591f3a4774f8 Module libffi.so.8 with build-id 4ce8e5d8874d0c5201af22cf5ee1d521dba67a9f Module libgcc_s.so.1 with build-id 41054ed4594f0c8aea9a68114ae5999f4838fd4c Module libstdc++.so.6 with build-id 4d0895e7f15babd579e783cf9038c192b3ccd636 Module libicudata.so.67 with build-id 2421572a83e89276615b173445a81cc1b7db8852 Module libgcrypt.so.20 with build-id 2b1168fb43bab927604522f1cb49b48ed81e3adf Module libcap.so.2 with build-id a6034f7fc277ee9d9714c2b288b419498225156f Module liblz4.so.1 with build-id 964039e18af4b59e5a11f4ad26e9aa5e6a2d5db7 Module libzstd.so.1 with build-id 57509eed80c587b9ef77d3d1234e969b98448664 Module libhogweed.so.6 with build-id bc104618645979735399d88df5bb3b1a81753238 Module libnettle.so.8 with build-id a0fd01631c795d4955e5f6bef9f7e0367b20d13b Module libtasn1.so.6 with build-id b4bb5ce72e9b65bdfa6d6e38b20bae371d4de7f8 Module libunistring.so.2 with build-id 7169b2ba43b08661361637d65d422e83195ba9a7 Module libidn2.so.0 with build-id bd200ecd24a4ee730feb183ba94c68635fa73479 Module libp11-kit.so.0 with build-id 25d757d1ddf5f3151f277ce5ed9c4d5359e830da Module libpcre2-8.so.0 with build-id d52256f3e58205a5c35ee7e6212a575117fe241e Module liblzma.so.5 with build-id 5d67991a152e0b62f982a0e4110cc2262850c788 Module libicuuc.so.67 with build-id f871bbd529a02abd860f0d16b842b5b20234cb49 Module ld-linux-x86-64.so.2 with build-id b1133999bbb1801a832010378ae667737cad3131 Module libc.so.6 with build-id 7d74053de4b1acdbbc139fd54deaaa32b3b38655 Module libsqlite3.so.0 with build-id 3ed0fc83a3b87f6041974ec0309cf1eb62a5f6c0 Module libgmp.so.10 with build-id f202d7d8f2feb4d57422b59085c4049caef2f9c8 Module libjansson.so.4 with build-id 39992d77fcaddf7c681c609609f182de739d3b72 Module libsystemd.so.0 with build-id 98ab74e63eb9c4d482a7db9a1408ddcdcddba003 Module libdl.so.2 with build-id 23b03cb94c34544ed3b222db64fe7b24cfd73fa1 Module libz.so.1 with build-id 70a770d9b600208bb51e5f4d6a3bf4e344d13478 Module libm.so.6 with build-id 3950a8ba3d1bac563776c5596661b24af5e355f0 Module liblcms2.so.2 with build-id 255030645c8534451e939cfd515f914c92281fd1 Module libanl.so.1 with build-id 3c49dd1120d2128804405921ba18f8b879f0392f Module libpthread.so.0 with build-id 54322f9a621b22e9ea3a4a96b6692f7a0f931b2d Module libgnutls.so.30 with build-id 247925d267be23194b9df36f6addb507fa2f7f62 Module libselinux.so.1 with build-id 7e68f414b47b91fda0d3a6ace5dea9359c7c387a Module libtinfo.so.6 with build-id b7eb22141b4a38e77529f10c214e595a86a32ffe Module libgpm.so.2 with build-id 6c19037d8cbbd965b5e31229c418f9f33b7a805f Module libxml2.so.2 with build-id db165ce4bbfed3b850a37eeedb0df28cc7a3aa4f Module libdbus-1.so.3 with build-id 0bcae537f1ca366889959f54793945dd2448f9b3 Module librt.so.1 with build-id 97ac793ccf0fc1496543704f9b0a2ca4e99abf0f Module libacl.so.1 with build-id 10f984c014a2f7b28613cd44a98cf1d2e4a5eb24 Module libasound.so.2 with build-id 78de024a6e2fa10ee5a2be8358242e5b4dae38f6 Stack trace of thread 138493: #0 0x00007f46e8c30fc0 __faccessat (libc.so.6 + 0xedfc0) #1 0x000055f149e2408e n/a (/home/blc/.local/src/emacs-nox/src/emacs + 0x10508e) ELF object binary architecture: AMD x86-64 (ert-test-failed ((should (eql status 0)) :form (eql "Bad system call" 0) :value nil)) FAILED 3/7 emacs-tests/seccomp/allows-stdout (0.265649 sec) passed 4/7 emacs-tests/seccomp/empty-file (0.009843 sec) passed 5/7 emacs-tests/seccomp/file-too-large (0.038833 sec) passed 6/7 emacs-tests/seccomp/forbids-subprocess (0.266038 sec) passed 7/7 emacs-tests/seccomp/invalid-file-size (0.005355 sec) Ran 7 tests, 5 results as expected, 2 unexpected (2022-01-21 15:47:03+0200, 1.064496 sec) 2 unexpected results: FAILED emacs-tests/bwrap/allows-stdout FAILED emacs-tests/seccomp/allows-stdout make[2]: *** [Makefile:185: src/emacs-tests.log] Error 1 make[2]: Leaving directory '/home/blc/.local/src/emacs-nox/test' make[1]: *** [Makefile:251: src/emacs-tests] Error 2 make[1]: Leaving directory '/home/blc/.local/src/emacs-nox/test' make: *** [Makefile:1023: test/emacs-tests] Error 2 Compilation exited abnormally with code 2 at Fri Jan 21 15:47:03 --=-=-= Content-Type: text/plain In GNU Emacs 28.0.91 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo version 1.16.0, Xaw3d scroll bars) of 2022-01-21 built on tia Repository revision: f08dfa9b532648457590262c1afa9729e87c6bb1 Repository branch: wt/emacs-28 System Description: Debian GNU/Linux bookworm/sid Configured using: 'configure 'CFLAGS=-O0 -ggdb3' --prefix=/home/blc/.local --program-suffix=-28 --enable-checking=yes,glyphs --enable-check-lisp-type --with-x-toolkit=lucid --with-file-notification=yes --with-x' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS X11 XAW3D XDBE XIM XPM LUCID ZLIB Important settings: value of $LANG: en_IE.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t indent-tabs-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs rfc822 mml mml-sec epa derived epg rfc6068 epg-config gnus-util rmail rmail-loaddefs auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json map text-property-search time-date subr-x seq mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils term/xterm xterm byte-opt gv bytecomp byte-compile cconv iso-transl tooltip eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 56674 5913) (symbols 48 6741 1) (strings 32 18046 1546) (string-bytes 1 594941) (vectors 16 10595) (vector-slots 8 126617 9439) (floats 8 24 35) (intervals 56 207 0) (buffers 992 10)) In GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu) of 2022-01-21 built on tia Repository revision: 1ca6928c843fcbbaa35a7a947f905ca287c5c2fb Repository branch: wt/master-nox System Description: Debian GNU/Linux bookworm/sid Configured using: 'configure 'CFLAGS=-O2 -march=native' --config-cache --prefix=/home/blc/.local --program-suffix=-nox --enable-checking=structs --with-file-notification=yes --with-x-toolkit=no --without-x' Configured features: ACL DBUS GMP GNUTLS GPM JSON LCMS2 LIBSELINUX LIBSYSTEMD LIBXML2 MODULES NOTIFY INOTIFY PDUMPER SECCOMP SOUND SQLITE3 THREADS XIM ZLIB Important settings: value of $LANG: en_IE.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t show-paren-mode: t electric-indent-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t indent-tabs-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message mailcap yank-media rmc puny dired dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068 epg-config gnus-util text-property-search time-date seq mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils term/xterm xterm gv subr-x byte-opt bytecomp byte-compile cconv regexp-opt iso-transl tooltip eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads dbusbind inotify lcms2 multi-tty make-network-process emacs) Memory information: ((conses 16 47735 5984) (symbols 48 5667 1) (strings 32 15405 1831) (string-bytes 1 496340) (vectors 16 8526) (vector-slots 8 101602 6503) (floats 8 23 24) (intervals 56 195 13) (buffers 992 10)) --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 22 11:20:52 2022 Received: (at 51073) by debbugs.gnu.org; 22 Jan 2022 16:20:52 +0000 Received: from localhost ([127.0.0.1]:37735 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nBJ8G-0007jH-B4 for submit@debbugs.gnu.org; Sat, 22 Jan 2022 11:20:52 -0500 Received: from mail-ot1-f50.google.com ([209.85.210.50]:45641) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nBJ8E-0007j4-9M for 51073@debbugs.gnu.org; Sat, 22 Jan 2022 11:20:50 -0500 Received: by mail-ot1-f50.google.com with SMTP id v8-20020a9d6048000000b005960952c694so15909337otj.12 for <51073@debbugs.gnu.org>; Sat, 22 Jan 2022 08:20:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=zhQ1JllbG1y08HuQm95Y+GPcUn+CAtmD5V5/z6SdSyk=; b=pwgEcpD+S8noecvOVugxPTmVKmQJAt5Q/J+bHCgw6ntHU4jyEBu8m8wcFFGfIjuQuH BdvktrV1lmJIO6cfTfhD2YoXF1ZDuYlVhU/TlIb5f7EF1heIt7NZewaQYDypJ5sUyQXR 55tNRGzAw+siwOJ+BpqqzuyGL8gvgjRIlw5LCcGwYxKiaAhi4TyOpLu/cmFRdGdMKNfP o4OD9XV7h4cRGg7MaIk0TQQBqpigKUh77CWMhxTHG+uv42HBqsk+yyITAcsjPR1M6eRb AQUgT082pTiLojL/pZGd1Wm9BAitSraudIgvBFsliTgyOfspGzTGYp3FxxyyR06dyY2m 9LwA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=zhQ1JllbG1y08HuQm95Y+GPcUn+CAtmD5V5/z6SdSyk=; b=ryJImkGWS9eAXtbHBkGK1R9rL2FRDcOiTtvwuPvdAkA/HMngk3WAPGlB7aZ6Al+KPy npSUYAYuvs5I70wYIuIzhlyqG5MzbK0BZpJnZZ99D9yrArZfdtP2ctiIb0lwrVqZK3cN /xwatmoSrr/uqtyaeyZRBcKgchMCCskXRHS/XCg/fcf6SbxORNVAi9etSl0Olr+6LRp0 l12X2S+Alpoj3GupDLiTphgbUNfY5dOiFiUjLm/tK4W1RiDfcM8RJnGUuzqufAx4jwxC 5MfG4FuI/YmXjVoeFRXJ7EzAtKoN/Sb4iJcVHVSyQz60+1N13X7Nxl+EcgD+Roxq+zgg /zmw== X-Gm-Message-State: AOAM531IeOycmXfFr6PNRVQegVXGfrhl4mUEB0HmM1M10VIrtmelbX0K EiAPxh8NyIksw/Sv8VKbwvCPnQTe3bC9kWdbl6s= X-Google-Smtp-Source: ABdhPJwk4SLOIkgzJNB0AS6/0MbJIOBiF6IkEQq4vB1Cffo4tFIKd/baxhpf/2gb7CGy+WYEXSXwXX7pPOsCwJAw9h0= X-Received: by 2002:a9d:53c6:: with SMTP id i6mr6425614oth.96.1642868444549; Sat, 22 Jan 2022 08:20:44 -0800 (PST) MIME-Version: 1.0 References: <878rz52kl8.fsf@tcd.ie> <87a6jfnvny.fsf@tcd.ie> <87y239uqfq.fsf@tcd.ie> In-Reply-To: <87y239uqfq.fsf@tcd.ie> From: Philipp Stephani Date: Sat, 22 Jan 2022 17:20:32 +0100 Message-ID: Subject: Re: bug#51073: 28.0.60; SIGSYS in emacs-tests/bwrap/allows-stdout To: "Basil L. Contovounesios" Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 51073 Cc: 51073@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Am Fr., 21. Jan. 2022 um 15:14 Uhr schrieb Basil L. Contovounesios : > > Basil L. Contovounesios [2021-10-11 21:39 +0100] wrote: > > > close 51073 28.1 > > quit > > > > Philipp Stephani [2021-10-09 19:43 +0200] wrote: > > > >> I've pushed a new rule to emacs-28 (commit b497add971). At least for > >> me that fixes the test. Does it work for you as well? > > > > Yes, works fine here. Thanks! > > After a several month hiatus from Emacs development, I'm now getting two > SIGSYS failures in 'make test/emacs-tests' again on both emacs-28 and > master (ERT backtraces and configuration info follow my signature). > > This time, 'sudo journalctl -g SECCOMP' mentions the following: > > Jan 21 15:47:02 tia audit[138481]: SECCOMP auid=1000 uid=1000 gid=1000 > ses=2 subj==unconfined pid=138481 comm="emacs" > exe="/home/blc/.local/src/emacs-nox/src/emacs" sig=31 arch=c000003e > syscall=17 compat=0 ip=0x7fd745f3714a code=0x80000000 > > Jan 21 15:47:03 tia audit[138493]: SECCOMP auid=1000 uid=1000 gid=1000 > ses=2 subj==unconfined pid=138493 comm="emacs" > exe="/home/blc/.local/src/emacs-nox/src/emacs" sig=31 arch=c000003e > syscall=439 compat=0 ip=0x7f46e8c30fc0 code=0x80000000 > > where AFAICT syscalls 17 and 439 correspond to pread64 and faccessat2, > respectively. Thanks, I added these syscalls to the filter shipped with Emacs (commit 6d3608be88e1b30d2d10ee81f14dd485275c20ff). From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 22 16:34:53 2022 Received: (at 51073) by debbugs.gnu.org; 22 Jan 2022 21:34:53 +0000 Received: from localhost ([127.0.0.1]:38108 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nBO28-0007VM-Tv for submit@debbugs.gnu.org; Sat, 22 Jan 2022 16:34:53 -0500 Received: from mail-ed1-f46.google.com ([209.85.208.46]:46829) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nBO27-0007V8-Ov for 51073@debbugs.gnu.org; Sat, 22 Jan 2022 16:34:52 -0500 Received: by mail-ed1-f46.google.com with SMTP id m11so49019617edi.13 for <51073@debbugs.gnu.org>; Sat, 22 Jan 2022 13:34:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tcd.ie; s=google21; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=+mrueNPKnybEIt3dVYPjdVASfnqQNt7/LtQ8CZcVKMs=; b=AVccVBokda3/9u9xsL5kNnSWSL3u6u4gcvtivr7S3SPiqBGcNJEVVlRjm2xSma5QbT F7GoT14lJjO2U2VzYxZh7kcLpefJNRVyxB4iFwtR6SKlJ1r4ZhJQVEUvbcrajoiZjek8 rRwlS1q1BZ1ymPEoVo/GLdvSldMqCDS513Z0gDKkSBMIhTJaoDe2LIHjHWq6CqqJWlcw zYCfUPWHBt7YmPhphTxL2DpAZDlRkPnBZs9X5dqf406lWyPcrLTHKI+UAFi90/2bARY5 5zRf4n4XwkMGj4TxHnK4bWURBotc7nFDc+vgKuU3nB00R3oyJfgaJWGO7RFUzOEBMUeu oI1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=+mrueNPKnybEIt3dVYPjdVASfnqQNt7/LtQ8CZcVKMs=; b=tb5eUUTcGARxjKF5esLezBNNO4rRE6yzDeFV7fWqQ/4svP2nbf6rCnex8uE689Cum7 /zCeUWvDZMOGlALl5ZxVisbYl8xmNDtk3vERGvCSX9CICnUmye9i4kev2EerADUvQ3xk 47qkIWGxF/tUf+f6HBtajVS5MzCjWcto70ZYkNBUZoGXXuayldjAodPzb65VTE74sH8V PUAxGx5ItPquxcjl/iP5w6CipmECw4vmlfZT4bAB71DO+4ttaN4L4J5GCfxINeDQ2mM1 mEnLAx+E6am55rVRQ+s4gqyd7euKimbHKxlmfF4ETRjMihR5++GFOiJKeIzc57GkhneW MG2w== X-Gm-Message-State: AOAM533uIVRxELRL/ZYjQq/Ss+hHGWfO2TigZ+7lt8S7yfKRdfLaCf/p FC5FNm5rij5nzuABhIXutjWoIg== X-Google-Smtp-Source: ABdhPJwjtPz3tveHST/6kZzh+0F5KC98GThLrjium3gcmnm22kfl8wxTJrG/rAKK57tZmrRCukoF9g== X-Received: by 2002:a05:6402:51cd:: with SMTP id r13mr9361571edd.139.1642887285905; Sat, 22 Jan 2022 13:34:45 -0800 (PST) Received: from localhost (adsl-96.91.140.91.tellas.gr. [91.140.91.96]) by smtp.gmail.com with ESMTPSA id e12sm2376029eje.18.2022.01.22.13.34.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 22 Jan 2022 13:34:45 -0800 (PST) From: "Basil L. Contovounesios" To: Philipp Stephani Subject: Re: bug#51073: 28.0.60; SIGSYS in emacs-tests/bwrap/allows-stdout References: <878rz52kl8.fsf@tcd.ie> <87a6jfnvny.fsf@tcd.ie> <87y239uqfq.fsf@tcd.ie> Date: Sat, 22 Jan 2022 23:34:43 +0200 In-Reply-To: (Philipp Stephani's message of "Sat, 22 Jan 2022 17:20:32 +0100") Message-ID: <87h79vlaj0.fsf@tcd.ie> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 51073 Cc: 51073@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Philipp Stephani [2022-01-22 17:20 +0100] wrote: > Am Fr., 21. Jan. 2022 um 15:14 Uhr schrieb Basil L. Contovounesios > : >> >> After a several month hiatus from Emacs development, I'm now getting two >> SIGSYS failures in 'make test/emacs-tests' again on both emacs-28 and >> master (ERT backtraces and configuration info follow my signature). >> >> This time, 'sudo journalctl -g SECCOMP' mentions the following: >> >> Jan 21 15:47:02 tia audit[138481]: SECCOMP auid=1000 uid=1000 gid=1000 >> ses=2 subj==unconfined pid=138481 comm="emacs" >> exe="/home/blc/.local/src/emacs-nox/src/emacs" sig=31 arch=c000003e >> syscall=17 compat=0 ip=0x7fd745f3714a code=0x80000000 >> >> Jan 21 15:47:03 tia audit[138493]: SECCOMP auid=1000 uid=1000 gid=1000 >> ses=2 subj==unconfined pid=138493 comm="emacs" >> exe="/home/blc/.local/src/emacs-nox/src/emacs" sig=31 arch=c000003e >> syscall=439 compat=0 ip=0x7f46e8c30fc0 code=0x80000000 >> >> where AFAICT syscalls 17 and 439 correspond to pread64 and faccessat2, >> respectively. > > Thanks, I added these syscalls to the filter shipped with Emacs > (commit 6d3608be88e1b30d2d10ee81f14dd485275c20ff). Thanks, all lights green again! -- Basil From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 23 08:16:14 2022 Received: (at 51073) by debbugs.gnu.org; 23 Jan 2022 13:16:14 +0000 Received: from localhost ([127.0.0.1]:38869 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nBcj7-0008Ko-QG for submit@debbugs.gnu.org; Sun, 23 Jan 2022 08:16:14 -0500 Received: from mail-out.m-online.net ([212.18.0.10]:49187) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nBcj3-0008GZ-Q9 for 51073@debbugs.gnu.org; Sun, 23 Jan 2022 08:16:12 -0500 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4JhYXS2yZjz1sY8X; Sun, 23 Jan 2022 14:16:08 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4JhYXS0hL4z1qqkB; Sun, 23 Jan 2022 14:16:08 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id QAuehZuoq4AF; Sun, 23 Jan 2022 14:16:07 +0100 (CET) X-Auth-Info: X58fwTXxwfk1NNaPg1DOLrbX+jzvgqj7UFOCZ6PZ7ssCH3jSa9rBAgTFX6o6llEH Received: from igel.home (ppp-46-244-189-239.dynamic.mnet-online.de [46.244.189.239]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Sun, 23 Jan 2022 14:16:07 +0100 (CET) Received: by igel.home (Postfix, from userid 1000) id AB15F2C3B7C; Sun, 23 Jan 2022 14:16:06 +0100 (CET) From: Andreas Schwab To: Philipp Stephani Subject: Re: bug#51073: 28.0.60; SIGSYS in emacs-tests/bwrap/allows-stdout References: <878rz52kl8.fsf@tcd.ie> <87a6jfnvny.fsf@tcd.ie> <87y239uqfq.fsf@tcd.ie> X-Yow: Don't hit me!! I'm in the Twilight Zone!!! Date: Sun, 23 Jan 2022 14:16:06 +0100 In-Reply-To: (Philipp Stephani's message of "Sat, 22 Jan 2022 17:20:32 +0100") Message-ID: <87iluay4mh.fsf@igel.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.4 (/) X-Debbugs-Envelope-To: 51073 Cc: "Basil L. Contovounesios" , 51073@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.4 (-) seccomp-filter.c: In function ‘main’: /usr/include/libseccomp/seccomp.h:199:23: error: ‘__NR_faccessat2’ undeclared (first use in this function); did you mean ‘__NR_faccessat’? #define SCMP_SYS(x) (__NR_##x) ^ seccomp-filter.c:121:60: note: in definition of macro ‘RULE’ int status = seccomp_rule_add_array (ctx, (action), (syscall), \ ^~~~~~~ seccomp-filter.c:243:25: note: in expansion of macro ‘SCMP_SYS’ RULE (SCMP_ACT_ALLOW, SCMP_SYS (faccessat2)); ^~~~~~~~ /usr/include/libseccomp/seccomp.h:199:23: note: each undeclared identifier is reported only once for each function it appears in #define SCMP_SYS(x) (__NR_##x) ^ seccomp-filter.c:121:60: note: in definition of macro ‘RULE’ int status = seccomp_rule_add_array (ctx, (action), (syscall), \ ^~~~~~~ seccomp-filter.c:243:25: note: in expansion of macro ‘SCMP_SYS’ RULE (SCMP_ACT_ALLOW, SCMP_SYS (faccessat2)); ^~~~~~~~ -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different." From unknown Sat Aug 16 10:42:57 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 21 Feb 2022 12:24:12 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator