Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
nettle
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
5
Merge Requests
5
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Nettle
nettle
Commits
7b1bb329
Commit
7b1bb329
authored
Sep 02, 2015
by
Niels Möller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Disable use of ifunc.
parent
d543eb69
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
0 deletions
+14
-0
ChangeLog
ChangeLog
+5
-0
fat-setup.h
fat-setup.h
+9
-0
No files found.
ChangeLog
View file @
7b1bb329
2015-09-02 Niels Möller <nisse@lysator.liu.se>
* fat-setup.h: Disable use of ifunc, since it breaks dlopen with
RTLD_NOW.
2015-08-25 Niels Möller <nisse@lysator.liu.se>
* NEWS: Started on entries for Nettle-3.2.
...
...
fat-setup.h
View file @
7b1bb329
...
...
@@ -77,6 +77,15 @@
# endif
#endif
/* Disable use of ifunc for now. Problem is, there's no guarantee that
one can call any libc functions from the ifunc resolver. On x86 and
x86_64, the corresponding IRELATIVE relocs are supposed to be
processed last, but that doesn't seem to happen, and its a
platform-specific feature. To trigger problems, simply try dlopen
("libnettle.so", RTLD_NOW), which crashes in an uninitialized plt
entry. */
#undef HAVE_LINK_IFUNC
#if !HAVE_SECURE_GETENV
#define secure_getenv(s) NULL
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment