chiark / gitweb /
missing: apparently, there's a world beyond x86..
authorDavid Herrmann <dh.herrmann@gmail.com>
Thu, 4 Dec 2014 15:45:00 +0000 (16:45 +0100)
committerDavid Herrmann <dh.herrmann@gmail.com>
Thu, 4 Dec 2014 15:46:52 +0000 (16:46 +0100)
commit03e8fdb34610c498e8c7fbe0ae18b53fe28cfbd1
treebbce66480e6db9900e11fa7af79079b4261c5e9e
parent9c0f842033c577d58b6b263073468ec5802478fc
missing: apparently, there's a world beyond x86..

..so make them cry and print a warning if __NR_memfd_create is not
defined. This should make syscall() fail with -ENOSYS, thus trigger a
suitable runtime error-path.
src/shared/missing.h