diff options
author | kib <kib@FreeBSD.org> | 2015-01-05 01:06:54 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2015-01-05 01:06:54 +0000 |
commit | 6b2710fe565e79b8b3f78ae193d1b68ab1a90bf2 (patch) | |
tree | ae1060e14ffc1f7203b630e4e1e7624871ab2ce0 /lib/libc/sys/Symbol.map | |
parent | dd81221ce677c9962a2192db095b25098af8a656 (diff) | |
download | FreeBSD-src-6b2710fe565e79b8b3f78ae193d1b68ab1a90bf2.zip FreeBSD-src-6b2710fe565e79b8b3f78ae193d1b68ab1a90bf2.tar.gz |
Avoid calling internal libc function through PLT or accessing data
though GOT, by staticizing and hiding. Add setter for
__error_selector to hide it as well.
Suggested and reviewed by: jilles
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Diffstat (limited to 'lib/libc/sys/Symbol.map')
-rw-r--r-- | lib/libc/sys/Symbol.map | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libc/sys/Symbol.map b/lib/libc/sys/Symbol.map index 7d82361..f1f57ba 100644 --- a/lib/libc/sys/Symbol.map +++ b/lib/libc/sys/Symbol.map @@ -1045,8 +1045,7 @@ FBSDprivate_1.0 { __sys_write; _writev; __sys_writev; - __error_unthreaded; - __error_selector; + __set_error_selector; nlm_syscall; gssd_syscall; __libc_interposing_slot; |