From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Basil L. Contovounesios" via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#56359: seccomp test failures on RHEL 9.0 Date: Tue, 11 Oct 2022 15:36:59 +0300 Message-ID: <87lepm5yfo.fsf@tcd.ie> References: <2094647B-7360-41F4-8AB0-ADFC835288E8@gmail.com> <87y1vjay6b.fsf@tcd.ie> <87edvfji2y.fsf@gnus.org> Reply-To: "Basil L. Contovounesios" Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25906"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Glenn Morris , Philipp Stephani , Paul Eggert , 56359@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Oct 11 15:24:26 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 1oiFFB-0006VA-DA for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 11 Oct 2022 15:24:25 +0200 Original-Received: from localhost ([::1]:40726 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oiFFA-00083m-FC for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 11 Oct 2022 09:24:24 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60342) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oiEWI-00046M-Lq for bug-gnu-emacs@gnu.org; Tue, 11 Oct 2022 08:38:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52253) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oiEWI-0002Pw-C3 for bug-gnu-emacs@gnu.org; Tue, 11 Oct 2022 08:38:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oiEWH-0001P2-Vu for bug-gnu-emacs@gnu.org; Tue, 11 Oct 2022 08:38:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Basil L. Contovounesios" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 11 Oct 2022 12:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56359 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 56359-submit@debbugs.gnu.org id=B56359.16654918335333 (code B ref 56359); Tue, 11 Oct 2022 12:38:01 +0000 Original-Received: (at 56359) by debbugs.gnu.org; 11 Oct 2022 12:37:13 +0000 Original-Received: from localhost ([127.0.0.1]:51331 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oiEVU-0001Nu-B8 for submit@debbugs.gnu.org; Tue, 11 Oct 2022 08:37:13 -0400 Original-Received: from mail-ed1-f52.google.com ([209.85.208.52]:34631) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oiEVR-0001Nh-TA for 56359@debbugs.gnu.org; Tue, 11 Oct 2022 08:37:11 -0400 Original-Received: by mail-ed1-f52.google.com with SMTP id s30so19940756eds.1 for <56359@debbugs.gnu.org>; Tue, 11 Oct 2022 05:37:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tcd.ie; s=google21; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=eHi1cPGdhBFeKPPfO18tMQZU3M1JGwJTMjadN3Lg2Iw=; b=YyYzorpRRviw2KxFL3tOHu9XxGu+c9Mg2Y8nP5wW3UxRhMlnAHez7C8BoW+XwdAbKF m2tEMvBF0t1CIM+NdARCLpToH0j2mkNCcZL7nGzEuuXllElrut4Rj0wQV8NKA/g92Hsd zwojB1rlO7jU7iz2z6xUKJLbTk+ST3GzwIgYZdnWtTVluEt/9ZkLCzthKtZUSMBJEd9/ bncD3FsnIMPvjDuCmrq15x9MK/r0fkXh5HgYGMBSA3uHLoin5NP0hCMQexlKjnmlNRAk gPUSyZTha5U+YJ36rZg6XkV7akFzCBaYAcPHoCQDoRalNKQBxcmWPE0e0EUbCAgz0WEX 9FAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=eHi1cPGdhBFeKPPfO18tMQZU3M1JGwJTMjadN3Lg2Iw=; b=bmlMGHjUcLr9eQSDfMeWSCdRgTKgl9EnGCQCcErbbgBa1sVkC5G0lxYHS/ocHKuPQb QjpKsL1+6X23vvAGdBqdy+pyel29E8mNaZktwqFAc/uKR2Sdt0O8C8Gq9o5K38MAXc9i SwjSO9NG65PT1jsrRR2JHyLBEh5HrNi+Ag+J4hLyZ9QxSZrlGhBHSWjHUDF81wjIKwEc 4O8fBo9EeYgPzUQylIRId3bK3ruFTqY4ocPl2T2cHlxAZGKW5cuybz9cHE/Sb3OrjB2G 1YBZBb6GefZLRs6jz9fWoyRW+iY5nocxokNp1H+ijMnJqRr9s72KwtCy1ynp8McfNU18 EM9Q== X-Gm-Message-State: ACrzQf2/tkILiQuSrXiEIQIKgVMgrp4CxWhvWCQuoxxGVzxO5R2eA5QE hHrRygWAcN6GYKz6SFmjrMgiHA== X-Google-Smtp-Source: AMsMyM5TPd+cvE/Mzlzm+Ri/BvRG/RmezhzuEXK6jZQBJm/yF5wEol/E3W/kvNqM1d8+mp0QNVkRkg== X-Received: by 2002:a05:6402:d6c:b0:458:ef3d:5926 with SMTP id ec44-20020a0564020d6c00b00458ef3d5926mr22908291edb.54.1665491822955; Tue, 11 Oct 2022 05:37:02 -0700 (PDT) Original-Received: from localhost ([2a02:587:326a:a129:e754:c019:8715:df11]) by smtp.gmail.com with ESMTPSA id r9-20020a1709061ba900b0073dd7e586f9sm6915589ejg.193.2022.10.11.05.37.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Oct 2022 05:37:01 -0700 (PDT) In-Reply-To: <87edvfji2y.fsf@gnus.org> (Lars Ingebrigtsen's message of "Tue, 11 Oct 2022 02:54:13 +0200") 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:245106 Archived-At: --=-=-= Content-Type: text/plain Lars Ingebrigtsen [2022-10-11 02:54 +0200] wrote: > I've now applied Philipp's patch (adding gettid), and Paul has fixed > other bits here in 345de32a. Thanks. > Does the tests pass on RHEL on "master" now? Can't say for RHEL, but on Debian I get an error for syscall=pidfd_open: --=-=-= Content-Type: text/plain Content-Disposition: attachment; filename=emacs-tests.log Running 7 tests (2022-10-11 15:27:16+0300, selector `(not (or (tag :expensive-test) (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)) #f(compiled-function () #)() 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 (not (or ... ... ...)) ert-run-tests((not (or (tag :expensive-test) (tag :unstable) (tag :n ert-run-tests-batch((not (or (tag :expensive-test) (tag :unstable) ( ert-run-tests-batch-and-exit((not (or (tag :expensive-test) (tag :un eval((ert-run-tests-batch-and-exit '(not (or (tag :expensive-test) ( command-line-1(("-L" ":." "-l" "ert" "-l" "src/emacs-tests" "--eval" command-line() normal-top-level() Test emacs-tests/bwrap/allows-stdout condition: Info: Process output: Potentially relevant Seccomp audit events: ---- type=SECCOMP msg=audit(10/11/22 15:27:16.211:2373) : auid=blc uid=root gid=root ses=3 subj=unconfined pid=318911 comm=emacs exe=/home/blc/.local/src/emacs/src/emacs sig=SIGSYS arch=x86_64 syscall=pidfd_open compat=0 ip=0x7f37c9503859 code=kill Potentially useful coredump information: PID: 318911 (emacs) UID: 0 (root) GID: 0 (root) Signal: 31 (SYS) Timestamp: Tue 2022-10-11 15:27:16 EEST (593ms ago) Command Line: /home/blc/.local/src/emacs/src/emacs --quick --batch $'--eval=(message "Hi")' Executable: /home/blc/.local/src/emacs/src/emacs Control Group: /user.slice/user-1000.slice/user@1000.service/app.slice/app-org.gnome.Terminal.slice/vte-spawn-03d902e7-d88b-42b9-8e05-540e380186c3.scope Unit: user@1000.service User Unit: vte-spawn-03d902e7-d88b-42b9-8e05-540e380186c3.scope Slice: user-1000.slice Owner UID: 1000 (blc) Boot ID: 5f7a30b1c98644cd92904f59658b6bd7 Machine ID: 1eaf00d04e87431584dd7dfc9cf6503c Hostname: tia Storage: /var/lib/systemd/coredump/core.emacs.0.5f7a30b1c98644cd92904f59658b6bd7.318911.1665491236000000.zst (present) Disk Size: 4.2M Package: systemd/251.5-1 build-id: 104d02501574655e7bf9d87f14c9d6a537b0446f Message: Process 318911 (emacs) of user 0 dumped core. Module /home/blc/.local/src/emacs/src/emacs with build-id 104d02501574655e7bf9d87f14c9d6a537b0446f Metadata for module /home/blc/.local/src/emacs/src/emacs owned by FDO found: { "type" : "deb", "os" : "debian", "name" : "systemd", "architecture" : "amd64", "version" : "251.5-1", "debugInfoUrl" : "https://debuginfod.debian.net" } Module linux-vdso.so.1 with build-id e14a78332591687c6ecc5aaab7d80c97f73059c7 Module libgpg-error.so.0 with build-id 7fdce7d73bd3fde9dc772242e2a0d32fee06ffba Module libdatrie.so.1 with build-id 57f62fe2ce6d6db200f0f8cfee3cc987b25a9e2f Module libbrotlicommon.so.1 with build-id 3c671f721b58fd96b70ba426a215b3c43847bbf5 Module libicudata.so.71 with build-id c2e714254cd127c573a0f401b369b36455875e5e Module libblkid.so.1 with build-id d3e947026c74ed40701063d17ae59a2f6e51abcb Module libfribidi.so.0 with build-id df6a1c7bc544c74c18a8635e3e65965a1fb529c3 Module libpangoft2-1.0.so.0 with build-id 7665226d35e490413282233bb338a8ad7fa67343 Module libXdmcp.so.6 with build-id 1d12a8566670c95b1b02e341400060d2d825aade Module libXau.so.6 with build-id 84ffa90fee1b716cdc7d8349be47ed6ca4761b75 Module libmd.so.0 with build-id bfcdab3e6fabdc0d6f3e3e7d562330e80601a5af Module libstdc++.so.6 with build-id 00bbb52a4fbeaea07adbaa5ddc677c5d83686151 Module liblz4.so.1 with build-id 29e700d84270c3d01e8e156816591eb4e1b1ea77 Module libgcrypt.so.20 with build-id d8679f5ba3b9d55740e274eaaf8bea33fa76eaa9 Module libcap.so.2 with build-id a6034f7fc277ee9d9714c2b288b419498225156f Module libhogweed.so.6 with build-id 568595f2db0c8a2a59fc8aeb153db78ca51d0168 Module libnettle.so.8 with build-id df9d509c9055db57df09603aab0fc4c66ad2837c Module libtasn1.so.6 with build-id 1d312752ce136a80ebceeb73404c90fbd4e4f78d Module libunistring.so.2 with build-id 926062d8c8d5bfcbfaf7bad9b41cf4f073ee521e Module libidn2.so.0 with build-id ddba28970641f1f110f7585d57dc5867e2ee4ffd Module libp11-kit.so.0 with build-id 97832cbdb52c48f1422b9e70802112b0cc6587f3 Module libthai.so.0 with build-id 11b774e6b958fa6734f1a721527e1596e34ecd00 Module libgraphite2.so.3 with build-id 5b00ca1eda239ea043d7eae3b0fd4481560a907e Module libexpat.so.1 with build-id 0fa805792649d58f26fa59d23e9f5355ba67cca2 Module libbrotlidec.so.1 with build-id 1160b28572b6a6fc5674f5db1333716d4ba9e55f Module libicuuc.so.71 with build-id 0c1744749cfb2e6d9d20139dcf60227b47867b45 Module libxcb-render.so.0 with build-id ca78dfc48f5a2593d9dc3b1d439740c6abad3f1c Module libxcb-shm.so.0 with build-id 77958cefc38a0b1edb4d0f4b76817b05ac6ec605 Module libpixman-1.so.0 with build-id 2ba0d88f718a0fef93d759cfc90bc650cdee38ba Module libpcre2-8.so.0 with build-id 5aa43e3778622f4b95261331e97a45be5b87481d Module libffi.so.8 with build-id bb0fa5371874ba431e7cd9dc2df93922de436fa9 Module libmount.so.1 with build-id e29bc51dddfc4e370eb7eac9ff29df81efdbf22c Module libgmodule-2.0.so.0 with build-id aebe8374486d296d7f8719f4cd5c2c6cdab1b700 Module libgcc_s.so.1 with build-id ff2b0e1755c393b12a0264f0115b14e8c9b6afcf Module libpango-1.0.so.0 with build-id 56468d1b5210773cf31bb8be42a16ef199a38b86 Module libpangocairo-1.0.so.0 with build-id d625ce8d575bda90b74d2a3a89120405e3202d27 Module libcairo-gobject.so.2 with build-id 05d67ae9df9913cfc114e0edbeb8bec4a2adc2fb Module ld-linux-x86-64.so.2 with build-id 2ec911d934ee173b32b5625478021b9423297733 Module libdl.so.2 with build-id 99d3223bb13e4fd9ac0c12a317ec58792029ba45 Module libxcb.so.1 with build-id 81156ba79b0ca3ca8d015453e333d16c3fcdc277 Module libbsd.so.0 with build-id 59d1016d46647c60df4cb173dc39fc1c0d98d370 Module libuuid.so.1 with build-id 6b0f1c26b65771068f1daa425dae3f769ce41a6c Module libpthread.so.0 with build-id 153269de6762974703648c928443c1dc953e9bf0 Module libdeflate.so.0 with build-id 8dd45d05f8c7bacfe3e762adce0626c61767fe22 Module libjbig.so.0 with build-id 22813d3e92e574d81165b92701d721fbe4c1861e Module libLerc.so.4 with build-id 026b7d95da31ef6e69c69dce122973e0cf41e498 Module liblzma.so.5 with build-id 2be514bf14fac8ce94c74072cd951ac7672bc96e Module libzstd.so.1 with build-id c483624c22368ac21336433d92ac9ce13e6bb2cc Module libc.so.6 with build-id 27c3fba848db13b62a9bcaf7439610ca18cd1787 Module libXcomposite.so.1 with build-id 0586ef2cab90572a843bb13ef98243e960b12689 Module libsqlite3.so.0 with build-id 32f1b847ed24dec95841095b18bac68d420ab268 Module libXi.so.6 with build-id 60f9e002b7042dc62091e10622202c9c2e8a093c Module libgmp.so.10 with build-id 0c00b6d88e6ba3d5177fdae0bd46d8b9d007dc59 Module libjansson.so.4 with build-id aee56a434cb99db267c03a66f3a4ed597cc53f0a Module libsystemd.so.0 with build-id cc8981b2d8d45ec2f9520277b7f56de7c79dfdb4 Metadata for module libsystemd.so.0 owned by FDO found: { "type" : "deb", "os" : "debian", "name" : "systemd", "architecture" : "amd64", "version" : "251.5-1", "debugInfoUrl" : "https://debuginfod.debian.net" } Module libz.so.1 with build-id 19168f84642e8fe27700f92388598565e59048ee Module liblcms2.so.2 with build-id 722394b7032f9933b9bdd5dc1bae3212e62c2f5e Module libgnutls.so.30 with build-id 333e23f509b65dbbd4c3f4c2dbbd1fe1296d358a Module libm17n-flt.so.0 with build-id 80254d7011bb83a362cbf250a21aed6440a4ddce Module libm17n-core.so.0 with build-id 5ceb915e87d90e49bc37353aed2939fd0d025e46 Module libotf.so.1 with build-id 1a89538b29cabc88ff5f609c5dd0080d9ce421e7 Module libharfbuzz.so.0 with build-id e0b44ba44fec74d8e3adee232f6477dd3bc7e0f2 Module libfontconfig.so.1 with build-id 3209e243ebaf08c058f6a17b9037cbdfecc3e72c Module libfreetype.so.6 with build-id 5d03f612aa76f7a175f1f23e5275809b0db692a4 Module libselinux.so.1 with build-id 827b23e6391a3374fa79e36bca36c41c8e6d29e4 Module libtinfo.so.6 with build-id 40d011d30ae4d642136c7d8163ad5a3a1e510820 Module libgpm.so.2 with build-id 07aa4da11c1a00d0765db824bd11b9791bf22942 Module libxml2.so.2 with build-id 3b02baa8c3e85d3601b434a4fdfafd383d29d783 Module libXfixes.so.3 with build-id 515e2f9139aadc9e275abbfe7c0aa49a0d31b8cb Module libXinerama.so.1 with build-id 5a76407b56b10810711c5345defbdf4e2dad3897 Module libXrandr.so.2 with build-id 0372dfb32a5c0d113819e1167f75c81c751373a8 Module libdbus-1.so.3 with build-id d5f96ed72fb9faefa5d75bbc79db165e895f506f Module libacl.so.1 with build-id 10f984c014a2f7b28613cd44a98cf1d2e4a5eb24 Module libcairo.so.2 with build-id 48feebcd296c6d353cf5f6e385180362219f166a Module libglib-2.0.so.0 with build-id bb4f45b154fabbfb52325e26388bc1eb94154c5a Module libgobject-2.0.so.0 with build-id e085864b2e5e90fe1dcd4a9c4698a0446e7f79ff Module libgdk_pixbuf-2.0.so.0 with build-id 2c2c8cf1085b910a682d0ac9078dce999e2a875f Module libgio-2.0.so.0 with build-id bf0e6362e7b2f342570cc7d28c2708b09b3634c9 Module libm.so.6 with build-id 89539382d8498ed1ab6426f442dbfd2976e9303c Module librsvg-2.so.2 with build-id db07b8609508e07840554ca6563f953996daa8e9 Module libasound.so.2 with build-id 9499f0332b625cafb50e5d0fac4b9b70c7bcd0dc Module libXrender.so.1 with build-id 23dd581f5d93297dc5c508f03e224f9860af8217 Module libX11.so.6 with build-id 692ceb08bd361ef2ea7caaa0926de19466d6f3ad Module libXext.so.6 with build-id d3ac3e1515190245564a30a611f4a2a4eb94a617 Module libICE.so.6 with build-id 6a0429d9840edac7a76507600758dfad21dbae99 Module libSM.so.6 with build-id 934950c93be01703ce94d26738d1f9aa1f7a9096 Module libXt.so.6 with build-id 932a859be84231f3dd466bc0ab6ab50b73924122 Module libXmu.so.6 with build-id 3528615d26bf0f9135a891572710d3dcff99bcd7 Module libXaw3d.so.6 with build-id 6fda728c42c55e0191091b66601f081967e55aa4 Module libwebp.so.7 with build-id 23fa061dd0c70d882df0f19ca3535ee1c5b142d7 Module libwebpdemux.so.2 with build-id b9f941bbea322013385dd6716dbd2289a16f617d Module libXpm.so.4 with build-id 1f2dd817d18808f7122857a252faa77d6ed56109 Module libgif.so.7 with build-id f9a731f11245de181862edf5563cca8ea9cbc4a3 Module libpng16.so.16 with build-id 24720328fb61293ea32d8283c030fc0431082f65 Module libjpeg.so.62 with build-id 12da81e724cd81f4c71e54182d94d21f2bab27df Module libtiff.so.5 with build-id 14e6f44bec2833d451aec36cc714e1ecf3827c38 Stack trace of thread 318911: #0 0x00007f37c9503859 syscall (libc.so.6 + 0x103859) #1 0x00007f37ca2d28d0 g_child_watch_source_new (libglib-2.0.so.0 + 0x558d0) #2 0x000055e207d55f57 n/a (/home/blc/.local/src/emacs/src/emacs + 0x1e4f57) 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.413491 sec) at src/emacs-tests.el:175 passed 2/7 emacs-tests/seccomp/absent-file (0.033529 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 #f(compiled-function () #)() 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 (not (or ... ... ...)) ert-run-tests((not (or (tag :expensive-test) (tag :unstable) (tag :n ert-run-tests-batch((not (or (tag :expensive-test) (tag :unstable) ( ert-run-tests-batch-and-exit((not (or (tag :expensive-test) (tag :un eval((ert-run-tests-batch-and-exit '(not (or (tag :expensive-test) ( command-line-1(("-L" ":." "-l" "ert" "-l" "src/emacs-tests" "--eval" command-line() normal-top-level() Test emacs-tests/seccomp/allows-stdout condition: Info: Process output: Potentially relevant Seccomp audit events: ---- type=SECCOMP msg=audit(10/11/22 15:27:16.211:2373) : auid=blc uid=root gid=root ses=3 subj=unconfined pid=318911 comm=emacs exe=/home/blc/.local/src/emacs/src/emacs sig=SIGSYS arch=x86_64 syscall=pidfd_open compat=0 ip=0x7f37c9503859 code=kill ---- type=SECCOMP msg=audit(10/11/22 15:27:16.823:2383) : auid=blc uid=root gid=root ses=3 subj=unconfined pid=318937 comm=emacs exe=/home/blc/.local/src/emacs/src/emacs sig=SIGSYS arch=x86_64 syscall=pidfd_open compat=0 ip=0x7f7669903859 code=kill Potentially useful coredump information: PID: 318937 (emacs) UID: 0 (root) GID: 0 (root) Signal: 31 (SYS) Timestamp: Tue 2022-10-11 15:27:16 EEST (1s ago) Command Line: /home/blc/.local/src/emacs/src/emacs --quick --batch --seccomp=/home/blc/.local/src/emacs/lib-src/seccomp-filter.bpf $'--eval=(message "Hi")' Executable: /home/blc/.local/src/emacs/src/emacs Control Group: /user.slice/user-1000.slice/user@1000.service/app.slice/app-org.gnome.Terminal.slice/vte-spawn-03d902e7-d88b-42b9-8e05-540e380186c3.scope Unit: user@1000.service User Unit: vte-spawn-03d902e7-d88b-42b9-8e05-540e380186c3.scope Slice: user-1000.slice Owner UID: 1000 (blc) Boot ID: 5f7a30b1c98644cd92904f59658b6bd7 Machine ID: 1eaf00d04e87431584dd7dfc9cf6503c Hostname: tia Storage: /var/lib/systemd/coredump/core.emacs.0.5f7a30b1c98644cd92904f59658b6bd7.318937.1665491236000000.zst (present) Disk Size: 4.2M Package: systemd/251.5-1 build-id: 104d02501574655e7bf9d87f14c9d6a537b0446f Message: Process 318937 (emacs) of user 0 dumped core. Module /home/blc/.local/src/emacs/src/emacs with build-id 104d02501574655e7bf9d87f14c9d6a537b0446f Metadata for module /home/blc/.local/src/emacs/src/emacs owned by FDO found: { "type" : "deb", "os" : "debian", "name" : "systemd", "architecture" : "amd64", "version" : "251.5-1", "debugInfoUrl" : "https://debuginfod.debian.net" } Module linux-vdso.so.1 with build-id e14a78332591687c6ecc5aaab7d80c97f73059c7 Module libgpg-error.so.0 with build-id 7fdce7d73bd3fde9dc772242e2a0d32fee06ffba Module libdatrie.so.1 with build-id 57f62fe2ce6d6db200f0f8cfee3cc987b25a9e2f Module libbrotlicommon.so.1 with build-id 3c671f721b58fd96b70ba426a215b3c43847bbf5 Module libicudata.so.71 with build-id c2e714254cd127c573a0f401b369b36455875e5e Module libblkid.so.1 with build-id d3e947026c74ed40701063d17ae59a2f6e51abcb Module libfribidi.so.0 with build-id df6a1c7bc544c74c18a8635e3e65965a1fb529c3 Module libpangoft2-1.0.so.0 with build-id 7665226d35e490413282233bb338a8ad7fa67343 Module libXdmcp.so.6 with build-id 1d12a8566670c95b1b02e341400060d2d825aade Module libXau.so.6 with build-id 84ffa90fee1b716cdc7d8349be47ed6ca4761b75 Module libmd.so.0 with build-id bfcdab3e6fabdc0d6f3e3e7d562330e80601a5af Module libstdc++.so.6 with build-id 00bbb52a4fbeaea07adbaa5ddc677c5d83686151 Module liblz4.so.1 with build-id 29e700d84270c3d01e8e156816591eb4e1b1ea77 Module libgcrypt.so.20 with build-id d8679f5ba3b9d55740e274eaaf8bea33fa76eaa9 Module libcap.so.2 with build-id a6034f7fc277ee9d9714c2b288b419498225156f Module libhogweed.so.6 with build-id 568595f2db0c8a2a59fc8aeb153db78ca51d0168 Module libnettle.so.8 with build-id df9d509c9055db57df09603aab0fc4c66ad2837c Module libtasn1.so.6 with build-id 1d312752ce136a80ebceeb73404c90fbd4e4f78d Module libunistring.so.2 with build-id 926062d8c8d5bfcbfaf7bad9b41cf4f073ee521e Module libidn2.so.0 with build-id ddba28970641f1f110f7585d57dc5867e2ee4ffd Module libp11-kit.so.0 with build-id 97832cbdb52c48f1422b9e70802112b0cc6587f3 Module libthai.so.0 with build-id 11b774e6b958fa6734f1a721527e1596e34ecd00 Module libgraphite2.so.3 with build-id 5b00ca1eda239ea043d7eae3b0fd4481560a907e Module libexpat.so.1 with build-id 0fa805792649d58f26fa59d23e9f5355ba67cca2 Module libbrotlidec.so.1 with build-id 1160b28572b6a6fc5674f5db1333716d4ba9e55f Module libicuuc.so.71 with build-id 0c1744749cfb2e6d9d20139dcf60227b47867b45 Module libxcb-render.so.0 with build-id ca78dfc48f5a2593d9dc3b1d439740c6abad3f1c Module libxcb-shm.so.0 with build-id 77958cefc38a0b1edb4d0f4b76817b05ac6ec605 Module libpixman-1.so.0 with build-id 2ba0d88f718a0fef93d759cfc90bc650cdee38ba Module libpcre2-8.so.0 with build-id 5aa43e3778622f4b95261331e97a45be5b87481d Module libffi.so.8 with build-id bb0fa5371874ba431e7cd9dc2df93922de436fa9 Module libmount.so.1 with build-id e29bc51dddfc4e370eb7eac9ff29df81efdbf22c Module libgmodule-2.0.so.0 with build-id aebe8374486d296d7f8719f4cd5c2c6cdab1b700 Module libgcc_s.so.1 with build-id ff2b0e1755c393b12a0264f0115b14e8c9b6afcf Module libpango-1.0.so.0 with build-id 56468d1b5210773cf31bb8be42a16ef199a38b86 Module libpangocairo-1.0.so.0 with build-id d625ce8d575bda90b74d2a3a89120405e3202d27 Module libcairo-gobject.so.2 with build-id 05d67ae9df9913cfc114e0edbeb8bec4a2adc2fb Module ld-linux-x86-64.so.2 with build-id 2ec911d934ee173b32b5625478021b9423297733 Module libdl.so.2 with build-id 99d3223bb13e4fd9ac0c12a317ec58792029ba45 Module libxcb.so.1 with build-id 81156ba79b0ca3ca8d015453e333d16c3fcdc277 Module libbsd.so.0 with build-id 59d1016d46647c60df4cb173dc39fc1c0d98d370 Module libuuid.so.1 with build-id 6b0f1c26b65771068f1daa425dae3f769ce41a6c Module libpthread.so.0 with build-id 153269de6762974703648c928443c1dc953e9bf0 Module libdeflate.so.0 with build-id 8dd45d05f8c7bacfe3e762adce0626c61767fe22 Module libjbig.so.0 with build-id 22813d3e92e574d81165b92701d721fbe4c1861e Module libLerc.so.4 with build-id 026b7d95da31ef6e69c69dce122973e0cf41e498 Module liblzma.so.5 with build-id 2be514bf14fac8ce94c74072cd951ac7672bc96e Module libzstd.so.1 with build-id c483624c22368ac21336433d92ac9ce13e6bb2cc Module libc.so.6 with build-id 27c3fba848db13b62a9bcaf7439610ca18cd1787 Module libXcomposite.so.1 with build-id 0586ef2cab90572a843bb13ef98243e960b12689 Module libsqlite3.so.0 with build-id 32f1b847ed24dec95841095b18bac68d420ab268 Module libXi.so.6 with build-id 60f9e002b7042dc62091e10622202c9c2e8a093c Module libgmp.so.10 with build-id 0c00b6d88e6ba3d5177fdae0bd46d8b9d007dc59 Module libjansson.so.4 with build-id aee56a434cb99db267c03a66f3a4ed597cc53f0a Module libsystemd.so.0 with build-id cc8981b2d8d45ec2f9520277b7f56de7c79dfdb4 Metadata for module libsystemd.so.0 owned by FDO found: { "type" : "deb", "os" : "debian", "name" : "systemd", "architecture" : "amd64", "version" : "251.5-1", "debugInfoUrl" : "https://debuginfod.debian.net" } Module libz.so.1 with build-id 19168f84642e8fe27700f92388598565e59048ee Module liblcms2.so.2 with build-id 722394b7032f9933b9bdd5dc1bae3212e62c2f5e Module libgnutls.so.30 with build-id 333e23f509b65dbbd4c3f4c2dbbd1fe1296d358a Module libm17n-flt.so.0 with build-id 80254d7011bb83a362cbf250a21aed6440a4ddce Module libm17n-core.so.0 with build-id 5ceb915e87d90e49bc37353aed2939fd0d025e46 Module libotf.so.1 with build-id 1a89538b29cabc88ff5f609c5dd0080d9ce421e7 Module libharfbuzz.so.0 with build-id e0b44ba44fec74d8e3adee232f6477dd3bc7e0f2 Module libfontconfig.so.1 with build-id 3209e243ebaf08c058f6a17b9037cbdfecc3e72c Module libfreetype.so.6 with build-id 5d03f612aa76f7a175f1f23e5275809b0db692a4 Module libselinux.so.1 with build-id 827b23e6391a3374fa79e36bca36c41c8e6d29e4 Module libtinfo.so.6 with build-id 40d011d30ae4d642136c7d8163ad5a3a1e510820 Module libgpm.so.2 with build-id 07aa4da11c1a00d0765db824bd11b9791bf22942 Module libxml2.so.2 with build-id 3b02baa8c3e85d3601b434a4fdfafd383d29d783 Module libXfixes.so.3 with build-id 515e2f9139aadc9e275abbfe7c0aa49a0d31b8cb Module libXinerama.so.1 with build-id 5a76407b56b10810711c5345defbdf4e2dad3897 Module libXrandr.so.2 with build-id 0372dfb32a5c0d113819e1167f75c81c751373a8 Module libdbus-1.so.3 with build-id d5f96ed72fb9faefa5d75bbc79db165e895f506f Module libacl.so.1 with build-id 10f984c014a2f7b28613cd44a98cf1d2e4a5eb24 Module libcairo.so.2 with build-id 48feebcd296c6d353cf5f6e385180362219f166a Module libglib-2.0.so.0 with build-id bb4f45b154fabbfb52325e26388bc1eb94154c5a Module libgobject-2.0.so.0 with build-id e085864b2e5e90fe1dcd4a9c4698a0446e7f79ff Module libgdk_pixbuf-2.0.so.0 with build-id 2c2c8cf1085b910a682d0ac9078dce999e2a875f Module libgio-2.0.so.0 with build-id bf0e6362e7b2f342570cc7d28c2708b09b3634c9 Module libm.so.6 with build-id 89539382d8498ed1ab6426f442dbfd2976e9303c Module librsvg-2.so.2 with build-id db07b8609508e07840554ca6563f953996daa8e9 Module libasound.so.2 with build-id 9499f0332b625cafb50e5d0fac4b9b70c7bcd0dc Module libXrender.so.1 with build-id 23dd581f5d93297dc5c508f03e224f9860af8217 Module libX11.so.6 with build-id 692ceb08bd361ef2ea7caaa0926de19466d6f3ad Module libXext.so.6 with build-id d3ac3e1515190245564a30a611f4a2a4eb94a617 Module libICE.so.6 with build-id 6a0429d9840edac7a76507600758dfad21dbae99 Module libSM.so.6 with build-id 934950c93be01703ce94d26738d1f9aa1f7a9096 Module libXt.so.6 with build-id 932a859be84231f3dd466bc0ab6ab50b73924122 Module libXmu.so.6 with build-id 3528615d26bf0f9135a891572710d3dcff99bcd7 Module libXaw3d.so.6 with build-id 6fda728c42c55e0191091b66601f081967e55aa4 Module libwebp.so.7 with build-id 23fa061dd0c70d882df0f19ca3535ee1c5b142d7 Module libwebpdemux.so.2 with build-id b9f941bbea322013385dd6716dbd2289a16f617d Module libXpm.so.4 with build-id 1f2dd817d18808f7122857a252faa77d6ed56109 Module libgif.so.7 with build-id f9a731f11245de181862edf5563cca8ea9cbc4a3 Module libpng16.so.16 with build-id 24720328fb61293ea32d8283c030fc0431082f65 Module libjpeg.so.62 with build-id 12da81e724cd81f4c71e54182d94d21f2bab27df Module libtiff.so.5 with build-id 14e6f44bec2833d451aec36cc714e1ecf3827c38 Stack trace of thread 318937: #0 0x00007f7669903859 syscall (libc.so.6 + 0x103859) #1 0x00007f766a7328d0 g_child_watch_source_new (libglib-2.0.so.0 + 0x558d0) #2 0x000055d2e7fddf57 n/a (/home/blc/.local/src/emacs/src/emacs + 0x1e4f57) 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.407281 sec) at src/emacs-tests.el:122 passed 4/7 emacs-tests/seccomp/empty-file (0.033093 sec) passed 5/7 emacs-tests/seccomp/file-too-large (0.046143 sec) passed 6/7 emacs-tests/seccomp/forbids-subprocess (0.378007 sec) passed 7/7 emacs-tests/seccomp/invalid-file-size (0.020792 sec) Ran 7 tests, 5 results as expected, 2 unexpected (2022-10-11 15:27:17+0300, 1.557409 sec) 2 unexpected results: FAILED emacs-tests/bwrap/allows-stdout FAILED emacs-tests/seccomp/allows-stdout --=-=-= Content-Type: text/plain -- Basil In GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo version 1.16.0, Xaw3d scroll bars) of 2022-10-11 built on tia Repository revision: 61b6da5acef2d550022c664e628346539ba1852f Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12101004 System Description: Debian GNU/Linux bookworm/sid Configured using: 'configure 'CFLAGS=-Og -ggdb3' -C --prefix=/home/blc/.local --enable-checking=structs --with-file-notification=yes --with-x-toolkit=lucid --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 SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS WEBP X11 XAW3D XDBE XIM XINPUT2 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 line-number-mode: t indent-tabs-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message mailcap yank-media puny dired dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068 epg-config gnus-util text-property-search time-date subr-x 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 rmc 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 nadvice seq simple cl-generic indonesian philippine 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 abbrev obarray oclosure cl-preloaded 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 dynamic-setting system-font-setting font-render-setting cairo x-toolkit xinput2 x multi-tty make-network-process emacs) Memory information: ((conses 16 36541 7827) (symbols 48 5112 0) (strings 32 13858 1890) (string-bytes 1 380306) (vectors 16 9260) (vector-slots 8 147216 12174) (floats 8 23 25) (intervals 56 242 0) (buffers 1000 10)) --=-=-=--