Created attachment 141184 [details] [review] patch libspectre currently only supports loading from, saving and exporting to, a named file. The attached patch implements loading from, and saving and exporting to, a file descriptor. The use case for this is loading working with unlinked files (e.g. a temp file created with O_TMPFILE) and files received via FD passing from another process which the process using libspectre has no access to and thus cannot fopen().
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/libspectre/libspectre/issues/23.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.