Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp3749662pxv; Mon, 5 Jul 2021 04:58:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwfJPs8f+4UmArhRzJJ7E4Vds00nbL/Fi7tEIAlT99qyOwMab2FsH+/h3IeSxonkXdsvSOK X-Received: by 2002:a17:906:c302:: with SMTP id s2mr12823080ejz.151.1625486292732; Mon, 05 Jul 2021 04:58:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625486292; cv=none; d=google.com; s=arc-20160816; b=i4nm9aZz0CUaxoKO00ABogZfVgTMrRZCkoc+MLaUHxVg5VYDZgqZN6U/MLfeumaS5x OYj1DT0wCJ4zkpzNNVa7fgBHFZrB0urpI9G/QHScM+DglF70oTYedbEjh0ery29Egh2w 5wvCvTnWHkSEIW1uHdp+nyEc1OE1WmsKeYpxAfwKR+N0qpp+3CMKysUEWnZoDsSYGquV uEN81Q9CohHO7VOZ/k5jUl6UshDjBHjcA+/dSvbGnppKUBBxZ9MX0VFH40F3E5G1tCJQ 8ZqmfNFFh/1uDkG47rXYZtWU9n6fmqdJsDuw69xVyzpaJEuBDAELJ8iNBd5xFCva9I+J jK/Q== 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; bh=S9MGS2jNkrWKDesEXmR0cAOkaYOtRVAC0+maka6epCw=; b=inGEoDs/kYXiIxFFfQW2uJYxaYEUXMOT0bWs925Y912dZdOYGWnl+TePdNdCJehUJf r2Blnn6iH1CYAYpiLPFuFexynF11UW2TnGvsDBgC6eFOrO2bxCMVn8fbzsbkCAnMfDrC qpcwkZu9jpY9g9LT6ls8k5k/ffyogXLc7bhZMLbVBSG0FTr8LUbj2aW/voA9I1gg3JCX l44k4wJ6eft2TdiwGFY4dTRHw60GY78b7fsmaAZXwZ+USzs3tkGP82n6F+6wpYjKxjF7 QO4L7zDtA9/NYb/crSVXdtjy5KvyP1iQfUAmOHDgEWDb3145THqhE63K0eEPcc0VefUq sJGA== ARC-Authentication-Results: i=1; mx.google.com; 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 q15si12193920edb.229.2021.07.05.04.57.49; Mon, 05 Jul 2021 04:58:12 -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; 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 S231279AbhGEL6D (ORCPT + 99 others); Mon, 5 Jul 2021 07:58:03 -0400 Received: from mout.kundenserver.de ([212.227.17.13]:41509 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231159AbhGEL6C (ORCPT ); Mon, 5 Jul 2021 07:58:02 -0400 Received: from mail-wr1-f46.google.com ([209.85.221.46]) by mrelayeu.kundenserver.de (mreue107 [213.165.67.113]) with ESMTPSA (Nemesis) id 1MzQTm-1lDkmx1MlU-00vLN6; Mon, 05 Jul 2021 13:55:23 +0200 Received: by mail-wr1-f46.google.com with SMTP id a8so10082241wrp.5; Mon, 05 Jul 2021 04:55:23 -0700 (PDT) X-Gm-Message-State: AOAM533DoJ3k5//oLMDdosliMiWm28gBaTae+3+SzjhVZZnHRsQXJDRJ CY7mMMGxYbmPxHSG3JO0AFCPvObiEu9UsXvfvX8= X-Received: by 2002:adf:ee10:: with SMTP id y16mr15288976wrn.99.1625486122912; Mon, 05 Jul 2021 04:55:22 -0700 (PDT) MIME-Version: 1.0 References: <87zgv4y3wd.fsf@oldenburg.str.redhat.com> <20210705093656.GJ14854@arm.com> In-Reply-To: <20210705093656.GJ14854@arm.com> From: Arnd Bergmann Date: Mon, 5 Jul 2021 13:55:06 +0200 X-Gmail-Original-Message-ID: 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: Szabolcs Nagy Cc: Florian Weimer , Yury Norov , Catalin Marinas , "linux-audit/audit-kernel" , Xiongfeng Wang , Wang ShaoBo , "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 , Andreas Schwab , Andrew Pinski , Bamvor Zhangjian , Chris Metcalf , Christoph Muellner , Dave Martin , "David S . Miller" , 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 Content-Type: text/plain; charset="UTF-8" X-Provags-ID: V03:K1:irPqV3H5S9rsMtdd45zffH7Pz09R6aCqMBa1mvCyRYsiW0NqwBM 0ffWBwSP+4PcRRqmidDnYlpn5EkDMdUzO0NTeF+sZJXPpZ+pKckvKeAGhzn2QOtSQmQN46C h4gYiTHMj49j5IVptTFerJTHnV9x8EPzRTT+V6MqJFpByk0hTFqfIG8vOCZkl1y1JFTYXkV Dmu+aCklN7ExC4SFtlv2A== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:G83A7wPXIs0=:eZUyXrcgiZVyYsDAJuwMhJ AJmJ+RFJWrMW2KHx8+jHR+O7m6Ytro8iH53xZtW1DjdvoA4jt/mVzxo0u6Vct91n3H7NkCXzT 8fcCt+vJq3k/0lE97oh41DIli3HzKbV0pVa8j8XU6GSuWUFd1TMUrRE188DEqN8UNfcIqoqZY G3tR0nJDz+vJdTLm1tZMHI+Ae2vNHnNOkwuU7zu6UcITzOTSzMOat0xLkplPL47H9lcgzSryA jm/EJBNZoP6dq2523rTYX4Cow5yiuSAWW/jDGk53FVc2j5yO2Uch1xg6ZsXNe1TkmsbUmLRqG ytIUymr+Zr16Nex/DaV6WjlCXo5kSLIXZbIwrLFFGluEuP8a16OkdFt3DTpxdVrhLtHK84ZIc dRX/7QFVF1CZpJbwC5/78S1O6uQNk0E0ppZvYw2csZZs6hIDbYTF0hMzfdlByo23zpSsaE9aR 2golIwkLrUweTyFeibUdN1ZWdTvx2HlQyIlrru/CMW433WF39KN7TJEJXou3ox8gE+pTgkJ2S 1JoZKeGsawqxdDY6K++RMRHJTI7ix7OzyQkqtztRiBQdNoTI8ZqDrXI2W5DF92BiQThHgP64O VkRDoLeVwN6as0xgWFqkU+0nC82pj0B1rFPWzqjp7BSxJxSwgS/+rAKwpL/+Vy1T2EZSxJPVH EQx4qKn1nH8kgYw1FX7DitDfZzSbNdGHQnpiUHoJltjaQExbLMdZYwVMeL15gSufbv/Jv/enQ vwq+cy8FVs56KvqagK673FzgklidjijpfFwpYrAXVJR+uZj4gG7VHpr8ySWr6KmKgbjfbt0YS qEhTBecr6IV+7Nu/JwAIiKgYKZjZOMcMsqNWPFSvQMu4+YfW8bobPzmbxVWGOFq/aFfb7COIH Q5qfPMirmrongGnq+PID3Ey50LwJWMWNEoNxkwRxdjY3itpe2l3ch7ZanrWc6AJLY9+m40vP6 X+ksVlVsghkiXoH7q109tLl2kFXwJcJ22GWAuMhkTOOI4gzsGL4Rb Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 5, 2021 at 11:36 AM Szabolcs Nagy wrote: > The 07/02/2021 20:19, Florian Weimer wrote: > > * Yury Norov: > > > At least Marvell, Samsung, Huawei, Cisco and Weiyuchen's employer > > > actively use and develop arm64/ilp32. I receive feedback / bugrepotrs > > > on ilp32 every 4-6 month. Is that enough for you to reconsider > > > including the project into the mainline? > > > > I believe that glibc has the infrastructure now to integrate an ILP32 > > port fairly cleanly, although given that it would be first > > post-libpthread work, it would have to absorb some of the cleanup work > > for such a configuration. > > time64 would require syscall abi design changes. > (that's likely an abi break compared to what the > listed users do) The kernel port uses the generic syscall ABI, and has done so from the start, so both time32 and time64 syscalls are supported in principle, as they are on any other 32-bit architecture these days (except rv32, which dropped the time32 variant, and x32, which uses the time64 calling conventions but the time32 syscall names). Arnd