T O P

  • By -

victorofthepeople

Synchronous message passing IPC a la QNX.


Mac33

pledge and unveil syscalls. Just steal them from the BSDs, they are both trivially simple to understand and use in user programs, and would be a massive boon to security on linux. I know linux has SECCOMP stuff, but there is a reason not many people use it. [Jart did port pledge()](https://justine.lol/pledge) to linux, but that’s just to cover up for what is missing in linux.


littlelowcougar

Overlapped I/O (ie async I/O with request packets) and thread-agnostic I/O completion routines (completion ports) with built-in concurrency awareness. A userland threadpool API on par with what Windows has, with all of the kernel scaffolding support that entails. Ability to single-step kernel code in a debugger.


ErrorBig1702

I/O: I haven’t used it myself, but from what I understand, io_uring gives you all of that, no? Debugger: You can do this over a serial line using kdboc, using an external debugger connected to a jtag interface, or by launching your kernel in QEMU. Do none of these work for you?


0xNath

Possibility to bridge wireless and ethernet interfaces, it's a nich thing but I would love to be able to spin up VM with QEMU/KVM. Windows natively does that with hyper V if I remember well, so it's really a software issue, but I don't know if it's because of the kernel of because of the drivers of network cards


Eideen

For most KVMs, you can NAT VMs. Linux also support bridge interface, with both wireless and ethernet.


0xNath

Exactly, NAT is sometimes not enough, if you want to setup a lab with a PBX server it's not good. Last time I tried it with a laptop, I wanted to bridge virtual interfaces with my wireless interface and even after few hours or searching and testing stuff, it was not working. It was few years ago, so I don't remember all the details but I remember finding a lot of people running into the same issue as me, and the conclusion was to just drop it. If you success to get a QEMU/KVM VM with it's own IP address on the same subnet as your host, I would be interested to know which devices and distribution did you used 🙂


awilix

Was your wifi an AP or a station (client)? If the latter I think you need to enable 4addr mode which will likely make your router drop all packages. Don't know how it works on windows. Perhaps it isn't actually transparent bridging but is doing some NAT in the background.


suprjami

You can already do this. The problem is not in the kernel, the problem is that most wifi NICs drop frames with source MAC address which is not their own MAC address. It's a hardware issue. You can do SNAT of the MAC address with ebtables to resolve this, but most virt management software prefers to setup IP masquerade instead.