unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Philipp Stephani <p.stephani2@gmail.com>
To: "Basil L. Contovounesios" <contovob@tcd.ie>
Cc: 51073@debbugs.gnu.org
Subject: bug#51073: 28.0.60; SIGSYS in emacs-tests/bwrap/allows-stdout
Date: Sat, 9 Oct 2021 19:25:22 +0200	[thread overview]
Message-ID: <CAArVCkTaZhTRVO1LzqqeRtbUTSipms-+8gAh44N0uWnq=B7mNw@mail.gmail.com> (raw)
In-Reply-To: <878rz52kl8.fsf@tcd.ie>

Am Do., 7. Okt. 2021 um 12:32 Uhr schrieb Basil L. Contovounesios
<contovob@tcd.ie>:
>
> 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.





  reply	other threads:[~2021-10-09 17:25 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-07 10:30 bug#51073: 28.0.60; SIGSYS in emacs-tests/bwrap/allows-stdout Basil L. Contovounesios via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-10-09 17:25 ` Philipp Stephani [this message]
2021-10-09 17:43   ` Philipp Stephani
2021-10-11 20:39     ` Basil L. Contovounesios via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-01-21 14:14       ` Basil L. Contovounesios via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-01-22 16:20         ` Philipp Stephani
2022-01-22 21:34           ` Basil L. Contovounesios via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-01-23 13:16           ` Andreas Schwab

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAArVCkTaZhTRVO1LzqqeRtbUTSipms-+8gAh44N0uWnq=B7mNw@mail.gmail.com' \
    --to=p.stephani2@gmail.com \
    --cc=51073@debbugs.gnu.org \
    --cc=contovob@tcd.ie \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).