From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 493E315808A for ; Fri, 25 Jul 2025 12:48:06 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 35918341F17 for ; Fri, 25 Jul 2025 12:48:06 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 24D8411055E; Fri, 25 Jul 2025 12:48:05 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 1706A11055E for ; Fri, 25 Jul 2025 12:48:05 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id BA1AE341EFA for ; Fri, 25 Jul 2025 12:48:04 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 69EFA1686 for ; Fri, 25 Jul 2025 12:48:02 +0000 (UTC) From: "Alfredo Tupone" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alfredo Tupone" Message-ID: <1753447614.c646e2faa6e53df2001549c1c9e57eb10f3745f8.tupone@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/ X-VCS-Repository: repo/gentoo X-VCS-Files: eclass/cuda.eclass X-VCS-Directories: eclass/ X-VCS-Committer: tupone X-VCS-Committer-Name: Alfredo Tupone X-VCS-Revision: c646e2faa6e53df2001549c1c9e57eb10f3745f8 X-VCS-Branch: master Date: Fri, 25 Jul 2025 12:48:02 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 3913cc46-b73c-40b4-a3e3-60dc4c2a85c4 X-Archives-Hash: f97dd415892c02183e16e178ac3652be commit: c646e2faa6e53df2001549c1c9e57eb10f3745f8 Author: Alfredo Tupone gentoo org> AuthorDate: Fri Jul 25 12:46:54 2025 +0000 Commit: Alfredo Tupone gentoo org> CommitDate: Fri Jul 25 12:46:54 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c646e2fa cuda.eclass: add sandbox exclusion for /proc/self/task Signed-off-by: Alfredo Tupone gentoo.org> eclass/cuda.eclass | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/eclass/cuda.eclass b/eclass/cuda.eclass index e54560197a8f..ca8e3aea381d 100644 --- a/eclass/cuda.eclass +++ b/eclass/cuda.eclass @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # @ECLASS: cuda.eclass @@ -154,6 +154,11 @@ cuda_add_sandbox() { addpredict $i fi done + if [[ $1 == '-w' ]]; then + addwrite /proc/self/task + else + addpredict /proc/self/task + fi } # @FUNCTION: cuda_toolkit_version