Date: Sun, 26 Aug 2001 00:49:58 +0200 From: Pascal Pederiva <freebsd@paped.com> To: Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp> Cc: freebsd-stable@FreeBSD.ORG Subject: Re: Disabling harmful keys (was: Re: PATCH: syscons.c sysctl for PC-Reboot Keys) Message-ID: <20010826004958.A81897@paped.com> In-Reply-To: <200108101231.VAA17040@zodiac.mech.utsunomiya-u.ac.jp>; from yokota@zodiac.mech.utsunomiya-u.ac.jp on Fri, Aug 10, 2001 at 09:31:11PM %2B0900 References: <200108101231.VAA17040@zodiac.mech.utsunomiya-u.ac.jp>
next in thread | previous in thread | raw e-mail | index | archive | help
Kazu, your proposition sounds very resonable - I like the idea of a bitmap in machdep.disable_harmful_keys for the various harmful keys. SC_DISABLE_HARMFUL_KEYS : should probably just set the default for machdep.disable_harmful_keys to 0xff instead of actually disabling code. Thanks a lot, Pascal > 2. Proposition > > In order to not have too many kernel options and sysctl variables > to control individual keys, I shall propose the following compromise. > > - One kernel option to permanently disable all harmful keys. > SC_DISABLE_HARMFUL_KEYS > > - One sysctl variable to enable/disable individual harmful keys. > machdep.disable_harmful_keys > > This is a bitmap in which you set a bit to disable corresponding > harmful key. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010826004958.A81897>