Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2D1E2C433EF for ; Wed, 12 Jan 2022 17:20:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1355547AbiALRT7 (ORCPT ); Wed, 12 Jan 2022 12:19:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58804 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1355539AbiALRTv (ORCPT ); Wed, 12 Jan 2022 12:19:51 -0500 Received: from mail-ed1-x533.google.com (mail-ed1-x533.google.com [IPv6:2a00:1450:4864:20::533]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C7318C06173F for ; Wed, 12 Jan 2022 09:19:48 -0800 (PST) Received: by mail-ed1-x533.google.com with SMTP id u25so12791298edf.1 for ; Wed, 12 Jan 2022 09:19:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paul-moore-com.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=65QBkl5auowwKruiCd5ekhebx9aA5QGzBldNP4dKx3o=; b=dR9/pPQ3umiUBcOlQtP4NkG7UVl+VgSiD6Gj4ESG3BI5Rd7eU3PraGGHCWjtGvJoJ4 kWur2vjIEaqWlFGcRkft+wiCc3zVto+ZCKuCJcJVfVrlmU3v1Q8N3QxyRGY0HFiFKokK rncMBQNjJs29Bp4qYGukrpNEgf1BoZIYNZVYdThJ2vbve7yQPf5RZXm9G8wXtg83mOqf SzED2QYbQYhQowA9le+O2WzhI2joFFcqNVh0VnMuPZTBusvIHA4szTzmuLcTbnnLrYew ONN7nPhum87e3WIZ9Jac30F2kq0Lu+/K0Z0qSTHRZGVjyjZzODhzhKRoEeFYOQ0LbAvN 90zw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=65QBkl5auowwKruiCd5ekhebx9aA5QGzBldNP4dKx3o=; b=Vr/3ogbYw+yUJFFy5vcotOkks/CttRieh7Oz4TdMJHeC6b7PSTQldlnGM6mL5aljW5 1hUYXhlzQ5uJGiRrseMETI3hHgS6qXiroGAfP2feSAP//QZa0/kFBbH7n3YO5K3CiVLx 2jRO8f5O44pXz43Gtt2xO6GyFJ7XSGoO9nqhz8YMlisQh+Se8WKsLOfxnAxRI1/vYgBB e69ZoRBr2J0Wze0FAz5fQS8RRTJqVBgNmbaKGeG1pv46un7unLL6dasyMu2yO/74dCRf JGB+jWLpTYAarEp9XldrVt42uVKfhrtiotiq4UDiDTpN5ctQepb4xCk6WIwNHJmfdqlc dMhg== X-Gm-Message-State: AOAM531r2usCXF2JfVjqac3HlaCiYjARb0HNNAveLNDD3OxiJg+Vw8W+ XdxC2WaEpfujVb4WN85fp2MFNw2gUf7SpmTJWXCD X-Google-Smtp-Source: ABdhPJwGYiCNrfdiEoAyumDRSQUhGOk5sh0PJ0caxAP6QVabEe2bblxKkriHKYt2iErce9Oc+wD+9RhZ2X3N1F2eWts= X-Received: by 2002:a17:907:1b0d:: with SMTP id mp13mr552754ejc.29.1642007987184; Wed, 12 Jan 2022 09:19:47 -0800 (PST) MIME-Version: 1.0 References: <20211026133147.35d19e00@canb.auug.org.au> <87k0i0awdl.fsf@mpe.ellerman.id.au> <87tuh2aepp.fsf@mpe.ellerman.id.au> <2012df5e-62ec-06fb-9f4d-e27dde184a3f@csgroup.eu> <1a78709f-162e-0d78-0550-4e9ef213f9c6@csgroup.eu> <102e59ba-fcf0-dd85-9338-75b7ce5fbd83@kaod.org> <5f83d1fe-4e6e-1d08-b0c2-aec8ee852065@csgroup.eu> <23e9c126-d167-254f-2f4b-391e9f01396c@csgroup.eu> In-Reply-To: <23e9c126-d167-254f-2f4b-391e9f01396c@csgroup.eu> From: Paul Moore Date: Wed, 12 Jan 2022 12:19:36 -0500 Message-ID: Subject: Re: linux-next: manual merge of the audit tree with the powerpc tree To: Christophe Leroy Cc: =?UTF-8?Q?C=C3=A9dric_Le_Goater?= , Stephen Rothwell , Richard Guy Briggs , Linux Kernel Mailing List , Linux Next Mailing List , PowerPC Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Dec 17, 2021 at 9:11 AM Christophe Leroy wrote: > Le 17/12/2021 =C3=A0 00:04, Paul Moore a =C3=A9crit : > > On Thu, Dec 16, 2021 at 4:08 AM Christophe Leroy > > wrote: > >> Thanks C=C3=A9dric, I've now been able to install debian PPC32 port of= DEBIAN > >> 11 on QEMU and run the tests. > >> > >> I followed instructions in file README.md provided in the test suite. > >> I also modified tests/Makefile to force MODE :=3D 32 > >> > >> I've got a lot of failures, am I missing some options in the kernel or > >> something ? > >> > >> Running as user root > >> with context root::: > >> on system > > > > While SELinux is not required for audit, I don't think I've ever run > > it on system without SELinux. In theory the audit-testsuite shouldn't > > rely on SELinux being present (other than the SELinux specific tests > > of course), but I'm not confident enough to say that the test suite > > will run without problem without SELinux. > > > > If it isn't too difficult, I would suggest enabling SELinux in your > > kernel build and ensuring the necessary userspace, policy, etc. is > > installed. You don't need to worry about getting it all running > > correctly; the audit-testsuite should pass with SELinux in permissive > > mode. > > > > If you're still seeing all these failures after trying that let us know= . > > > > Still the same it seems: > > Running as user root > with context unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c10= 23 > on system > > # Test 3 got: "256" (backlog_wait_time_actual_reset/test at line 151) > # Expected: "0" > # backlog_wait_time_actual_reset/test line 151 is: ok( $result, 0 ); > # Was an event found? My apologies, this thread was lost in the end-of-year holidays. At this point, and with that many failures, I think you'll need to spend some time debugging the test failures to see what is wrong. I don't have a PPC32 system/VM and I don't have the time right now to build up a PPC32 test environment. --=20 paul moore www.paul-moore.com