From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.120]) by sourceware.org (Postfix) with ESMTP id 6DF60385BF83 for ; Tue, 31 Mar 2020 23:54:27 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 6DF60385BF83 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-363-9GYcNRA5N_27cs4JoM585Q-1; Tue, 31 Mar 2020 19:54:25 -0400 X-MC-Unique: 9GYcNRA5N_27cs4JoM585Q-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 1FCE013F8 for ; Tue, 31 Mar 2020 23:54:24 +0000 (UTC) Received: from greed.delorie.com (ovpn-114-252.phx2.redhat.com [10.3.114.252]) by smtp.corp.redhat.com (Postfix) with ESMTPS id E57001001B09; Tue, 31 Mar 2020 23:54:23 +0000 (UTC) Received: from greed.delorie.com.redhat.com (localhost [127.0.0.1]) by greed.delorie.com (8.14.7/8.14.7) with ESMTP id 02VNsMkL023719; Tue, 31 Mar 2020 19:54:22 -0400 From: DJ Delorie To: libffi-discuss@sourceware.org Subject: Re: [patch] additional temp directory? In-Reply-To: (message from DJ Delorie on Mon, 22 Jul 2019 14:39:27 -0400) Date: Tue, 31 Mar 2020 19:54:22 -0400 Message-ID: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-26.9 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libffi-discuss@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libffi-discuss mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Mar 2020 23:54:28 -0000 Ping? DJ Delorie writes: > When selinux is active, libffi might need a libffi-specific tmp > directory that allows both write and exec maps. Can we add such a > variable? Plus or minus any bikesheeding about its name or position > in the list? ;-) > > diff --git a/src/closures.c b/src/closures.c > index adb60bb..337b22b 100644 > --- a/src/closures.c > +++ b/src/closures.c > @@ -664,6 +664,7 @@ static struct > const char *arg; > int repeat; > } open_temp_exec_file_opts[] =3D { > + { open_temp_exec_file_env, "LIBFFITMPDIR", 0 }, > { open_temp_exec_file_env, "TMPDIR", 0 }, > { open_temp_exec_file_dir, "/tmp", 0 }, > { open_temp_exec_file_dir, "/var/tmp", 0 }, > > See also https://bugzilla.redhat.com/show_bug.cgi?id=3D1722756