[PATCH] Don't all __access_noerrno with stack protector from __tunables_init [BZ #21744]

Adhemerval Zanella adhemerval.zanella@linaro.org
Mon Jul 17 20:41:00 GMT 2017



On 17/07/2017 17:39, Florian Weimer wrote:
> * H. J. Lu:
> 
>> I don't think it works for Hurd.

Right, but I still think it would be better to make the access call 
platform specific and call __access_noerrno for Hurd and issue
an inline syscall for Linux.

> 
> Yes, generic code cannot use INTERNAL_SYSCALL_CALL.  And it would have
> to be INLINE_SYSCALL_CALL to prevent the errno access, I think.
> 

INLINE_SYCALL_CALL is the one that sets errno in fact.



More information about the Libc-alpha mailing list