Hello Jon,

Tuesday, May 22, 2001, 12:30:44 AM, you wrote:

JP> I thought it would be useful to have a sysctl for disabling the
JP> keyboard reboot sequence.  This functionality is currently
JP> available through the SC_DISABLE_REBOOT config option, but it's
JP> convenient to have this capability available at runtime, too.

JP> I can't say I'm much of a kernel hacker, but the attached patch
JP> works fine for me.  It applies against 4.3-STABLE, but the same
JP> logic applied to 5.0-CURRENT (which I don't have available for
JP> testing).

JP> Note that investigation revealed that OpenBSD has a similar
JP> sysctl named machdep.kdbreset.  I prefer machdep.disable_reboot_key,
JP> but I'm against changing it for feel-good compatibility reasons.

JP> If someone with clue feels there is merit in this, feel free to
JP> commit it.

I have already failed many times to persuade them to add a sysctl
about keyboard reboot, they prefer to change a keymap file and allow
everyone to load it into kernel.

-- 
Gook luck,
David Xu



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to