[base] Only use memfd_create when available
The use of memfd_create causes V8 to require glibc 2.27 which wasn't previously needed. This CL rewrites the affected code to check at runtime whether memfd_create is available and otherwise use mkstemp. Bug: v8:12682 Change-Id: I84dc3f5ab7504cec2b599bc92501ddecc2ae22cf Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3516870Reviewed-by: Clemens Backes <clemensb@chromium.org> Reviewed-by: Michael Lippautz <mlippautz@chromium.org> Commit-Queue: Samuel Groß <saelo@chromium.org> Cr-Commit-Position: refs/heads/main@{#79486}
Showing
Please
register
or
sign in
to comment