aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/global.h
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2018-03-20 19:24:42 +0100
committerSverker Eriksson <[email protected]>2018-03-20 19:24:42 +0100
commit8fea289244d8758c69b8c8443679b2d73cb2f70d (patch)
tree4bd2e84dea4678e2cc7094ec20bf2d7c742bbd49 /erts/emulator/beam/global.h
parent5b557bccac579291301a7a4d78a3d992b4e9373d (diff)
downloadotp-8fea289244d8758c69b8c8443679b2d73cb2f70d.tar.gz
otp-8fea289244d8758c69b8c8443679b2d73cb2f70d.tar.bz2
otp-8fea289244d8758c69b8c8443679b2d73cb2f70d.zip
erts: Remove our own NIF modules from "taints"
Dynamic NIF libs and those added with config option --enable-static-nifs are considered as taints.
Diffstat (limited to 'erts/emulator/beam/global.h')
-rw-r--r--erts/emulator/beam/global.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/erts/emulator/beam/global.h b/erts/emulator/beam/global.h
index ae9fe0cc62..8a746ea4b1 100644
--- a/erts/emulator/beam/global.h
+++ b/erts/emulator/beam/global.h
@@ -1181,6 +1181,7 @@ typedef void *(*ErtsStaticNifInitFPtr)(void);
typedef struct ErtsStaticNifEntry_ {
const char *nif_name;
ErtsStaticNifInitFPtr nif_init;
+ int taint;
} ErtsStaticNifEntry;
ErtsStaticNifEntry* erts_static_nif_get_nif_init(const char *name, int len);
int erts_is_static_nif(void *handle);