@thomas@social.bau-ha.us hmm... no idea what that smells like 😅
Upstream first. 
Avatar by @shidokou (X)
Posts
Just did a thing... 🇰🇷 👀 🤞
"During one of my presentations at Open Source Summit Japan🇯🇵 the past year, I talked about a bug I found while addressing -Wflex-array-member-not-at-end issues in the Linux kernel. [...]
[...] not-at-end FAMs are a compiler extension that may cause undefined behavior, and compilers don't handle the sizes of objects containing them consistently. For this reason, they are now deprecated..[...]"🐧
16 years ago today, after watching a presentation on YouTube titled "Write and Submit your first Linux Kernel Patch"[1] by @gregkh@social.kernel.org, I submitted my first patch[2] to the Linux kernel. 🙂
I didn't really have much idea of what I was doing, and after submitting a few more similar patches that same year (2010), I stopped.
Years later, in 2017, I picked it up again, and haven't stopped since: https://embeddedor.com/blog/ 🐧⚔️🛡
[1] https://youtu.be/LLBrBBImJt4
[2] https://git.kernel.org/linus/b4ae23ce014d25af
"-Wflex-array-member-not-at-end and a misalignment bug in the Linux kernel
During one of my presentations at Open Source Summit Japan🇯🇵 the past year, I talked about a bug I found while addressing -Wflex-array-member-not-at-end issues in the Linux kernel. [...]
[...] not-at-end FAMs are a compiler extension that may cause undefined behavior, and compilers don't handle the sizes of objects containing them consistently. For this reason, they are now deprecated..[...]"🐧
While reviewing one of the patches sent to the linux-hardening list this afternoon, I spotted a bug I introduced in the same code two years ago (on March 5 2024, to be precise).
Over nearly a decade contributing to the Linux kernel, I’ve discovered and fixed many years-old bugs, and it’s always a special feeling. This time is no different. Here to fix what I break! 🙌🏼
I talked for more than two hours (135 mins to be precise) about upstream Linux kernel hardening at Okayama University this afternoon. 🐧👨🏽💻🎙
I just uploaded my slides here: https://embeddedor.com/blog/presentations/#Enhancing_spatial_safety_Better_array-bounds_checking_in_C_and_Linux_Okayama_University_%E2%80%93Guest_talk
I really enjoyed the session. The students were amazing. They were well prepared and asked a lot of questions. 👏🏼👏🏼
#Linux #OpenSource #Education #Mentoring #Okayama #OkayamaUniversity