Re: [PATCH 2/2] tests/machmsg: check rx message size on different code paths

2024-06-11 Thread Samuel Thibault
Applied, thanks! Luca Dariz, le mer. 12 juin 2024 08:27:55 +0200, a ecrit: > * tests/test-machmsg.c: add more combinations to existing cases: > - make tx and rx ports independent in the send/receive tests > - add two more variants for send/receive tests, using two separate > system calls,

Re: [PATCH 1/2] x86_64: fix msg size forwarding in case it's not set by userspace

2024-06-11 Thread Samuel Thibault
Applied, thanks! Luca Dariz, le mer. 12 juin 2024 08:27:54 +0200, a ecrit: > * ipc/copy_user.c: recent MIG stubs should always fill the size > correctly in the msg header, but we shouldn't rely on that. Instead, > we use the size that was correctly copied-in, overwriting the value > in the h

[PATCH 2/2] tests/machmsg: check rx message size on different code paths

2024-06-11 Thread Luca Dariz
* tests/test-machmsg.c: add more combinations to existing cases: - make tx and rx ports independent in the send/receive tests - add two more variants for send/receive tests, using two separate system calls, using different code paths in mach_msg(). --- tests/test-machmsg.c | 117 ++

[PATCH 1/2] x86_64: fix msg size forwarding in case it's not set by userspace

2024-06-11 Thread Luca Dariz
* ipc/copy_user.c: recent MIG stubs should always fill the size correctly in the msg header, but we shouldn't rely on that. Instead, we use the size that was correctly copied-in, overwriting the value in the header. This is already done by the 32-bit copyinmsg(), and was missing in the 64-b

Re: [PATCH] add example of how to create a custom filesystem.

2024-06-11 Thread Joshua Branson
"jbra...@dismail.de" writes: > Hey Samuel, this is another modification of a previous commit. > Hopefully this addresses your critiques. I also added in > "-E root_owner=$UID:0" to some other files, where I thought it > was appropirate. Hopefully I didn't make any mistakes. I did test > this b