From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=170.10.133.124 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795441770; b=oq5+5aAMFPWjoQCWkdoZGaYZhnfERoLKAwf6ukSySdvPhXgzBHAsUB4WXT+c34w4n/6M QNI2qgS1qRrYbtFbtKNRivXe9GBJog7YL8hnE8BqSg4e+pIGkr4ekg2rVyctNyOKyDFsL W1OetXBm8fjWoORC48cKB069llXRR6CvrxAvWVk7npW8ZKuZBxmc9b4GVi+KhPttwXZ4Z wc5cGkrpCAejQ+u55Y19prmrG1AyhBfENRdraBcjzNkmmkLjn37NbwabnIpio87nH4rDp 0PUauTwczZtgUnw2dYwxFpZiIJvh3tJqw7qTSGzbHYUtDPZgGLwyau5lOVx9tNNHqcg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795441770; h=DMARC-Filter:DKIM-Signature:Received:X-MC-Unique: X-Mimecast-MFC-AGG-ID:Received:Received:Received:Date:From:To:Cc: Subject:Message-ID:References:MIME-Version:Content-Type: Content-Disposition:Content-Transfer-Encoding:In-Reply-To: X-Scanned-By; bh=kNEpRXv0Qjfeq3BAGqbQG/HWKXbqAXTDOCqw54GskJA=; b=FepKA6T7I1sXUJC0vFjd/K3owEsfMvMuwwrUb6766nZ4ZjnhZl3DuYRcWN5e/o81FcZx LLrBIQjw0gqQx1CGOt5B+iXFZ6YABBGJYg8VKO3zNAHgx/dOxZkDKdH1L3eyBR+YoIOF9 tj4Vnh2TI3xtwynaa4uRA9DgvjRVImuVxW9lcBfDd8XhxfbmOyxCpm66b+cc6xTqsWIi6 cT2olabEzSdSamsQ79/FG2YAzdiUf2t7/bYN7w+DyHLbUX50fE2o5A/WBh6qt1NzZjrGl 0RttJWRwR3pNJ5JBoXQ/vv1c3MVJLTbnfoWZr9X5CAk2tZVAIfmvL3x5rsIOqfaiesA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=B13zoO0b; arc=none smtp.remote-ip=170.10.133.124 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 484B9606A333 for ; Mon, 23 Nov 2026 13:49:29 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 484B9606A333 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=B13zoO0b DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1795441769; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=kNEpRXv0Qjfeq3BAGqbQG/HWKXbqAXTDOCqw54GskJA=; b=B13zoO0bu5QibhoWIy0qegHRZZaPKJrydRAYZs/KQTyXoWFYuI8IhrPs3DBte08sgOWaE+ Jjzf9vhXyd+uQonsRtNiwqbHuuSN3aVP2NpC2sKIca1/y1YwmVC1wYb3AcItM88Hms0lZM ieioadM0pxjIXynCXsb1sSbozuFcaJI= Received: from mx-prod-mc-08.mail-002.prod.us-west-2.aws.redhat.com (ec2-35-165-154-97.us-west-2.compute.amazonaws.com [35.165.154.97]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-652-Ez8w3PEcPnyyQ11_yNywQw-1; Mon, 23 Nov 2026 13:49:21 +0000 X-MC-Unique: Ez8w3PEcPnyyQ11_yNywQw-1 X-Mimecast-MFC-AGG-ID: Ez8w3PEcPnyyQ11_yNywQw_1795441759 Received: from mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-08.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 31AF9180076D; Mon, 23 Nov 2026 13:49:18 +0000 (UTC) Received: from onestero-thinkpadp1gen7.tpbc.csb (headnet04.pony-001.prod.iad2.dc.redhat.com [10.2.32.116]) by mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with SMTP id A985430000E3; Mon, 23 Nov 2026 13:49:12 +0000 (UTC) Received: by onestero-thinkpadp1gen7.tpbc.csb (nbSMTP-1.00) for uid 13628 oleg@redhat.com; Mon, 23 Nov 2026 14:49:17 +0100 (CET) Date: Mon, 23 Nov 2026 14:49:11 +0100 From: Oleg Nesterov To: =?iso-8859-1?Q?Micka=EBl_Sala=FCn?= Cc: Christian Brauner , =?iso-8859-1?Q?G=FCnther?= Noack , Tejun Heo , Bart Van Assche , Cen Zhang , James Morris , Lee Seong Hyeon , Marco Elver , NeilBrown , Nickolai Zeldovich , Paul Moore , Peter Zijlstra , "Serge E . Hallyn" , Yihan Ding , linux-kernel@vger.kernel.org, linux-security-module@vger.kernel.org, stable@vger.kernel.org, Jann Horn Subject: Re: [PATCH] landlock: Do not hold exec_update_lock across the TSYNC wait Message-ID: References: <20261120151554.2651743-1-mic@digikod.net> <20261123.ungeuh7Taish@digikod.net> X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20261123.ungeuh7Taish@digikod.net> X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.4 On 11/23, Mickaël Salaün wrote: > > That would indeed be simpler, but a single pass would misses threads > that a sibling is creating at the same time: the cred is copied before > taking siglock and only fatal_signal_pending is checked. Aaah, I see. Thanks for your explanation! Oleg.