* [patch] additional temp directory?
@ 2019-07-22 18:39 DJ Delorie
2020-03-31 23:54 ` DJ Delorie
0 siblings, 1 reply; 2+ messages in thread
From: DJ Delorie @ 2019-07-22 18:39 UTC (permalink / raw)
To: libffi-discuss
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [patch] additional temp directory?
2019-07-22 18:39 [patch] additional temp directory? DJ Delorie
@ 2020-03-31 23:54 ` DJ Delorie
0 siblings, 0 replies; 2+ messages in thread
From: DJ Delorie @ 2020-03-31 23:54 UTC (permalink / raw)
To: libffi-discuss
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-03-31 23:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-22 18:39 [patch] additional temp directory? DJ Delorie
2020-03-31 23:54 ` DJ Delorie
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).