unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Philipp Stephani <p.stephani2@gmail.com>
To: Glenn Morris <rgm@gnu.org>
Cc: Philipp Stephani <phst@google.com>, 47828@debbugs.gnu.org
Subject: bug#47828: seccomp test failures
Date: Sun, 18 Apr 2021 10:36:53 +0200	[thread overview]
Message-ID: <CAArVCkTGqQ7U8ES3ftYeaYNWFwfV9B4=k7u6uxoiEUTm4zgRRw@mail.gmail.com> (raw)
In-Reply-To: <CAArVCkRgs=LzdbkuQCsNUvFbRi4VXHs9H7vzx=32oqzqhnH22A@mail.gmail.com>

Am So., 18. Apr. 2021 um 10:32 Uhr schrieb Philipp Stephani
<p.stephani2@gmail.com>:
>
> Am So., 18. Apr. 2021 um 02:01 Uhr schrieb Glenn Morris <rgm@gnu.org>:
> >
> > Philipp Stephani wrote:
> >
> > > FYI, I've now pushed commit 568ce6826fa0aaa4d5dc95880cbdc0965dc07521
> > > to master which attempts to automatically collect this information to
> > > ease debugging such failures.
> >
> > It doesn't report anything in this case since the user account does not
> > have permission, and I normally disable core dumps (ulimit -c 0):
> >
> >     Test emacs-tests/seccomp/allows-stdout condition:
> >     Info: Process output:
> >
> >           Potentially relevant Seccomp audit events:
> >           Error opening config file (Permission denied)
> >           NOTE - using built-in logs: /var/log/audit/audit.log
> >           Error opening /var/log/audit/audit.log (Permission denied)
> >
> >           Potentially useful coredump information:
> >           [...]
> >           No coredumps found.
> >           -- Notice: 1 systemd-coredump@.service unit is running, output
> >           may be incomplete.
> >
> > With my root hat on, the audit.log data is attached.
> >
> > With core dumps enabled:
> >  #0  0x00007f7b661fb967 __mmap (libc.so.6)
> >  #1  0x00007f7b5ff8001e sss_nss_mc_get_ctx (libnss_sss.so.2)
>
> Thanks! Looks like the problem is in
> https://github.com/SSSD/sssd/blob/cd843dafe63589d0a77145445c454f6fc19dabae/src/sss_client/nss_mc_common.c#L171-L176,
> where the code calls mmap with flags that we don't allow yet
> (MAP_SHARED).
> Does MAP_SHARED have any security implications? Otherwise we can allow
> it right away.

Does commit 2822246b5d8154d0166e17ffd28a1d85b57d68aa fix the issue?





  reply	other threads:[~2021-04-18  8:36 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-16 16:53 bug#47828: seccomp test failures Glenn Morris
2021-04-17 18:21 ` Philipp Stephani
2021-04-17 19:54   ` Philipp Stephani
2021-04-18  0:01     ` Glenn Morris
2021-04-18  8:32       ` Philipp Stephani
2021-04-18  8:36         ` Philipp Stephani [this message]
2021-04-18 16:19           ` Glenn Morris
2021-04-18 17:16             ` Philipp Stephani
2021-04-18 21:58               ` Glenn Morris
2021-04-19  8:36                 ` Philipp Stephani
2021-04-19 15:49                   ` Glenn Morris
2021-04-19 16:00                     ` Philipp Stephani
2021-04-19 16:03                       ` Philipp Stephani
2021-04-19 16:39                         ` Glenn Morris
2021-04-19 19:31                           ` Philipp Stephani

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='CAArVCkTGqQ7U8ES3ftYeaYNWFwfV9B4=k7u6uxoiEUTm4zgRRw@mail.gmail.com' \
    --to=p.stephani2@gmail.com \
    --cc=47828@debbugs.gnu.org \
    --cc=phst@google.com \
    --cc=rgm@gnu.org \
    /path/to/YOUR_REPLY

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

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

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

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