Patch from @buttaface. This commit is responsible: https://github.com/aosp-mirror/platform_bionic/commit/76e2b15