This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]