[PATCH gnumach] Delete include/mach/rpc.h

2023-05-04 Thread Flavio Cruz
File is unused. --- Makefrag.am| 1 - include/mach/rpc.h | 34 -- ipc/ipc_port.h | 1 - ipc/ipc_target.h | 1 - ipc/mach_port.c| 1 - 5 files changed, 38 deletions(-) delete mode 100644 include/mach/rpc.h diff --git a/Makefrag.am b/Makefrag.a

[PATCH hurd] Update eth-multiplexer/vdev.c to be more portable

2023-05-04 Thread Flavio Cruz
* Perform the correct alignment for x86_64. * Use designated initializers. --- eth-multiplexer/vdev.c | 39 ++- 1 file changed, 22 insertions(+), 17 deletions(-) diff --git a/eth-multiplexer/vdev.c b/eth-multiplexer/vdev.c index 548af9d2..f441803d 100644 --- a/

[PATCH glibc] Update hurd/hurdselect.c to be more portable.

2023-05-04 Thread Flavio Cruz
Summary of changes: - Use BAD_TYPECHECK to perform type checking in a cleaner way. BAD_TYPECHECK is moved into sysdeps/mach/rpc.h to avoid duplication. - Remove assertions for mach_msg_type_t since those won't work for x86_64. - Update message structs to use mach_msg_type_t directly and rely on

Rust on Hurd GSoC (Was: Prospectives)

2023-05-04 Thread Samuel Thibault
Hello Vedant, So the assignment is now official, congrats and welcome! So now begins the bonding period. This is the time to get acquainted with the communication channels of the projects. You should subscribe to the bug-hurd mailing list, and it would be useful that you come to the #hurd channel

Re: [PATCH gnumach] Use designated initializers in kern/ipc_kobject.c

2023-05-04 Thread Samuel Thibault
Applied, thanks! Flavio Cruz, le jeu. 04 mai 2023 00:37:04 -0400, a ecrit: > msgt_deallocate was not initialized explicitly, this fixes that too. > --- > kern/ipc_kobject.c | 15 --- > 1 file changed, 8 insertions(+), 7 deletions(-) > > diff --git a/kern/ipc_kobject.c b/kern/ipc_kobj

Re: [PATCH gnumach] Improve portability for device/net_io.c and use designated initializers

2023-05-04 Thread Samuel Thibault
Applied, thanks! Flavio Cruz, le jeu. 04 mai 2023 00:26:32 -0400, a ecrit: > --- > device/net_io.c | 32 +--- > 1 file changed, 17 insertions(+), 15 deletions(-) > > diff --git a/device/net_io.c b/device/net_io.c > index bad6d3eb..cabb1be9 100644 > --- a/device/net_io

Re: [PATCH glibc] Update hurd/intr-msg.c to be more portable

2023-05-04 Thread Samuel Thibault
Applied, thanks! Flavio Cruz via Libc-alpha, le jeu. 04 mai 2023 00:08:12 -0400, a ecrit: > Summary of the changes: > - Introduce BAD_TYPECHECK from MiG to make it simpler to do type > checking. > - Replace int type with mach_msg_type_t. This assumes that > mach_msg_type_t is always the same s

Re: [PATCH glibc] Update sysdeps/mach/hurd/ioctl.c to make it more portable

2023-05-04 Thread Samuel Thibault
Applied, thanks! Flavio Cruz via Libc-alpha, le jeu. 04 mai 2023 00:06:46 -0400, a ecrit: > Summary of the changes: > - Update msg_align to use ALIGN_UP like we have done in previous > patches. Use it below whenever necessary to avoid repeating the same > alignment logic. > - Define BAD_TYPECH