Re: [PATCH 10/15] x86_64: expand and shrink messages in copy{in, out}msg routines

2022-08-29 Thread Samuel Thibault
Luca, le mar. 30 août 2022 07:57:23 +0200, a ecrit: > Il 28/08/22 15:13, Samuel Thibault ha scritto: > > This was breaking the 32bit kernel case. I have pushed a fix for that, > > that does this move of setting msgh_size to copyinmsg itself. > > The 32-bit case was breaking because it needed an up

Re: [PATCH 11/15] update syscall signature with rpc_vm_* and mach_port_name_t

2022-08-29 Thread Luca
Il 28/08/22 15:19, Samuel Thibault ha scritto: Have you gone through the whole list of the syscalls? I guess we have to do that to be somehow sure we have not missed anything (rather than relying on noticing odd bugs in userland) I went over all syscalls and I found I didn't cover all, but thes

Re: [PATCH 10/15] x86_64: expand and shrink messages in copy{in, out}msg routines

2022-08-29 Thread Luca
Il 28/08/22 15:13, Samuel Thibault ha scritto: That's great work :D Thanks :) Luca Dariz, le mar. 28 juin 2022 12:10:49 +0200, a ecrit: diff --git a/i386/i386/copy_user.h b/i386/i386/copy_user.h new file mode 100644 index ..ab932401 --- /dev/null +++ b/i386/i386/copy_user.h @@ -0,0 +

Re: [PATCH v3] pfinet: Add SIOCADDRT and SIOCDELRT equivalent iioctls

2022-08-29 Thread Samuel Thibault
Applied, thanks! Damien Zammit, le lun. 29 août 2022 10:30:04 +, a ecrit: > Using a new client side > I was able to clean up the existing options.c in pfinet > and add two new ioctls for adding/deleting network routes. > > #ifndef NET_ROUTE_H_ > #define NET_ROUTE_H_ > > #include > #include

Re: [PATCH] Fix types of read write and readables methods

2022-08-29 Thread Samuel Thibault
Applied, thanks! Etienne Brateau, le lun. 29 août 2022 21:36:17 +0200, a ecrit: > --- > boot/boot.c | 6 +++--- > console-client/trans.c| 4 ++-- > libdiskfs/io-read.c | 2 +- > libdiskfs/io-readable.c | 2 +- > libdiskfs/io-write.c | 2 +- >

[PATCH] Fix types of read write and readables methods

2022-08-29 Thread Etienne Brateau
--- boot/boot.c | 6 +++--- console-client/trans.c| 4 ++-- libdiskfs/io-read.c | 2 +- libdiskfs/io-readable.c | 2 +- libdiskfs/io-write.c | 2 +- libnetfs/io-read.c| 2 +- libnetfs/io-readable.c| 2 +- libnetfs/io-wri

[PATCH v3] pfinet: Add SIOCADDRT and SIOCDELRT equivalent iioctls

2022-08-29 Thread Damien Zammit
Using a new client side I was able to clean up the existing options.c in pfinet and add two new ioctls for adding/deleting network routes. #ifndef NET_ROUTE_H_ #define NET_ROUTE_H_ #include #include #include #define _IOT_ifrtreq _IOT (_IOTS(char), IFNAMSIZ, _IOTS(int), 10, 0, 0) /* move to