Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Mar 2003 14:49:48 -0800 (PST)
From:      David Malone <dwmalone@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/dev/kbd kbd.c
Message-ID:  <200303092249.h29Mnma3080700@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
dwmalone    2003/03/09 14:49:48 PST

  FreeBSD src repository

  Modified files:
    sys/dev/kbd          kbd.c 
  Log:
  Add a a sysctl, hw.kbd.keymap_restrict_change, which acts a bit
  like secure level but which restricts changes to the keymap. Its
  values impose the following restrictions:
  
  0: No restriction - this is the default.
  1: Only root can change restricted keys (like boot, panic, ...)
  2: Only root can change restricted keys and regular keys.
     Other users still can change accents and function keys.
  3: Only root can change restricted keys, regular keys and accents.
  4: Only root can change any of the keymap (restricted keys, regular
        keys, accents and function keys).
  
  Unfortunately, the keyboard's accent map is cleared when a new keymap
  is loaded, which makes the distinction between level 3 and level 4
  less useful.
  
  The MAC guys might like to make this a policy?
  
  No objections from: -audit about 6 moths ago
  
  Revision  Changes    Path
  1.33      +144 -0    src/sys/dev/kbd/kbd.c

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-src" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200303092249.h29Mnma3080700>