Re: [PATCH 6/6] enable syscalls on x86_64

2023-02-24 Thread Sergey Bugaev
On Wed, Feb 22, 2023 at 6:31 PM Luca Dariz wrote: > yes this is the entry point through the call gate, it works with any > 32-bit binary that you can compile on 32-bit hurd. For testing you can > use a ramdisk, like the installer, or some simple executable (I have my > own scripts [0] that I woul

Re: [PATCH 6/6] enable syscalls on x86_64

2023-02-22 Thread Luca Dariz
Hi, Il 22/02/23 15:44, Sergey Bugaev ha scritto: On Sun, Feb 12, 2023 at 8:04 PM Luca Dariz wrote: -// TODO: test it before dropping ud2 - ud2 Hi; could you please tell me how you are testing this? What userland code do you run? How does it make syscalls, does it use lcall $7, $0 like

Re: [PATCH 6/6] enable syscalls on x86_64

2023-02-22 Thread Samuel Thibault
Sergey Bugaev, le mer. 22 févr. 2023 17:44:07 +0300, a ecrit: > On Sun, Feb 12, 2023 at 8:04 PM Luca Dariz wrote: > > -// TODO: test it before dropping ud2 > > - ud2 > > Hi; could you please tell me how you are testing this? > > What userland code do you run? How does it make syscalls, doe

Re: [PATCH 6/6] enable syscalls on x86_64

2023-02-22 Thread Sergey Bugaev
On Sun, Feb 12, 2023 at 8:04 PM Luca Dariz wrote: > -// TODO: test it before dropping ud2 > - ud2 Hi; could you please tell me how you are testing this? What userland code do you run? How does it make syscalls, does it use lcall $7, $0 like on i386, or what? Sergey

Re: [PATCH 6/6] enable syscalls on x86_64

2023-02-12 Thread Samuel Thibault
Applied, thanks Luca Dariz, le dim. 12 févr. 2023 18:03:13 +0100, a ecrit: > Signed-off-by: Luca Dariz > --- > x86_64/locore.S | 3 --- > 1 file changed, 3 deletions(-) > > diff --git a/x86_64/locore.S b/x86_64/locore.S > index 5b9c8ef4..95ece3cc 100644 > --- a/x86_64/locore.S > +++ b/x86_

[PATCH 6/6] enable syscalls on x86_64

2023-02-12 Thread Luca Dariz
Signed-off-by: Luca Dariz --- x86_64/locore.S | 3 --- 1 file changed, 3 deletions(-) diff --git a/x86_64/locore.S b/x86_64/locore.S index 5b9c8ef4..95ece3cc 100644 --- a/x86_64/locore.S +++ b/x86_64/locore.S @@ -1075,9 +1075,6 @@ syscall_entry_2: pushq %rax/* save