Re: [PATCH 03/14] add mach_host tests

2024-01-06 Thread Luca
Il 06/01/24 20:43, Sergey Bugaev ha scritto: On Sat, Jan 6, 2024 at 10:26 PM Luca wrote: Uhm, I still have an issue, although a bit different now: By the way, the exception is still the same (General Protection, which is usually forwarded to user space), but for a different reason, apparently

Re: [PATCH 03/14] add mach_host tests

2024-01-06 Thread Sergey Bugaev
On Sat, Jan 6, 2024 at 10:26 PM Luca wrote: > Uhm, I still have an issue, although a bit different now: > > By the way, the exception is still the same (General Protection, which > is usually forwarded to user space), but for a different reason, > apparently a non-canonical address in $rax=0x8

Re: [PATCH 03/14] add mach_host tests

2024-01-06 Thread Luca
Il 06/01/24 20:02, Sergey Bugaev ha scritto: On Sat, Jan 6, 2024 at 9:45 PM Samuel Thibault wrote: Luca, le sam. 06 janv. 2024 19:41:17 +0100, a ecrit: Il 29/12/23 15:14, Luca Dariz ha scritto: Il 29/12/23 14:44, Samuel Thibault ha scritto: Also, it would be useful to compile the tests with

Re: [PATCH 03/14] add mach_host tests

2024-01-06 Thread Luca
Il 06/01/24 19:44, Samuel Thibault ha scritto: Luca, le sam. 06 janv. 2024 19:41:17 +0100, a ecrit: Il 29/12/23 15:14, Luca Dariz ha scritto: Il 29/12/23 14:44, Samuel Thibault ha scritto: Also, it would be useful to compile the tests with -ftrivial-auto-var-init=pattern so as to fill the stru

Re: [PATCH 03/14] add mach_host tests

2024-01-06 Thread Sergey Bugaev
On Sat, Jan 6, 2024 at 9:45 PM Samuel Thibault wrote: > > Luca, le sam. 06 janv. 2024 19:41:17 +0100, a ecrit: > > Il 29/12/23 15:14, Luca Dariz ha scritto: > > > Il 29/12/23 14:44, Samuel Thibault ha scritto: > > > > Also, it would be useful to compile the tests with > > > > -ftrivial-auto-var-in

Re: [PATCH 03/14] add mach_host tests

2024-01-06 Thread Samuel Thibault
Luca, le sam. 06 janv. 2024 19:41:17 +0100, a ecrit: > Il 29/12/23 15:14, Luca Dariz ha scritto: > > Il 29/12/23 14:44, Samuel Thibault ha scritto: > > > Also, it would be useful to compile the tests with > > > -ftrivial-auto-var-init=pattern so as to fill the structures with random > > > values be

Re: [PATCH 03/14] add mach_host tests

2024-01-06 Thread Luca
Il 29/12/23 15:14, Luca Dariz ha scritto: Il 29/12/23 14:44, Samuel Thibault ha scritto: Also, it would be useful to compile the tests with -ftrivial-auto-var-init=pattern so as to fill the structures with random values before making the gnumach calls. with this option all tests fail on the fi

Re: [PATCH 03/14] add mach_host tests

2023-12-29 Thread Luca Dariz
Il 29/12/23 14:44, Samuel Thibault ha scritto: Luca Dariz, le jeu. 28 déc. 2023 20:42:50 +0100, a ecrit: --- tests/test-mach_host.c | 54 ++ 1 file changed, 54 insertions(+) create mode 100644 tests/test-mach_host.c diff --git a/tests/test-mach_host.

Re: [PATCH 03/14] add mach_host tests

2023-12-29 Thread Samuel Thibault
Luca Dariz, le jeu. 28 déc. 2023 20:42:50 +0100, a ecrit: > --- > tests/test-mach_host.c | 54 ++ > 1 file changed, 54 insertions(+) > create mode 100644 tests/test-mach_host.c > > diff --git a/tests/test-mach_host.c b/tests/test-mach_host.c > new file mod

[PATCH 03/14] add mach_host tests

2023-12-28 Thread Luca Dariz
--- tests/test-mach_host.c | 54 ++ 1 file changed, 54 insertions(+) create mode 100644 tests/test-mach_host.c diff --git a/tests/test-mach_host.c b/tests/test-mach_host.c new file mode 100644 index ..99fc4aca --- /dev/null +++ b/tests/test-mach_ho