Adhemerval Zanella
95a7339258
tunables: Use direct syscall for access (BZ#21744)
...
The function maybe_enable_malloc_check, which is called by
__tunables_init, calls __access_noerrno. It isn't problem when
symbol is is in ld.so, which has a special version of __access_noerrno
without stack protector. But when glibc is built with stack protector,
maybe_enable_malloc_check in libc.a can't call the regular version of
__access_noerrno with stack protector.
This patch changes how Linux defines the __access_noerrno to be an
inline call instead and thus preventing defining different build
rules for ld/static and shared.
H.J. Lu <hongjiu.lu@intel.com>
Adhemerval Zanella <adhemerval.zanella@linaro.org>
[BZ #21744 ]
* elf/dl-tunables.c: Include not-errno.h header.
* include/unistd.h (__access_noerrno): Remove definition.
* sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
* sysdeps/generic/not-errno.h: New file.
* sysdeps/unix/sysv/linux/not-errno.h: Likewise.
2017-07-24 11:21:07 -03:00
..
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-06-26 22:03:58 +00:00
2017-06-08 13:58:17 -04:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2015-02-13 15:41:34 -08:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-06-14 10:47:25 +09:30
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-03-14 17:18:52 +01:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-05-15 10:23:28 -03:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2016-12-26 10:08:41 +01:00
2017-01-01 00:14:16 +00:00
2015-11-06 13:58:53 +01:00
2017-01-01 00:14:16 +00:00
2017-06-08 12:52:42 -07:00
2015-11-06 13:58:53 +01:00
2015-11-06 13:58:53 +01:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-07-17 17:49:26 -03:00
2017-01-01 00:14:16 +00:00
2015-11-06 13:58:53 +01:00
2015-11-06 13:58:53 +01:00
2015-11-06 13:58:53 +01:00
2016-11-04 16:49:06 +00:00
2015-11-06 13:58:53 +01:00
2016-03-07 00:49:36 +01:00
2015-11-06 13:58:53 +01:00
2015-11-06 13:58:53 +01:00
2015-11-06 13:58:53 +01:00
2016-03-07 00:49:36 +01:00
2015-09-04 19:44:27 +00:00
2016-11-30 16:23:58 +01:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-06-30 09:11:24 -07:00
2017-06-30 09:11:24 -07:00
2017-01-01 00:14:16 +00:00
2017-02-25 10:40:48 -05:00
2017-05-15 10:23:28 -03:00
2017-06-22 22:46:27 +00:00
2017-01-01 00:14:16 +00:00
2017-06-22 23:03:38 +00:00
2017-02-23 11:28:50 -03:00
2017-05-15 10:24:14 -03:00
2017-02-23 11:28:50 -03:00
2017-02-23 11:28:50 -03:00
2017-05-17 14:44:08 -03:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-07-24 11:21:07 -03:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2012-11-04 10:11:39 +01:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-06-20 20:32:50 -04:00
2017-01-01 00:14:16 +00:00
2017-05-20 19:04:43 -04:00
2013-09-23 01:44:38 -04:00
2017-01-01 00:14:16 +00:00
2017-05-04 20:36:42 +00:00
2017-05-11 19:14:11 -04:00
2017-01-01 00:14:16 +00:00
2016-12-26 10:11:05 +01:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2012-07-26 11:29:07 +00:00
2017-01-01 00:14:16 +00:00
2017-03-07 20:52:04 +05:30
2017-01-01 00:14:16 +00:00
2017-04-17 12:03:44 -03:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00