The protection in the general case and the ability to do live
debugging.
What protection. You've completely failed to explain or provide a single
example of any protection provided by the STRICT_DEVMEM code.
only a half of the story. The truth is that at least RHEL has
/dev/crash
exactly to circumvent that /dev/mem restriction. Don't tell me that this
is better than having that sysctl entry. ;-)
Which nicely illustrates what a waste of time the whole thing is.
Please do the decent thing and just turn the crap concerned off. The fact
other vendors get it wrong doesn't mean you need to copy. Even better
submit a patch to remove this rubbish from the kernel completely.
Your patch is still adding bells and whistles to a useless turd. In fact
this patch is worse. Without this patch the turd can be disabled and left
out, with your patch everyone now has to compile in said turd pile.
NAK this changeset.
Alan