Re: [RFC PATCH glibc 05/34] hurd: Remove __hurd_threadvar_stack_{offset,mask}

2023-04-02 Thread Samuel Thibault
Applied, thanks! Sergey Bugaev, le dim. 19 mars 2023 18:09:48 +0300, a ecrit: > Noone is or should be using __hurd_threadvar_stack_{offset,mask}, we > have proper TLS now. These two remaining variables are never set to > anything other than zero, so any code that would try to use them as > describ

[RFC PATCH glibc 05/34] hurd: Remove __hurd_threadvar_stack_{offset, mask}

2023-03-19 Thread Sergey Bugaev
Noone is or should be using __hurd_threadvar_stack_{offset,mask}, we have proper TLS now. These two remaining variables are never set to anything other than zero, so any code that would try to use them as described would just dereference a zero pointer and crash. So remove them entirely. Signed-of