Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp5880536pxv; Wed, 7 Jul 2021 14:03:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzsN2/DOm1pCfB5KTtWq8oaAp7VpYg9bt5f8E63DU0GAklF7uKuonS/jQ/ajIuJZC5BBeVn X-Received: by 2002:a05:6638:2515:: with SMTP id v21mr12222484jat.141.1625691783359; Wed, 07 Jul 2021 14:03:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625691783; cv=none; d=google.com; s=arc-20160816; b=nWC1S3ke2ULqrxWs296uYs/epy+NSzjjyod8QdxSPy18Uv8f9GUh/n1Z+Bc6/EHtvf s+imLhFf6+eaQjSt8pIKmqtVyyHK8u8xfNZ9yapHEuUPh8ud8tKjYrlSjw2fdAQfW1gG mekk8jeDH+PoptEXlXsXPkWcnGr2pQ5LHtC9vLHgeH+7gmgkgca5ZTIjwvll218cffzR tSQYp0KrtLLbP8QFSis1XB0Bzbca1D7eR+74syJVXVJIriQ8I8bBA5iKGQascg2G2l0c UD728KoV8blH32vxnz3s3qmSQyGtK8hDah8dGvW8RZeIOlP6k0EdgXZiT7CO1BoJ2zis fQyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=ugbA+4JXRP1mJwLMiXh8sHPiNT5dm+iRolBoqcwvGKM=; b=xQ/9HiQhWT8ipjsKebYy8HF3YhhZnd/OKeWC4dNcwKmQuPB/MdgEI86BpvVGUq4JHV UDlvHoWLC+w5JImQuAUhnMMxqQ0WbA1nsxNjTDU883Dh6E44MsJZpCpg19INfH0axlGW AlYaWw2L5vpdj9yeilAJiVRIreya3EERsRSUMtMdpXOtCMh6vw26vtsXlSw4Wqeh7tmQ K98kEFHQ1ghuB1i15NYftagkXlSU182lEjbGQCTH6bpD/FKerwm/RSN0rwEVlVFAFrkb oHNIyRPQdtt4RkFc3eUC9Co3BqoQp1ocivkMAKl1XOuQ5vEkpKD+9Imel2jcUs9D4WQa jD2A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@paul-moore-com.20150623.gappssmtp.com header.s=20150623 header.b=UWmdMoSC; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w3si42517jap.29.2021.07.07.14.02.24; Wed, 07 Jul 2021 14:03:03 -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=@paul-moore-com.20150623.gappssmtp.com header.s=20150623 header.b=UWmdMoSC; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230029AbhGGS5X (ORCPT + 99 others); Wed, 7 Jul 2021 14:57:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44276 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230032AbhGGS5W (ORCPT ); Wed, 7 Jul 2021 14:57:22 -0400 Received: from mail-ed1-x52d.google.com (mail-ed1-x52d.google.com [IPv6:2a00:1450:4864:20::52d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 521F8C06175F for ; Wed, 7 Jul 2021 11:54:41 -0700 (PDT) Received: by mail-ed1-x52d.google.com with SMTP id m1so4754833edq.8 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=l8T4hoOQyassmJtWfSmE+bCE06UOU7hqLXz+p61KIZG4LnS/llzOK3BukB3HX1uuyh zCbgmws6HhtN/8cUYioeAsAtaOCdi5J4O5xFwccwiAvvt3t6SgAC1mqHjt0di1LlxLv9 24oCzSfsBdPJT/9UWnIyrEB7wityQD4aHIt79+7EWdOP2m1AfGMR+U3bqoHKPAkMigMF ynvA+Xaq2uRKjWBbgDNjxCgZnTLz6N2mUEFvJEnXL1p1drNy6buRcP2bu0vIPewSXNbi Ysvm+rsyuq78VdfW7kpIB38WHNL7f/02uAMhjcQToiJETawSe3370YS2NRMs8a8iSVFE OQIw== X-Gm-Message-State: AOAM531it9TaVTZnA0DW9+YbDNb44jS2MLHHP/3b7FJJ02ToZNzrLJk6 gRsr5G+YZHcpiZzoR/eEUGV01tSIcBJlP5cxRMpg 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-kernel@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