OP
Deleted member 70435
Guest
- Thread Starter
- #26
GitHub - johalun/echo: FreeBSD kernel module in Rust
FreeBSD kernel module in Rust . Contribute to johalun/echo development by creating an account on GitHub.
with this implementation it is possible to load pieces of code from crates. both at the kernel level and at the user level it is possible, and very easily.
I don't know if you were implying that Rust code can be used without a Rust compiler because of Crates?
Cargo is a build and packaging tool.
Unless I'm begin unintentionally oblivious here I don't think that anybody stated that you don't have the competence.many here still said that I don't have the competence for that.
It will need the compiler because of the package/port, even if the compiler isn't needed and only Cargo is in the actual use. Come to think of it, compiling the kernel in C is a common user task for FreeBSD users. Compiling, rather than inserting code, would obviously need the Rust compiler.Requirements:
I recommend using rustup for installing and handling different versions of Rust.
- FreeBSD machine
- Rust nightly
- Xargo
I saw criticism of the idea, but I don't know if anyone said that. I don't have the ability to do lots of things which are complex and require a specific knowledge set.many here still said that I don't have the competence for that.
Warning
If there are any bugs or faulty code the kernel will most likely hang.
I recommend testing the module in a virtual machine.
It keeps your system safe and it makes it easier to develop and test.
That Rust has its own implementation of libc. Relibc seems to have its own problems:
- Custom libc written in Rust (relibc)
Echo is just a PoC for writing a kernel module in Rust, not the kernel itself. Doesn't need updates unless it doesn't work anymore.The latest updates of the code of Echo (Rust kernel for FreeBSD) are 5 years old. It looks like a surge of interest in it can help with it getting patches and other updates.
About
FreeBSD kernel module in Rust
kernels="kernel kernel.old kernel.orig kernel.bk kernel.c kernel.rust"
kernel= "kernel" # default selection kernel
freebsd-update
that works. The latest compiled Rust or C kernel can be chosen on each bootup as well. This menu can also be used to test performance of a compiled Rust vs C kernel on a different reboot.I don't think that this is correct. The echo GitHub repository initially linked by Dimitri Chuikov appears to be "just" a kernel module. It's not a kernel. It's just a kernel module. Just like you'd write a FreeBSD kernel module in C except that this one is written in Rust.Echo is a kernel module that builds a Rust kernel based on a newer FreeBSD and kernel?
… member of FreeBSD's Primary RE Team (security I think.)
That said with this impressive titleHello when I mentioned that rust can give us a good programming base I said in the way we can implement things, I see the FreeBSD kernel code for example is something very simple and something that can, if written easily.
Rust Language
@rustlang
Rust believes that tech is and always will be political- take some time today to invest in your community.
source https://dictionary.cambridge.org/dictionary/english/propaganda
The brutality statement is in a different tweet. "x is political" is exactly like "x is a social construct" or "black lives matter". It's not there for the content (we already know that to be true, there is nothing new or profound), it's a slogan a particular group of people use to identify themselves.I don't think giving a statement against police brutality can be directly linked to any talk about "social constructs".