33 Followers
330 Following
1.5K Posts
Something kernel, something rust, sometimes embedded.
Pronounserror: use of undeclared identifier 'pronouns'; did you mean 'transfem'
languagesen, de
matrix@kloenk:kloenk.eu
webhttps://kloenk.eu
new account will be @kloenk still have to set everything up, right now it's fully empty. but once that is done I might start the migration process
Huh! Might wanna update as soon as its available!
https://security-tracker.debian.org/tracker/CVE-2024-8927
CVE-2024-8927

looks like playing a bit starcitizen again, did not do that in quite a while
hmm what do I want to do now, right now the options I see is writing some embedded code, or playing satisfactory. Or even something else.
Very very likely will migrate this account very soon. chaos social is nice but sometimes a bit big, and sadly this hardware struggle is a small bit annoying.
and it does not have reactions

don't even need a device it seems, so now as WIP here if anyone wants to try/flame me https://cyberchaos.dev/kloenk/linux/-/commits/kloenk/rust/leds

(have to fix up documentation/commits and so, and then hopefully next week or so will send a RFC to the led tree)

Commits · kloenk/rust/leds · kloenk / linux · GitLab

CyberChaosCreatures Lab

GitLab
https://cyberchaos.dev/kloenk/linux/-/snippets/23 all in safe rust, and even unloading removes the led without extra code
rust led sample ($23) · Snippets · kloenk / linux · GitLab

CyberChaosCreatures Lab

GitLab

```
[root@nixos:~]# echo 1 > /sys/class/leds/sample\:red\:on_off/brightness
[ 21.235690] rust_kernel: foo: On(1)
[ 21.236262] rust_led: Switching led on: 1
[ 21.236264] rust_kernel: bar

[root@nixos:~]# echo 0 > /sys/class/leds/sample\:red\:on_off/brightness
[ 26.785389] rust_kernel: foo: Off
[ 26.785994] rust_led: Switching led off
[ 26.785997] rust_kernel: bar
```
there is a virtual led blinking in my computer

This "untrusted data" patch series from Benno Lossin is the result of conversations at last weekend's Rust Linux kernel conference in Copenhagen:

https://lore.kernel.org/all/[email protected]/

It's not a "silver bullet" for why we should be using rust in the Linux kernel, but it is a "big giant sledgehammer" to help squash and prevent from happening MANY common types of kernel vulnerabilities and bugs (remember, "all input is evil!" and this change forces you to always be aware of that, which is something that C in the kernel does not.)

I had always felt that Rust was the future for what we need to do in Linux, but now I'm sure, because if we can do stuff like this, with no overhead involved (it's all checked at build time), then we would be foolish not to give it a real try.

And yes, I've asked for this for years from the C developers, and maybe we can also do it there, but it's not obvious how and no one has come up with a way to do so. Maybe now they will have some more incentive :)
[PATCH 0/3] Untrusted data abstraction - Benno Lossin

also on the on mails, still have to find a reasonable usable client for linux for my work related stuff. Probably best would be emacs or maybe (neo)mutt. but uff puh configuring that