--- sandbox-2.14/libsandbox/wrapper-funcs/__wrapper_exec.c.orig 2018-12-29 22:02:20.095460922 +0100 +++ sandbox-2.14/libsandbox/wrapper-funcs/__wrapper_exec.c.orig 2018-12-29 22:07:56.646853982 +0100 @@ -165,7 +165,8 @@ \ while (sym < symend) { \ char *symname = (void *)(elf + stroff + sym->st_name); \ - if (ELF##n##_ST_VISIBILITY(sym->st_other) == STV_DEFAULT && \ + if (ELF##n##_ST_TYPE(sym->st_info) == STT_FUNC && \ + ELF##n##_ST_VISIBILITY(sym->st_other) == STV_DEFAULT && \ sym->st_shndx != SHN_UNDEF && sym->st_shndx < SHN_LORESERVE && \ sym->st_name && \ /* Minor optimization to avoid strcmp. */ \