public inbox for libffi-discuss@sourceware.org
 help / color / mirror / Atom feed
From: DJ Delorie <dj@redhat.com>
To: libffi-discuss@sourceware.org
Subject: Re: [patch] additional temp directory?
Date: Tue, 31 Mar 2020 19:54:22 -0400	[thread overview]
Message-ID: <xn1rp8gjwx.fsf@greed.delorie.com> (raw)
In-Reply-To: <xnd0i1lxr4.fsf@greed.delorie.com> (message from DJ Delorie on Mon, 22 Jul 2019 14:39:27 -0400)


Ping?

DJ Delorie <dj@redhat.com> 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[] = {
> +  { 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=1722756


      reply	other threads:[~2020-03-31 23:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-22 18:39 DJ Delorie
2020-03-31 23:54 ` DJ Delorie [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=xn1rp8gjwx.fsf@greed.delorie.com \
    --to=dj@redhat.com \
    --cc=libffi-discuss@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).