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=JqWVUao+WyfktftLX2LPqn1klrekZYeFWpMWL8VDfm56Ja2qJAmNJp5RlvO4UYrb1Hho lTliBTKEYT/JLSeL1j4IdCg1aIFylnTUIzCf37xVMoA6flcVBuq0TbML7m2YlDmGXLutC D/xRCVAtq21PzpaGZn+YPAE1rrOfPZswXYYYXu9ttWI82iH39z93Xk7jJrML/LYfVJfrc A4AZxAjsAxFnM+OJYNlr5gehRfW5jX6j/G3QAbP9WpUvLLOAl/TnQIVsbQehGPn/0DHb6 wCWTna78a5YauQzGX9y5uJsR8VOEGVGYdF6EEtfqAQGuyUeSNGMmCaptxeTgwn/mmvw== 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:In-Reply-To:X-Scanned-By: X-Mimecast-MFC-PROC-ID:X-Mimecast-Originator:Content-Type: Content-Disposition:Content-Transfer-Encoding; bh=kNEpRXv0Qjfeq3BAGqbQG/HWKXbqAXTDOCqw54GskJA=; b=ovPJ96ie1ddzqPiM782DqRPyIamz+1LnoGDA2Y8Mbhgc8VGYeADPxwoxWYofyuWEiPX2 eFQLU0oFpukztjD9yaUGUFM/k9JOXK2CpXaIqT5HzD6WfqNtVvhq4tx5olza6u21wH4M8 owviZ/s3s28hlHJVu09ulOanLeN4NPv7fzUOJd0cjodNINv6cWkDITujldDbCRzBR9Ao9 XSJu05wfRkE0tg6C+ChkFQcEtS3Tp4DAKYQEsTOy5vUkdDfeFyQW3DxYd9RHEUrerGLhk GOpGN64cjwGkWuEEJEekzceyKkA8Z2MlqXlEBU3+x+48f10ctZVoZ7vtuO7chO7EMeQ== 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=DYFYHScT; 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 D3793606A6A4 for ; Mon, 23 Nov 2026 13:49:29 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org D3793606A6A4 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=DYFYHScT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1795441768; 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=DYFYHScTFnOgVVysdqQ7hv9HAmcVjOaTr6QZIZBKlWkwaMKzsmJQbehEeGwMcSHVRHdcdf 6R7JgMcRuBVbFmdeIZys7SRm9q3Kk3YTiwnyWltGvvd5x9m57MjrhhVwvw7l1McvYmdfu9 vTXJ6waZr7qxVIzT0kuXxukyh502ISk= 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-security-module@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 In-Reply-To: <20261123.ungeuh7Taish@digikod.net> X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.4 X-Mimecast-MFC-PROC-ID: gE0knod_ov_D0SpUAcZZAXAHWxNiDkfIzV0NolpGVa4_1795441759 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit 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.