syscalls: setns: Skip binding if there is no such C function.
authorDavid Thompson <dthompson2@worcester.edu>
Sun, 16 Aug 2015 12:08:34 +0000 (08:08 -0400)
committerDavid Thompson <dthompson2@worcester.edu>
Mon, 17 Aug 2015 18:51:18 +0000 (14:51 -0400)
commit39e336b5c83e652feb1c3ac962b0929ca8466763
tree69a711abda4d55e2d32543039fce5dbed2c96796
parent12a9f4af016130cdfd4563c144df5a852eecb52e
syscalls: setns: Skip binding if there is no such C function.

On systems with a glibc prior to 2.14, the 'setns' function is not available.

Thanks to Eric Bavier for reporting the issue.

* guix/build/syscalls.scm (setns): Wrap with 'false-if-exception'.
guix/build/syscalls.scm