Re: [PATCH]: Runtime enable/disable magic sysrq against 2.1.107pre1.

Adam Sulmicki (adam@cfar.umd.edu)
Thu, 25 Jun 1998 13:14:50 -0400


Myrdraal writes:
-> For all those who said that having magic sysrq enabled on a system was
-> a security hole:
-> This patch will add /proc/sys/debug/sysrq_enable. If you:
-> echo "0">/proc/sys/debug/sysrq_enable
-> then sysrq won't work. If you:
-> echo "1">/proc/sys/debug/sysrq_enable
-> then sysrq will work. "1" is the default setting. Comments? This is
-> my very first kernel hack, so be gentle :)

IMHO, it is an debug feature, so it should be *diabled by default*.
After all you don't want random Joe to come to your machine and
play random stuff with it.

However, since you want to have it enable as early as possible during
kernel booting, as I see the soluion is to add it as
command line option to pass to kernel.

Just my 2 bits aligend to 16bits boundary.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu