Date: Tue, 22 May 2001 09:43:01 +0800 From: David Xu <bsddiy@163.net> To: Jon Parise <jon@csh.rit.edu> Cc: freebsd-hackers@freebsd.org Subject: Re: sysctl to disable reboot Message-ID: <1361646066.20010522094301@163.net> In-Reply-To: <20010521123044.H29180@csh.rit.edu> References: <20010521123044.H29180@csh.rit.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
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 majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1361646066.20010522094301>