mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-21 21:17:37 -08:00
cuda.eclass: add sandbox exclusion for /proc/self/task
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
This commit is contained in:
parent
0e080b51a1
commit
c646e2faa6
@ -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
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
# @ECLASS: cuda.eclass
|
# @ECLASS: cuda.eclass
|
||||||
@ -154,6 +154,11 @@ cuda_add_sandbox() {
|
|||||||
addpredict $i
|
addpredict $i
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
if [[ $1 == '-w' ]]; then
|
||||||
|
addwrite /proc/self/task
|
||||||
|
else
|
||||||
|
addpredict /proc/self/task
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
# @FUNCTION: cuda_toolkit_version
|
# @FUNCTION: cuda_toolkit_version
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user