GBytes: two memfd tweaks
authorRyan Lortie <desrt@desrt.ca>
Wed, 3 Dec 2014 22:13:43 +0000 (17:13 -0500)
committerMaciej Wereski <m.wereski@partner.samsung.com>
Fri, 10 Jul 2015 09:47:43 +0000 (11:47 +0200)
commitba446f6c333a4646f7cdbbba4855a7af512f0a6f
tree37fe25c4c561390efd5cfc65a64728eee71d2622
parentf854d3849b889fb3447750e09a4982bccf2f6e3d
GBytes: two memfd tweaks

 1) mmap() of a 0-sized region is EINVAL, so don't try that

 2) MAP_SHARED on a sealed memfd fails for some reason, so use
    MAP_PRIVATE instead
glib/gbytes.c