diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2017-03-24 20:52:44 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2017-03-24 21:35:25 +0000 |
commit | e08ed8a272fda96b8f7224985177f313c3b2ddf6 (patch) | |
tree | 5fdba2e2cade4db9f64582e6414c3372a5681180 /lib/media_fill.c | |
parent | 58de785468782f29e6eb1d32d47b55b3d234dfcf (diff) |
lib/debugfs: Phase out igt_debugfs_fopen()
Wrapping fdopen() proved dangerous, the underlying fd is not refcounted,
and we must close it in the library or else we easily leak and exhaust
all fd. Since we can't provide igt_debugfs_fopen(), move the burden onto
the caller for those that require a stream FILE*.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'lib/media_fill.c')
0 files changed, 0 insertions, 0 deletions