Rex is a safe kernel extension framework that allows Rust in the place of eBPF
1–10 of 72 posts
Re: Rex is a safe kernel extension framework that allows Rust in the place of eBPF
#2Also there’s reasons why eBPF programs aren’t allowed to run arbitrarily long and this just ignores that problem too.
Re: Rex is a safe kernel extension framework that allows Rust in the place of eBPF
#3Maybe i'm missing something, but isn't that a bad thing?
Re: Rex is a safe kernel extension framework that allows Rust in the place of eBPF
#4As a lover of Rust, ooo boy does this sound like a bad idea. The Rust compiler is not guaranteed to always output safe code against malicious inputs given that there’s numerous known soundness bugs that allow exploiting this. Unless I’m missing something this is a security nightmare of an idea. Also there’s reasons why eBPF programs aren’t allowed to run arbitrarily long and this just ignores that problem too.
Re: Rex is a safe kernel extension framework that allows Rust in the place of eBPF
#5As a lover of Rust, ooo boy does this sound like a bad idea. The Rust compiler is not guaranteed to always output safe code against malicious inputs given that there’s numerous known soundness bugs that allow exploiting this. Unless I’m missing something this is a security nightmare of an idea. Also there’s reasons why eBPF programs aren’t allowed to run arbitrarily long and this just ignores that problem too.
If it has to be native code, it should live on user space, at very least.
Re: Rex is a safe kernel extension framework that allows Rust in the place of eBPF
#6> This approach avoids the overly restricted verification requirements (e.g., program complexity constraints) Maybe i'm missing something, but isn't that a bad thing?
Re: Rex is a safe kernel extension framework that allows Rust in the place of eBPF
#7Re: Rex is a safe kernel extension framework that allows Rust in the place of eBPF
#8As a lover of Rust, ooo boy does this sound like a bad idea. The Rust compiler is not guaranteed to always output safe code against malicious inputs given that there’s numerous known soundness bugs that allow exploiting this. Unless I’m missing something this is a security nightmare of an idea. Also there’s reasons why eBPF programs aren’t allowed to run arbitrarily long and this just ignores that problem too.
In this comment someone tries to justify its design, citing a lwn article: https://github.com/rex-rs/rex/issues/2#issuecomment-26965339...
Re: Rex is a safe kernel extension framework that allows Rust in the place of eBPF
#9We need a way to run HolyC in the kernel