[vlc-devel] [PATCH] filesystem: fix vlc_memfd when "/tmp" is missing

Thomas Guillem thomas at gllm.fr
Tue Oct 6 11:22:18 CEST 2015



On Tue, Oct 6, 2015, at 09:56, Rémi Denis-Courmont wrote:
> Le 2015-10-05 17:23, Thomas Guillem a écrit :
> > Try using the TMPDIR environment variable if "/tmp" is missing.
> 
> In theory, that would be correct (though the patch seems insanely 
> intricate for that purpose). But in practice $TMPDIR seems often a 
> per-user directory, and thus it will always be a on regular file system. 
> memfd should really be on tmpfs or similar.

But some systems don't have a tmpfs available, in that case it's better
to fallback to TMPDIR, non ?

> 
> -- 
> Rémi Denis-Courmont
> http://www.remlab.net/
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel


More information about the vlc-devel mailing list