25 lines
686 B
Diff
25 lines
686 B
Diff
diff --git a/src/node_credentials.cc b/src/node_credentials.cc
|
|
index 97cb574..7c1aa93 100644
|
|
--- a/src/node_credentials.cc
|
|
+++ b/src/node_credentials.cc
|
|
@@ -15,7 +15,7 @@
|
|
#ifdef __linux__
|
|
#include <dlfcn.h> // dlsym()
|
|
#include <linux/capability.h>
|
|
-#include <sys/auxv.h>
|
|
+// #include <sys/auxv.h>
|
|
#include <sys/syscall.h>
|
|
#endif // __linux__
|
|
|
|
@@ -40,8 +40,8 @@ bool linux_at_secure() {
|
|
// and returns the correct value, e.g. even in static
|
|
// initialization code in other files.
|
|
#ifdef __linux__
|
|
- static const bool value = getauxval(AT_SECURE);
|
|
- return value;
|
|
+ // static const bool value = getauxval(AT_SECURE);
|
|
+ // return value;
|
|
#else
|
|
return false;
|
|
#endif
|