From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DFC33C07E9B for ; Wed, 7 Jul 2021 18:54:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id ACD8A61CC2 for ; Wed, 7 Jul 2021 18:54:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230019AbhGGS5X (ORCPT ); Wed, 7 Jul 2021 14:57:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44282 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230111AbhGGS5W (ORCPT ); Wed, 7 Jul 2021 14:57:22 -0400 Received: from mail-ed1-x532.google.com (mail-ed1-x532.google.com [IPv6:2a00:1450:4864:20::532]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 78B62C061764 for ; Wed, 7 Jul 2021 11:54:41 -0700 (PDT) Received: by mail-ed1-x532.google.com with SMTP id h2so4794428edt.3 for ; Wed, 07 Jul 2021 11:54:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paul-moore-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ugbA+4JXRP1mJwLMiXh8sHPiNT5dm+iRolBoqcwvGKM=; b=UWmdMoSC6n6QgehfuVD18jZrfRnAzOQu/YMvpyvP1FIKUp3BE0/9X7ze+Nr5kV6fzs fNG/XxtM+aTtgosF3KIaFgB2xxVqlo9KjZhsZj0LNmOs535WsATvLMEWrkA9+uzQO5WZ hLiWBNIXX8dW1gOk3PDCbjhD0UJtDraRimRZCedJTnw3SJSubzpyzBsQQ5Wv9JFk5w9O GBs4V4067U1+f0SXZxlAq6cHUbn52Syibvd60smJNE8lDop7PUDEiluj0fntQJZjlrMo xKy7+LSHA87ej/o1Qc6q7QbrTtWd4fsCMB8GTFTwATdAR+b/yqrELwX8SDK/L3lq2V/B UuEQ== 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=ugbA+4JXRP1mJwLMiXh8sHPiNT5dm+iRolBoqcwvGKM=; b=N49MdOAHpEN/PMRu28GJjywLwtLkhbBREr/fVCgT+oiozxr0eq2oH4zBXV3+hmMKhu 9YDUW/EDsrKEyJgTu7zHDsq40FqfcZSXeG7gW7sEcsr9Rg/bboUXDABVV8UY3mM3KsXT gFwgnlAgh29NK7NUAQfBQMAiEC3BOXR9/Xqu9U3Ph8xOskT6W35lsyZUvhXERV/uUw6N MvLfKnBaEBLBuNi5v3aJJLcyATmvvdEj8LSq/CjVO/TXQQ0MoDgsR2/wexdjcaEVnhz5 GCOqDinxt7NOVmg70e1GRcV3L6O3VKM5uxFFPVZOubIm7rVmQNDIvxjK+yjCGkjovfCc YJ8Q== X-Gm-Message-State: AOAM531tgilJ6K1aXFRhcSAV/E9UbNgt0yXx8gxoRNGMcWEJLLWTJD15 JgmqrtMoSOjn1lNaPCZK6J6jXyCwWaWnLx1YPgO2 X-Google-Smtp-Source: ABdhPJzwqV7FHm5eRzTwBwwPAUceWy+Y8yEhnDSBxTccP6bRO19RRdsI4wJHLd3uGtrVGw7qkCnAGwX2QsTdxop5hlo= X-Received: by 2002:a05:6402:2681:: with SMTP id w1mr31964013edd.275.1625684079863; Wed, 07 Jul 2021 11:54:39 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Paul Moore Date: Wed, 7 Jul 2021 14:54:28 -0400 Message-ID: Subject: Re: [linux-audit/audit-kernel] BUG: audit_classify_syscall() fails to properly handle 64-bit syscalls when executing as 32-bit application on ARM (#131) To: Yury Norov Cc: Andreas Schwab , Catalin Marinas , Arnd Bergmann , "linux-audit/audit-kernel" , "linux-audit/audit-kernel" , Mention , Xiongfeng Wang , bobo.shaobowang@huawei.com, "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-doc@vger.kernel.org" , "linux-arch@vger.kernel.org" , "linux-api@vger.kernel.org" , Adam Borowski , Alexander Graf , Alexey Klimov , Andrew Pinski , Bamvor Zhangjian , Chris Metcalf , Christoph Muellner , Dave Martin , "David S . Miller" , Florian Weimer , Geert Uytterhoeven , Heiko Carstens , James Hogan , James Morse , Joseph Myers , Lin Yongting , Manuel Montezelo , Mark Brown , Martin Schwidefsky , Maxim Kuvyrkov , Nathan_Lynch , Philipp Tomsich , Prasun Kapoor , Ramana Radhakrishnan , Steve Ellcey , Szabolcs Nagy Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-api@vger.kernel.org On Wed, Jul 7, 2021 at 2:44 PM Yury Norov wrote: > On Mon, Jul 05, 2021 at 12:48:42PM +0200, Andreas Schwab wrote: > > On Jul 02 2021, Yury Norov wrote: > > > > > At least Marvell, Samsung, Huawei, Cisco and Weiyuchen's employer > > > actively use and develop arm64/ilp32. > > > > This is good to know. Where can I get the uptodate kernel patches for > > ILP32? > > > > Andreas. > > The latest kernel supported by me is 5.2: > https://github.com/norov/linux/commits/ilp32-5.2 > > I know about working ports of ILP32 on 5.7 and 5.10, but didn't see > the code and testing results. Hopefully Paul Moore and Weiyuchen will > share more details. To be clear, I have not done any work with ILP32 nor do I have any immediate plans to do so (other tasks are higher priority). I am not sure what details you are looking for, but there are several arches/ABIs in the kernel, including regular aarch64, that can serve as examples on how to enable syscall auditing (presumably that is what you are interested in with this thread). There may be some interesting challenges with ILP32 due to overlap with aarch64 syscalls, but I haven't looked closely enough at ILP32 to say that with any certainty. -- paul moore www.paul-moore.com