[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CALCETrUpXrsjBLZsZU3u+y7KCDO0LW55QoBQkBqN_BPFZHsrkw@mail.gmail.com>
Date: Mon, 21 Nov 2011 14:34:17 -0800
From: Andy Lutomirski <luto@...capital.net>
To: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: "Rafael J. Wysocki" <rjw@...k.pl>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Maciej Rutecki <maciej.rutecki@...il.com>,
Florian Mickler <florian@...kler.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Kernel Testers List <kernel-testers@...r.kernel.org>,
Network Development <netdev@...r.kernel.org>,
Linux ACPI <linux-acpi@...r.kernel.org>,
Linux PM List <linux-pm@...ts.linux-foundation.org>,
Linux SCSI List <linux-scsi@...r.kernel.org>,
Linux Wireless List <linux-wireless@...r.kernel.org>,
DRI <dri-devel@...ts.freedesktop.org>
Subject: Re: 3.2-rc2+: Reported regressions from 3.0 and 3.1
On Mon, Nov 21, 2011 at 2:11 PM, Linus Torvalds
<torvalds@...ux-foundation.org> wrote:
> On Mon, Nov 21, 2011 at 1:49 PM, Rafael J. Wysocki <rjw@...k.pl> wrote:
>>
>> Subject : [3.1 REGRESSION] Commit 5cec93c216db77c45f7ce970d46283bcb1933884 breaks the Chromium seccomp sandbox
>> Submitter : Nix <nix@...eri.org.uk>
>> Date : 2011-11-14 0:40
>> Message-ID : 8762inleno.fsf@...ndle.srvr.nix
>> References : http://marc.info/?l=linux-kernel&m=132123396226377&w=2
>
> So this should be fixed by commit 2b666859ec32 ("x86: Default to
> vsyscall=native for now"), since we disabled the vsyscall emulation
> because it broken UML too.
I don't think so. I think the issue is that the chromium sandbox is
trying to use getcpu, time, or gettimeofday from seccomp mode and the
kernel is (IMO correctly) sending it SIGKILL. Nix can trigger the bug
in vsyscall=native mode, so it's not the emulation. (If it's
gettimeofday, then it's definitely not a regression. vgettimeofday
would SIGKILL in seccomp mode with any timing source other than rdtsc
or hpet even on old kernels.)
I sent a patch to show which syscall is causing SIGKILL and haven't
heard back. Meanwhile, I'm downloading the 1.1GB (!) tarball to see
if I can reproduce it here. Fedora's build didn't trigger it for me,
probably because the sandbox was disabled.
To try to reduce the incidence of this stuff in the future, and to
make vsyscall=none and UML more useful, I filed this bug:
http://sourceware.org/bugzilla/show_bug.cgi?id=13425
--Andy
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists