1 https://bugs.gentoo.org/529044
3 deploy this workaround until newer versions of the kernel/C library/libsandbox
4 are rolled out into general circulation
8 @@ -301,7 +301,8 @@ open_temp_exec_file_dir (const char *dir)
10 fd = open (dir, flags | O_RDWR | O_EXCL | O_TMPFILE, 0700);
11 /* If the running system does not support the O_TMPFILE flag then retry without it. */
12 - if (fd != -1 || (errno != EINVAL && errno != EISDIR && errno != EOPNOTSUPP)) {
13 + if (fd != -1 || (errno != EINVAL && errno != EISDIR && errno != EOPNOTSUPP &&