# improvements to memfd_create · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/8186211404552a31eaf2a7bc182a46a7e40eacda)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 8186211404552a31eaf2a7bc182a46a7e40eacda

Requested commit: 8186211404552a31eaf2a7bc182a46a7e40eacda

Commit: 8186211404552a31eaf2a7bc182a46a7e40eacda

Tree: 3e93cad370217a1a65fad5b3a91e91300f120123

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
improvements to memfd_create

 * move test from std/io/test.zig to std/os/test.zig
 * do glibc version check, and make direct system call if
   glibc is too old
 * disable test when not linking libc, to avoid not working
   with outdated qemu version on the CI server. see #4019

```

## Parents

- [a153a972adbe783bc8a0d08df0942a3bf0552188](https://git.cafe/gitcafe/zig/commit/a153a972adbe783bc8a0d08df0942a3bf0552188?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/8186211404552a31eaf2a7bc182a46a7e40eacda?format=markdown)
