Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp2859395pxk; Tue, 15 Sep 2020 04:23:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxe7SENJCNiplEx5x1Oqio0Hklb02Fhp2ZhD9bv1Hc8hGMUQSLTcmBJVe8cZY/+w6ahhYV8 X-Received: by 2002:a17:906:4c89:: with SMTP id q9mr20363193eju.290.1600169015297; Tue, 15 Sep 2020 04:23:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600169015; cv=none; d=google.com; s=arc-20160816; b=BCO2NIUJ77fFAmcNadEDPEkaDid+6qKVOfZAvE3xsE+yyDRt/llOG4R27phPbLoHIo 1h09UMwdZp6L59JhGu4HvhosedC+lBEUjVBn2+FC/IZfIiu1eKzxASzz5EhdLTmTMcOi nmA23QzrAfRCdUSe5RxjchVeriU5EcRXZE1rBg8m9tOMwAYwok3jMkLEEtFbds3MJ04j wO4yoYNhMeS4jeuHDrtzRi7xGH5+PKWfWMWWAVInbo7iGIb5yMKG3Ig//Zoz5OD2/xDw voAAliiHFi3gDLtR9qovvlBPQxQTOJzUL6cCsNvA0x5e+x9U+nKXFgMizRtQVe5At/5R GwNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=B4bOYSHsWHocnYArElpYthybN5SxC006LAFmz/36FHU=; b=IeVBf9c26zAg4FhAuIGZOS+Tp3ks/0epxx9yr5GINZxLbPBA/sJNL+KJ1bqIsvrXB1 g91dkV7hHdjIg3hDi1JR3rqG+5CG5Fv4BSeLlQh5KHqrgc8TYt/rgPmZngqFwfs6WEtw L1YBC6aY9bEt6XOAxKAr/4GE2TvfF850uCl6dSwVRz7/zO5PAk+6M174oJlhPxJ/bIvG 4HSgCmzhxI4WnjAHSENnj+vOB/WAhOoYQJqYp3euSHujJaHdLN/6GIdjW67EaNvNeGss 09RQUIax1cxC7LLTra2W14mq9jynqPMtknFrX0ky1kCtf2h0QReYZePhJa+yA2ONEdON mB1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="Z/MAEsVT"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f19si9084066ejx.348.2020.09.15.04.23.12; Tue, 15 Sep 2020 04:23:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="Z/MAEsVT"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726140AbgIOLQk (ORCPT + 99 others); Tue, 15 Sep 2020 07:16:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60074 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726149AbgIOLMp (ORCPT ); Tue, 15 Sep 2020 07:12:45 -0400 Received: from mail-ej1-x641.google.com (mail-ej1-x641.google.com [IPv6:2a00:1450:4864:20::641]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E15F6C06174A; Tue, 15 Sep 2020 04:12:37 -0700 (PDT) Received: by mail-ej1-x641.google.com with SMTP id z22so4437072ejl.7; Tue, 15 Sep 2020 04:12:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=B4bOYSHsWHocnYArElpYthybN5SxC006LAFmz/36FHU=; b=Z/MAEsVTEnQKv9yb0HSOEZbJscLkrEI2KA6jePSwMg1TwHWUG2zmL/K+AbtjHO6/2o aIcnbhckWr6rgCmNGSrXn/T9XMsHZZKm/PsdMekg45hebYJEoEh6DtSQc6AwPL0FexMQ QEcy40U+GKpucQlCREx876BJYFzTaICPrYW4syFH6C95NZecWVgDFi7ziO/VvX17lotJ DDZY+9PHfKcooxB486MYcbnHky26yYukszeQjs76Kwm/6X3Co9rV5HLW0BzJkHQ4SNlQ 948TjdNG8+d8rKLvuzJokO+1T8T3AZzYmxIxeK7CMSgHmOVQw0cHLexkCCkg+JNIGJLn Ny/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=B4bOYSHsWHocnYArElpYthybN5SxC006LAFmz/36FHU=; b=JylZ1zrcUFvjjAjzNM5oeIOUN2UCaOTkDESSxSRb0bPB6Sr/IPrjM2RqcNIuNaTFnt szDWL0/a6c4VmpMkajWoh3G1f4fkUb23pNscttHfyE5YcXsOqt6s80T0vW0oEgrYQax7 w1A07oRnsYzJMWjMhllr8KHaFPjQcpyVkCeRj6Yty5PvvIPgB4AUuekP4WiKsbKxnesL lxAYhQ8arCoNJB9vEE04yzmS8keenNT6wgRzridBEJ2HnM9cErNU9e9gMeOQtqVmnTfH wsQvvrP+AqL7MnBfWER0VAziN3AcStVoLpb8lJ84P+x0UR5o/lI18gPS0WIrXgJdxdAa SGyQ== X-Gm-Message-State: AOAM531bmONJCFQT3H+0vuqNMhZjJHmHf9YY4WRJsVsYEancMGo3B0rm yOGQWs2HemLZdlxzimQ+Pf+7rsOmJ/IIF3x3z+rJrYgo X-Received: by 2002:a17:906:30c5:: with SMTP id b5mr19838526ejb.98.1600168356388; Tue, 15 Sep 2020 04:12:36 -0700 (PDT) MIME-Version: 1.0 References: <20200912110820.597135-1-keescook@chromium.org> <87wo0wpnah.fsf@mpe.ellerman.id.au> <202009141321.366935EF52@keescook> In-Reply-To: <202009141321.366935EF52@keescook> From: Max Filippov Date: Tue, 15 Sep 2020 04:12:24 -0700 Message-ID: Subject: Re: [PATCH 00/15] selftests/seccomp: Refactor change_syscall() To: Kees Cook Cc: Michael Ellerman , LKML , Thadeu Lima de Souza Cascardo , Christian Brauner , Andy Lutomirski , Will Drewry , linux-kselftest@vger.kernel.org, linux-mips@vger.kernel.org, "open list:TENSILICA XTENSA PORT (xtensa)" , linux-arm-kernel@lists.infradead.org, linuxppc-dev@lists.ozlabs.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Sep 14, 2020 at 1:32 PM Kees Cook wrote: > On Mon, Sep 14, 2020 at 10:15:18PM +1000, Michael Ellerman wrote: > > Kees Cook writes: > However... > > > > > cheers > > > > > > ./seccomp_bpf > > TAP version 13 > > 1..86 > > # Starting 86 tests from 7 test cases. > > # RUN global.kcmp ... > > # OK global.kcmp > > ok 1 global.kcmp > > [...] > > # RUN global.KILL_thread ... > > TAP version 13 > > 1..86 > > # Starting 86 tests from 7 test cases. > > Was this a mis-paste, or has something very very bad happened here in > global.KILL_one_arg_six finishes? I observe similar output corruption on xtensa when I redirect test output into a file or pipe it to 'cat'. When it goes to the terminal it looks normal. -- Thanks. -- Max