From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id EC09E138334 for ; Fri, 6 Dec 2019 15:31:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2DDBEE0877; Fri, 6 Dec 2019 15:31:11 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0FBFBE0877 for ; Fri, 6 Dec 2019 15:31:10 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7C56734D84D for ; Fri, 6 Dec 2019 15:31:09 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C588B7F9 for ; Fri, 6 Dec 2019 15:31:06 +0000 (UTC) From: "Thomas Deutschmann" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Thomas Deutschmann" Message-ID: <1575645950.a611a39cabab9836b51d1fc4326c3747cbdcd29a.whissi@gentoo> Subject: [gentoo-commits] proj/genkernel:master commit in: / X-VCS-Repository: proj/genkernel X-VCS-Files: gen_funcs.sh X-VCS-Directories: / X-VCS-Committer: whissi X-VCS-Committer-Name: Thomas Deutschmann X-VCS-Revision: a611a39cabab9836b51d1fc4326c3747cbdcd29a X-VCS-Branch: master Date: Fri, 6 Dec 2019 15:31:06 +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: 17424f9a-0bcf-4ffb-9136-9afda7a6d03e X-Archives-Hash: 156f21c475e350eecfd4557a8a2aa5f6 commit: a611a39cabab9836b51d1fc4326c3747cbdcd29a Author: Mark Wright gentoo org> AuthorDate: Fri Dec 6 15:23:51 2019 +0000 Commit: Thomas Deutschmann gentoo org> CommitDate: Fri Dec 6 15:25:50 2019 +0000 URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=a611a39c Improve SELinux compatibility Closes: https://bugs.gentoo.org/697074 Signed-off-by: Thomas Deutschmann gentoo.org> gen_funcs.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gen_funcs.sh b/gen_funcs.sh index 107f02b..f5dd0cd 100755 --- a/gen_funcs.sh +++ b/gen_funcs.sh @@ -728,7 +728,7 @@ dropbear_create_key() { if isTrue "${SANDBOX}" then - envvars+=( "SANDBOX_WRITE='${LOGFILE}:${TEMP}'" ) + envvars+=( "SANDBOX_WRITE='${LOGFILE}:${TEMP}:/proc/thread-self/attr/fscreate'" ) fi # set up worker signal handler @@ -805,7 +805,7 @@ dropbear_generate_key_info_file() { if isTrue "${SANDBOX}" then - envvars+=( SANDBOX_WRITE="${LOGFILE}:${TEMP}" ) + envvars+=( "SANDBOX_WRITE='${LOGFILE}:${TEMP}:/proc/thread-self/attr/fscreate'" ) fi # set up worker signal handler @@ -1397,7 +1397,7 @@ gkbuild() { if isTrue "${SANDBOX}" then - envvars+=( "SANDBOX_WRITE='${LOGFILE}:${TEMP}'" ) + envvars+=( "SANDBOX_WRITE='${LOGFILE}:${TEMP}:/proc/thread-self/attr/fscreate'" ) fi # set up gkbuild signal handler @@ -1452,7 +1452,7 @@ unpack() { if isTrue "${SANDBOX}" then - envvars+=( "SANDBOX_WRITE='${LOGFILE}:${TEMP}'" ) + envvars+=( "SANDBOX_WRITE='${LOGFILE}:${TEMP}:/proc/thread-self/attr/fscreate'" ) fi # set up unpack signal handler