Re: [RFC PATCH 1/2] elf: Port ldconfig away from stack-allocated paths

2023-05-20 Thread Sergey Bugaev
Hello, On Fri, May 19, 2023 at 3:25 PM Florian Weimer wrote: > Missing error checking? Indeed, thanks. Fixed. > I think we use x* functions such a xstrdup elsewhere in ldconfig, so you > could add xasprintf as well. Apparently the existing code didn't #include and link to libsupport (xstrdup

Re: Intel to potentially disable running 32-bit binaries on 64-bit processors

2023-05-20 Thread Jessica Clarke
On 20 May 2023, at 19:52, jbra...@dismail.de wrote: > > Hey friends, > > > I just saw this phoronix article that said that Intel is considering newer > processors to only run in 64-bit mode. > > It is likely years away, but I thought I would mention it. > > Thanks, > > Joshua > >

Intel to potentially disable running 32-bit binaries on 64-bit processors

2023-05-20 Thread jbranso
Hey friends, I just saw this phoronix article that said that Intel is considering newer processors to only run in 64-bit mode. It is likely years away, but I thought I would mention it. Thanks, Joshua https://www.phoronix.com/news/Intel-X86-S-64-bit-Only

Re: [PATCH 2/3] htl: Use __hurd_fail () instead of assigning errno

2023-05-20 Thread Samuel Thibault
Applied, thanks! Sergey Bugaev via Libc-alpha, le sam. 20 mai 2023 14:55:30 +0300, a ecrit: > Signed-off-by: Sergey Bugaev > --- > > *Technically*, sysdeps/htl/ is not Hurd-specific (unlike, say, > sysdeps/hurd/htl), but I don't think this distinction is meaningful, > and the H in HTL must

Re: [PATCH 3/3] io: Fix a typo

2023-05-20 Thread Samuel Thibault
applied, thanks! Sergey Bugaev via Libc-alpha, le sam. 20 mai 2023 14:55:31 +0300, a ecrit: > Fixes 85f7554cd97e7f03d8dc66278653045ef63a2221 > "Add test case for O_TMPFILE handling in open, openat" > > Signed-off-by: Sergey Bugaev > --- > io/tst-open-tmpfile.c | 4 ++-- > 1 file changed, 2

Re: [PATCH 1/3] hurd: Use __hurd_fail () instead of assigning errno

2023-05-20 Thread Samuel Thibault
Applied, thanks! Sergey Bugaev, le sam. 20 mai 2023 14:55:29 +0300, a ecrit: > The __hurd_fail () inline function is the dedicated, idiomatic way of > reporting errors in the Hurd part of glibc. Not only is it more concise > than '{ errno = err; return -1; }', it is since commit >

[PATCH 2/3] htl: Use __hurd_fail () instead of assigning errno

2023-05-20 Thread Sergey Bugaev
Signed-off-by: Sergey Bugaev --- *Technically*, sysdeps/htl/ is not Hurd-specific (unlike, say, sysdeps/hurd/htl), but I don't think this distinction is meaningful, and the H in HTL must stand for something. Still, this is in a separate patch so it can be (not) applied easily.

[PATCH 3/3] io: Fix a typo

2023-05-20 Thread Sergey Bugaev
Fixes 85f7554cd97e7f03d8dc66278653045ef63a2221 "Add test case for O_TMPFILE handling in open, openat" Signed-off-by: Sergey Bugaev --- io/tst-open-tmpfile.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/io/tst-open-tmpfile.c b/io/tst-open-tmpfile.c index

[PATCH 1/3] hurd: Use __hurd_fail () instead of assigning errno

2023-05-20 Thread Sergey Bugaev
The __hurd_fail () inline function is the dedicated, idiomatic way of reporting errors in the Hurd part of glibc. Not only is it more concise than '{ errno = err; return -1; }', it is since commit 6639cc10029e24e06b34e169712b21c31b8cf213 "hurd: Mark error functions as __COLD" marked with the cold

Re: Sample command output

2023-05-20 Thread Samuel Thibault
Sergey Bugaev, le sam. 20 mai 2023 11:59:55 +0300, a ecrit: > On Sat, May 20, 2023 at 11:53 AM Samuel Thibault > wrote: > > Luca, le sam. 20 mai 2023 10:07:26 +0200, a ecrit: > > > What is the limitation with the ramdisk size? > > > > It's basically about the RAM size. So if you want a larger

Re: Sample command output

2023-05-20 Thread Sergey Bugaev
Hello, On Sat, May 20, 2023 at 11:53 AM Samuel Thibault wrote: > Luca, le sam. 20 mai 2023 10:07:26 +0200, a ecrit: > > What is the limitation with the ramdisk size? > > It's basically about the RAM size. So if you want a larger initrd, give > more ram :) I've tried to increase the ramdisk size

Re: Sample command output

2023-05-20 Thread Samuel Thibault
Luca, le sam. 20 mai 2023 10:07:26 +0200, a ecrit: > What is the limitation with the ramdisk size? It's basically about the RAM size. So if you want a larger initrd, give more ram :) Samuel

Re: Sample command output

2023-05-20 Thread Luca
Il 17/05/23 20:08, Sergey Bugaev ha scritto: On Wed, May 17, 2023 at 8:49 PM Sergey Bugaev wrote: (I only have the Hurd itself and partly binutils installed): ...and by binutils I mean coreutils, of course. That's great! I haven't had time to test it yet... ("Partly", because there was