posix_spawn[p] less secure on Hurd than on Linux

2020-12-23 Thread Bruno Haible
Hi, In glibc versions < 2.15, posix_spawn and posix_spawnp did execute a script (with execution bits set) even if it did not start with a '#!' marker. Then, /bin/sh was used as an interpreter. You can imagine how easily a text file, which happens to set execution bits set because it was copied fr

[PATCH] libtool.m4: update GNU/Hurd test from upstream

2020-12-23 Thread Samuel Thibault
In upstream libtool, 47a889a4ca20 ("Improve GNU/Hurd support.") fixed detection of shlibpath_overrides_runpath, thus avoiding unnecessary relink. This backports it. ChangeLog: * libtool.m4: Match gnu* along other GNU systems. * libffi/configure: Re-generate. * libgomp/conf

[PATCH] libtool.m4: update GNU/Hurd test from upstream

2020-12-23 Thread Samuel Thibault
In upstream libtool, 47a889a4ca20 ("Improve GNU/Hurd support.") fixed detection of shlibpath_overrides_runpath, thus avoiding unnecessary relink. This backports it. ChangeLog: * libtool.m4: Match gnu* along other GNU systems. bfd/ChangeLog: * configure: Re-generate. binutils/Ch

Re: _Static_assert in fpu.c should also take a string

2020-12-23 Thread Samuel Thibault
Hello, Andrea G. Monaco, le mer. 23 déc. 2020 18:54:47 +0100, a ecrit: > But _Static_assert requires another argument, an error string for when > the assertion fails. Ah, right, fixed so, thanks! Samuel

_Static_assert in fpu.c should also take a string

2020-12-23 Thread Andrea G. Monaco
Hello, I'm trying to compile GNU Mach but it aborts because the file i386/i386/fpu.c contains these calls _Static_assert(sizeof(struct i386_xfp_xstate_header) == 8*8); _Static_assert(sizeof(struct i386_xfp_save) == 512 + 8*8); which are the only two calls two _Static_assert I found with grep in

Re: [PATCH] hurd: Fix getting VM_MIN/MAX_ADDRESS OFF TOPIC PRAISE

2020-12-23 Thread Samuel Thibault
Simon Marchi, le mer. 23 déc. 2020 12:07:21 -0500, a ecrit: > Please also commit the ChangeLog entry to the correct > ChangeLog file. Ah, right. > Also, you can add yourself to gdb/MAINTAINERS. Done so. Samuel

Re: [PATCH] hurd: Fix getting VM_MIN/MAX_ADDRESS OFF TOPIC PRAISE

2020-12-23 Thread Simon Marchi
On 2020-12-23 12:01 p.m., Samuel Thibault wrote: > Hello, > > Simon Marchi, le mar. 22 déc. 2020 22:02:40 -0500, a ecrit: >> I've been told you now have push access, give it a try. > > Yep it worked, thanks! > > Samuel > Nice! Please also commit the ChangeLog entry to the correct ChangeLog

Re: [PATCH] hurd: Fix getting VM_MIN/MAX_ADDRESS OFF TOPIC PRAISE

2020-12-23 Thread Samuel Thibault
Hello, Simon Marchi, le mar. 22 déc. 2020 22:02:40 -0500, a ecrit: > I've been told you now have push access, give it a try. Yep it worked, thanks! Samuel