Re: [hurd, commited] hurd: Use __trivfs_server_name instead of trivfs_server_name

2022-01-01 Thread Samuel Thibault
Florian Weimer, le sam. 01 janv. 2022 20:02:12 +0100, a ecrit: > * Samuel Thibault: > > > Florian Weimer, le sam. 01 janv. 2022 19:48:21 +0100, a ecrit: > >> * Samuel Thibault via Libc-alpha: > >> >> > + if (&__trivfs_server_name && __trivfs_server_name > >> >> > + && __trivfs_server_name[0]

Re: [hurd, commited] hurd: Use __trivfs_server_name instead of trivfs_server_name

2022-01-01 Thread Florian Weimer
* Samuel Thibault: > Florian Weimer, le sam. 01 janv. 2022 19:48:21 +0100, a ecrit: >> * Samuel Thibault via Libc-alpha: >> >> > + if (&__trivfs_server_name && __trivfs_server_name >> >> > + && __trivfs_server_name[0] == 'r' >> >> > + && __trivfs_server_name[1] == 'a' >> >> > + &&

Re: [hurd, commited] hurd: Use __trivfs_server_name instead of trivfs_server_name

2022-01-01 Thread Samuel Thibault
Florian Weimer, le sam. 01 janv. 2022 19:48:21 +0100, a ecrit: > * Samuel Thibault via Libc-alpha: > >> > + if (&__trivfs_server_name && __trivfs_server_name > >> > + && __trivfs_server_name[0] == 'r' > >> > + && __trivfs_server_name[1] == 'a' > >> > + && __trivfs_server_name[2] ==

Re: [hurd, commited] hurd: Use __trivfs_server_name instead of trivfs_server_name

2022-01-01 Thread Florian Weimer
* Samuel Thibault via Libc-alpha: > Florian Weimer, le sam. 01 janv. 2022 18:27:49 +0100, a ecrit: >> > @@ -33,14 +33,14 @@ __getrandom (void *buffer, size_t length, unsigned int >> > flags) >> >size_t amount_read; >> >int fd; >> > >> > - if (&trivfs_server_name && trivfs_server_name >

Re: [hurd, commited] hurd: Use __trivfs_server_name instead of trivfs_server_name

2022-01-01 Thread Samuel Thibault
Florian Weimer, le sam. 01 janv. 2022 18:27:49 +0100, a ecrit: > > @@ -33,14 +33,14 @@ __getrandom (void *buffer, size_t length, unsigned int > > flags) > >size_t amount_read; > >int fd; > > > > - if (&trivfs_server_name && trivfs_server_name > > - && trivfs_server_name[0] == 'r' >

Re: [hurd, commited] hurd: Make getrandom a stub inside the random translator

2022-01-01 Thread Samuel Thibault
Florian Weimer, le ven. 31 déc. 2021 21:45:18 +0100, a ecrit: > * Samuel Thibault via Libc-alpha: > > Joseph Myers, le ven. 31 déc. 2021 20:24:02 +, a ecrit: > >> On Fri, 31 Dec 2021, Samuel Thibault wrote: > >> > >> > +extern char *trivfs_server_name __attribute__((weak)); > >> > >> This loo