A fun thought experiment would be figuring how to achieve something similar using eBPF to get better control at the kernel level