News for hackers. Stuff that matters.
Re:Kerla: Monolithic kernel in Rust, aiming for Linux ABI co... by 0xTJ on Monday October 25, 2021 @08:36AM (#28987060)
Wow, I really like the implementation of that syscall. I've got my own toy OS project in C, for the M68k, and my `read` is "a little" less clean [0, 1].

[0]: https://gitlab.com/0xTJ/mosys/-/blob/master/src/vfs.c#L469

[1]: https://gitlab.com/0xTJ/mosys/-/blob/master/src/vfs.c#L907

Re:Kerla: Monolithic kernel in Rust, aiming for Linux ABI co... by nuta on Monday October 25, 2021 @08:47AM (#28987157)
Thanks! By the way, your MUTEX_WITH macro looks pretty interesting to me. I've never seen the idea.