I needed to add a custom System Request (Sys Req or SysRq) to a linux kernel some time ago. While doing so, I dug deep into how it works and I thought I’d make a quick post about it. Here is a good SuperUser answer about what a SysRq is. You may also know about SysRq via REISUB. This post has three parts: how to raise a SysRq, how SysRq works (looking into kernel code), and how to add your own SysRq.
I love abusing sigusr1 and 2. Absolutely no confusion or shooting myself in the foot in 3 months when I forget what I did… No sir
Let’s talk about how I don’t like Linus tech tips again. I know your can’t wrap your mind around me having my own opinion and posting one sentence about it
THIS IS MUCH BETTER
Yeah you’re really showing them how you have the moral high ground by following them to other posts and harassing them there… ???