Received: by 2002:ab2:6991:0:b0:1f7:f6c3:9cb1 with SMTP id v17csp1199684lqo; Thu, 9 May 2024 07:26:50 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVLnXYYhuIWDnBUdWMa0pkDCVBY5erhlEAWEiSwwMsfDWRgfEtemEJkkEiKvaRFLM33g4/jXlyMEHBugjRpbFMWL2QXulMnT10FZ7x/Yw== X-Google-Smtp-Source: AGHT+IHUDwjfJtw143guVQNmBgnKT1G1BTMGN4rsm1chekNCrXHC4J/FUGbgtj+kQYbU1o3YAiSU X-Received: by 2002:a17:90a:bf10:b0:2b4:329e:a0ca with SMTP id 98e67ed59e1d1-2b6165c40bdmr5955069a91.26.1715264810138; Thu, 09 May 2024 07:26:50 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715264810; cv=pass; d=google.com; s=arc-20160816; b=v6pNHCy5Oj4VE2aB6fgetpW8a5MoRJuXWAAYHoHf7+jXFm2I7P+/CRbxdgSbOzKAoj tyRY5R/7KiRC2Y0dIr4rpHfsg4nezgZZKaB4RDTqJ06UrAM0SuXMsMWT8GxJQ1/CHfyw STzzNa1b0chiWt5Y4i4LqzGf65ac8KUw/+uti5pn0ne8BORzuRaZzdIGyTPW3UBhzl4l 5oULJBlKviidAHWDAlP7q6iswaE9+Uqd+HaA0D5zpWiLo6UNor4E3JKM8RDbn+yCTtbp eljao4Fw1TZCTHGzno+oYnF9hRzY9ysvwlPWDZyqUuJd1/RpbFrj0aGMk85y0V/Uq0NV LFYg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=3Go9J12jXlGhSxJryDodkh8+6+BPy4Jusm5Sc5wIt7g=; fh=pkqaFtIBxyvjtEtRySu9+olQVkiyMQKr5Affne+kbWU=; b=n14FNNatUtwSFeyZwbSgIZ/QD/KQu1WEIRGmRr+b1NBlVSJWIGQPMt/UwfHuBgodkK MWP4dkKQMeXsfTaKwSpY1IVSDjfpQy+Njb0n1CXdmPCnMhHZ5lAO5ZGPDPad4Q7YpuQa rSrX9daZJA1FbcwGi7fYdOylRLtdl6e7VycOD196DMza5ApZSp+XQh2y3SdpBrSyfVDK Ld1E0auWHhDjChBa5ChzK8wBfPvE9SNLsGeEwjLrCrJoo/fua6juCD5oTILZjW92j6De eAl0wm4gWRjnRwDJq4GkIKG3GDJxbo9PVaQs9DlPaXLqpQ00mTIcQYcusBYlVHErQ58C s0Gw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mq83i2Lv; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-174587-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-174587-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 98e67ed59e1d1-2b670f4e136si1579302a91.49.2024.05.09.07.26.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 May 2024 07:26:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-174587-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mq83i2Lv; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-174587-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-174587-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id BB9BB28405C for ; Thu, 9 May 2024 14:26:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E38AE15E800; Thu, 9 May 2024 14:26:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="mq83i2Lv" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 07F7C15E1F8; Thu, 9 May 2024 14:26:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715264803; cv=none; b=fHTCcTIRhDXI2KUZflvUpOgA67aZhNh5uCogcRCrvCLvNVRj0xqH48I0ZYCH2CglxgdEvreEZ4v8jsbJ8PK7ViOIB/kA07ijSsy2GkW0vqvodtDOo/eC0y9j6zlglCeuiLjKJjGbRAnZTrYL1yoa+TnZ3sSWeLpasvakjvwfUq0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715264803; c=relaxed/simple; bh=SCaHMmd1m0QK7gnRTSHDhuSaxihiJErG4UxfHXLr1Go=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Gi5qTBx/x1E5F0Nw0S2IELomZgibclEK5nSPVBMqvzRwI2gynOl7/j95pcjoaCv758gmGA8B+curXPm8aOk98U1vj4xAW3HkGOQ0H3NFOXQw3pqgRMx3PVh6TNzaphUyBV5mklEzXyENnOThALJiQug+QEzY/yxxkcHj6fYRhsU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=mq83i2Lv; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 00AD6C116B1; Thu, 9 May 2024 14:26:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715264802; bh=SCaHMmd1m0QK7gnRTSHDhuSaxihiJErG4UxfHXLr1Go=; h=From:To:Cc:Subject:Date:From; b=mq83i2LvIcvAUmFlwWSbH9rp73iD39gAd6teIYv0nnXhd0pTxFeFkJ/E+RCWKq8jP WysFRGljckNhwwp8NmtcaRN6+GM9igeC0LHv7s1IM0ft9j1j31EQ3v+FbgiWaEtzgR 9eMdZcQmjFf/L+gNkFNtMI7zhNroPa0lYNifqqRFabl3rycEV8n6uVCEze+xEVbv0P 0Pl8Bh3P6TNgkbtZEQvjhJxYyfE7UHwinJ9yuLzMObfGDt0zhs/IMfx8e9ECo+S+bG d0valGYk5V7hBUpu3eLn2AUR7Mn+DMS5YCzE/ZI7jeWkd3VW6d++ktnXJbdk3a+6Gs 3PR8LeXZbXmag== From: Jarkko Sakkinen To: Linus Torvalds Cc: Jarkko Sakkinen , Peter Huewe , Jason Gunthorpe , David Howells , linux-integrity@vger.kernel.org, linux-kernel@vger.kernel.org, keyrings@vger.kernel.org Subject: [GIT PULL] keys changes for v6.10-rc1 Date: Thu, 9 May 2024 17:25:17 +0300 Message-ID: <20240509142517.2787-1-jarkko@kernel.org> X-Mailer: git-send-email 2.45.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Merge tag '6.9-rc7-ksmbd-fixes' of git://git.samba.org/ksmbd (2024-05-08 10:39:53 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/jarkko/linux-tpmdd.git tags/keys-next-6.10-rc1 for you to fetch changes up to 9da27fb65a14c18efd4473e2e82b76b53ba60252: keys: Fix overwrite of key expiration on instantiation (2024-05-09 16:28:58 +0300) ---------------------------------------------------------------- Hi 2nd trial of the earlier PR with more appropriate tag: 1. Do no overwrite the key expiration once it is set. 2. Early to quota updates for keys to key_put(), instead of updating them in key_gc_unused_keys(). [1] Earlier PR: https://lore.kernel.org/linux-integrity/20240326143838.15076-1-jarkko@kernel.org/ BR, Jarkko ---------------------------------------------------------------- Luis Henriques (1): keys: update key quotas in key_put() Silvio Gissi (1): keys: Fix overwrite of key expiration on instantiation security/keys/gc.c | 8 -------- security/keys/key.c | 35 ++++++++++++++++++++++++----------- security/keys/keyctl.c | 11 ++++++----- 3 files changed, 30 insertions(+), 24 deletions(-)