util: fix os_create_anonymous_file on android
authorTapani Pälli <tapani.palli@intel.com>
Tue, 20 Aug 2019 05:59:23 +0000 (08:59 +0300)
committerTapani Pälli <tapani.palli@intel.com>
Thu, 22 Aug 2019 05:27:43 +0000 (08:27 +0300)
commitce8fd042a5b0130cc5c62981828b122127711712
tree1e4808fa4d4a5674880ac6554a0eefdfd2cdaef9
parentac5bda374abd9a125c4b5e04e2a0e3a6f0584933
util: fix os_create_anonymous_file on android

Commit fixes current crashes with Vulkan applications on Android.

Fixes: c0376a123418 "util: add anon_file.h for all memfd/temp file usage"
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Eric Engestrom <eric@engestrom.ch>
src/util/anon_file.c