diff options
author | Rich Felker <dalias@aerifal.cx> | 2018-09-11 15:58:46 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2018-09-12 14:34:37 -0400 |
commit | 0676c3a34c7bf12b33f8f5efb92476f4ffc7f20e (patch) | |
tree | 50f0e611bc15084bedb7003913bb6fdf21c2c631 /src/include/unistd.h | |
parent | ced75472d7e3d73d5b057e36ccbc7b7fcba95104 (diff) | |
download | musl-0676c3a34c7bf12b33f8f5efb92476f4ffc7f20e.tar.gz musl-0676c3a34c7bf12b33f8f5efb92476f4ffc7f20e.tar.xz musl-0676c3a34c7bf12b33f8f5efb92476f4ffc7f20e.zip |
use wrapper headers to hide most namespaced/internally-public symbols
not all prefixed symbols can be made hidden. some are part of ABI-compat (e.g. __nl_langinfo_l) and others are ABI as a consequence of the way copy relocations for weak aliases work in ELF shared libraries. most, however, can be made hidden. with this commit, there should be no remaining unintentionally visible symbols exported from libc.so.
Diffstat (limited to 'src/include/unistd.h')
-rw-r--r-- | src/include/unistd.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/include/unistd.h b/src/include/unistd.h index 9cdf1d3e..6deb1bcc 100644 --- a/src/include/unistd.h +++ b/src/include/unistd.h @@ -5,8 +5,9 @@ extern char **__environ; -int __dup3(int, int, int); -int __mkostemps(char *, int, int); -int __execvpe(const char *, char *const *, char *const *); +hidden int __dup3(int, int, int); +hidden int __mkostemps(char *, int, int); +hidden int __execvpe(const char *, char *const *, char *const *); +hidden int __aio_close(int); #endif |