mirror of
https://sourceware.org/git/glibc.git
synced 2026-10-24 01:33:52 +03:00
Hide internal __fopen_maybe_mmap function [BZ #18822]
Hide internal __fopen_maybe_mmap function to allow direct access within libc.so and libc.a without using GOT nor PLT. [BZ #18822] * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
|
[BZ #18822]
|
||||||
|
* libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
|
||||||
|
|
||||||
2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
|
2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
[BZ #18822]
|
[BZ #18822]
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ extern _IO_FILE *_IO_new_fopen (const char*, const char*);
|
|||||||
extern _IO_FILE *_IO_fopen64 (const char*, const char*);
|
extern _IO_FILE *_IO_fopen64 (const char*, const char*);
|
||||||
extern _IO_FILE *__fopen_internal (const char*, const char*, int)
|
extern _IO_FILE *__fopen_internal (const char*, const char*, int)
|
||||||
attribute_hidden;
|
attribute_hidden;
|
||||||
extern _IO_FILE *__fopen_maybe_mmap (_IO_FILE *) __THROW;
|
extern _IO_FILE *__fopen_maybe_mmap (_IO_FILE *) __THROW attribute_hidden;
|
||||||
extern int _IO_fprintf (_IO_FILE*, const char*, ...);
|
extern int _IO_fprintf (_IO_FILE*, const char*, ...);
|
||||||
extern int _IO_fputs (const char*, _IO_FILE*);
|
extern int _IO_fputs (const char*, _IO_FILE*);
|
||||||
libc_hidden_proto (_IO_fputs)
|
libc_hidden_proto (_IO_fputs)
|
||||||
|
|||||||
Reference in New Issue
Block a user