Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp678893ybg; Fri, 12 Jun 2020 11:37:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx/lLxYjmDD0T+1MBbSWb4PFdfTXpAg81V6GZttNgZcHMqC7gWuVcnFIswBM4yA9vhEFXE4 X-Received: by 2002:a17:906:4ecf:: with SMTP id i15mr15211026ejv.515.1591987033903; Fri, 12 Jun 2020 11:37:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591987033; cv=none; d=google.com; s=arc-20160816; b=FlG6XW76iWNiWNyw7GlXSRMYG3INGfCnxP10HoQypeSXKqAqU9LP0Kuya9G/cgyFvB I7hULL0PmiXd2+DPjSu4EX2L6UiCTWH0KtPf2oGwJFoDy6QrpZqaqastLSOuRPK3+zFj CVhOD23FzwCZwDse8WHZ1INWFCewQUlxbM7VawWIJ5DG7/7rknmfedVuXqCLjIfZYHkS 2VF5bnxcWGuj8ihhTMJemUp2tB/wZHfykdwQFBhOOmadCdbNEppcUYFkj3ClH8QJKHCV G7u+woVKCuFEpL05Bw/Imko5rdOa0Qvbd4i4lXbhj+JPTUnpkRNLr/JW1t/GqC6tC6z+ ouSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=j8/1IyDwgaYKXdI9dp4YmKReEuS3zredW9XpaRoJ5Ww=; b=oNmYydD4cqkmNSG0FEfQw8S1EV3/ucv8GeTfcXsq8kwk92+dS6ccRdxIZGIo1XWz6c 9ppZRNspK5LA06hf6NmHfjx0c2yCiPm/tVrIm3LR8XlT7ptrl/CgPMFcFneAKkZFLFg3 o1SnpxyNeoDA2pSCzUQewZyxvHlooEF8U49l379CfYPtHB1kqkVuoX7g+WcYHGOzfDOD dn1QEtzf5d+wC9/GpiTjpKu+LO1JiWkfnYkKFwiLhT96t6BxsRr5U46VxqqRF5eR4+Qt veUqhDpcgjxwWw7AUI/c/PyyS0tlUNSlHBBE3NIshCa+B7CSrBhUFg5lIm/WJPO7BlyH 4wWA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=ea74ul+p; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f24si4254681ejx.91.2020.06.12.11.36.50; Fri, 12 Jun 2020 11:37:13 -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=@chromium.org header.s=google header.b=ea74ul+p; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726377AbgFLSfG (ORCPT + 99 others); Fri, 12 Jun 2020 14:35:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37312 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726309AbgFLSfE (ORCPT ); Fri, 12 Jun 2020 14:35:04 -0400 Received: from mail-pg1-x542.google.com (mail-pg1-x542.google.com [IPv6:2607:f8b0:4864:20::542]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7688FC08C5C1 for ; Fri, 12 Jun 2020 11:35:04 -0700 (PDT) Received: by mail-pg1-x542.google.com with SMTP id t7so4510614pgt.3 for ; Fri, 12 Jun 2020 11:35:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=j8/1IyDwgaYKXdI9dp4YmKReEuS3zredW9XpaRoJ5Ww=; b=ea74ul+pjDI83LXshbpVoH4wVDxcw27fp6LlmZZj2Ta1WJJ8tvGq3/u6u+qkhM3jjM 3ka7mObye2pcNqMktQNqFpiGjZoZwAtYheNn5Q5XUHcGy0vB70NwtcsV4nks2C7Zyzas 1FfWgykVawtL/lp0r26LIbVny/SB+c7wK96IM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=j8/1IyDwgaYKXdI9dp4YmKReEuS3zredW9XpaRoJ5Ww=; b=eZtOs+HadKHN3e6YWx36O/84Nzj3awa6yG0pF3QQDMvXDqd6C3gvSdUwCbdAs5KX/B HxGZPry47CXG75ivMwpH/NQykwUrbns65Pis5djn80lhXbDXPOH5nmuY7MXaxphx1Taw ODlk5uyn9uWrm7MqrP/IniIX8z2498idSg22kp6nH17YnK6Kx1dyHmeAzYC5PMweMaj0 SDa3IApdAhfFaPWHAZT8dxvm3ShW+PfbMzgEllH8jAhpXR4+5XgWcw1XcpQu3OKht3Wq lc8uJgkTu5ibQkyqrgDEKjA/RfVrK/JhPFggeke8FC+KykOKLMg18dVQv97g3cUAaa1J FsRA== X-Gm-Message-State: AOAM530AOInuVciwhikvsBD8mN1eGckP942uEgSfrok+P2x1Bahj8K9d jidCyiZ3NMZblEI3Xz7iBBtaZQ== X-Received: by 2002:a63:531d:: with SMTP id h29mr8596670pgb.282.1591986904084; Fri, 12 Jun 2020 11:35:04 -0700 (PDT) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id j6sm6785624pfi.183.2020.06.12.11.35.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Jun 2020 11:35:01 -0700 (PDT) From: Kees Cook To: Peter Zijlstra Cc: Kees Cook , Xiaoming Ni , David Windsor , Hans Liljestrand , Elena Reshetova , Paul Moore , edumazet@google.com, paulmck@kernel.org, David Howells , shakeelb@google.com, James Morris , alex.huangjianhui@huawei.com, dylix.dailei@huawei.com, chenzefeng2@huawei.com, linux-kernel@vger.kernel.org Subject: [PATCH 0/3] Convert nsproxy, groups, and creds to refcount_t Date: Fri, 12 Jun 2020 11:34:47 -0700 Message-Id: <20200612183450.4189588-1-keescook@chromium.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series was never applied[1], and was recently pointed out as missing[2]. If someone has a tree for this, please take it. Otherwise, please Ack and I'll send it to Linus. Thanks! -Kees [1] https://lore.kernel.org/lkml/20190306110549.7628-1-elena.reshetova@intel.com/ [2] https://lore.kernel.org/lkml/1591957695-118312-1-git-send-email-nixiaoming@huawei.com/ Elena Reshetova (3): nsproxy: convert nsproxy.count to refcount_t groups: convert group_info.usage to refcount_t creds: convert cred.usage to refcount_t include/linux/cred.h | 15 +++++++------- include/linux/nsproxy.h | 7 +++---- kernel/cred.c | 44 ++++++++++++++++++++--------------------- kernel/groups.c | 2 +- kernel/nsproxy.c | 6 +++--- net/sunrpc/auth.c | 2 +- 6 files changed, 38 insertions(+), 38 deletions(-) -- 2.25.1