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=-0.7 required=3.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no 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 AF207C433DB for ; Mon, 22 Feb 2021 10:28:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 53F4264E12 for ; Mon, 22 Feb 2021 10:28:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230125AbhBVK2o (ORCPT ); Mon, 22 Feb 2021 05:28:44 -0500 Received: from raptor.unsafe.ru ([5.9.43.93]:37334 "EHLO raptor.unsafe.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230117AbhBVK2n (ORCPT ); Mon, 22 Feb 2021 05:28:43 -0500 Received: from example.org (ip-94-113-225-162.net.upcbroadband.cz [94.113.225.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by raptor.unsafe.ru (Postfix) with ESMTPSA id E9233209FA; Mon, 22 Feb 2021 10:27:36 +0000 (UTC) Date: Mon, 22 Feb 2021 11:27:33 +0100 From: Alexey Gladkov To: Linus Torvalds Cc: LKML , io-uring , Kernel Hardening , Linux Containers , Linux-MM , Andrew Morton , Christian Brauner , "Eric W . Biederman" , Jann Horn , Jens Axboe , Kees Cook , Oleg Nesterov Subject: Re: [PATCH v6 0/7] Count rlimits in each user namespace Message-ID: <20210222102733.gic3q7dniljlbosm@example.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.6.1 (raptor.unsafe.ru [5.9.43.93]); Mon, 22 Feb 2021 10:28:01 +0000 (UTC) Precedence: bulk List-ID: X-Mailing-List: io-uring@vger.kernel.org On Sun, Feb 21, 2021 at 02:20:00PM -0800, Linus Torvalds wrote: > On Mon, Feb 15, 2021 at 4:42 AM Alexey Gladkov wrote: > > > > These patches are for binding the rlimit counters to a user in user namespace. > > So this is now version 6, but I think the kernel test robot keeps > complaining about them causing KASAN issues. > > The complaints seem to change, so I'm hoping they get fixed, but it > does seem like every version there's a new one. Hmm? First, KASAN found an unexpected bug in the second patch (Add a reference to ucounts for each cred). Because I missed that creed_alloc_blank() is used wider than I found. Now KASAN has found problems in the RLIMIT_MEMLOCK which I believe I fixed in v7. -- Rgrds, legion