Bug 107614 - allow load/save/export on file descriptor
Summary: allow load/save/export on file descriptor
Status: RESOLVED MOVED
Alias: None
Product: libspectre
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Carlos Garcia Campos
QA Contact: Carlos Garcia Campos
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-18 17:48 UTC by Christian Persch (GNOME)
Modified: 2018-10-12 21:37 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
patch (47.28 KB, patch)
2018-08-18 17:48 UTC, Christian Persch (GNOME)
Details | Splinter Review

Description Christian Persch (GNOME) 2018-08-18 17:48:36 UTC
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().
Comment 1 GitLab Migration User 2018-10-12 21:37:04 UTC
-- 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.