Diff for /wikisrc/users/mbalmer/keylock.mdwn between versions 1.5 and 1.6

version 1.5, 2009/12/29 09:28:29 version 1.6, 2009/12/29 09:31:15
Line 23  a driver for GPIO attached keylocks. Line 23  a driver for GPIO attached keylocks.
  The driver registers with the in-kernel keylock "subsystem". See   The driver registers with the in-kernel keylock "subsystem". See
 [gpiolock.c](http://cvsweb.de.netbsd.org/cgi-bin/cvsweb.cgi/src/sys/dev/gpio/gpiolock.c?rev=HEAD).  [gpiolock.c](http://cvsweb.de.netbsd.org/cgi-bin/cvsweb.cgi/src/sys/dev/gpio/gpiolock.c?rev=HEAD).
   
 * <b>secmodel_keylock</b>, a {{manual page|kauth|9}} security model that  * <b>secmodel_keylock</b>, a
   [kauth(9)](http://netbsd.gw.com/cgi-bin/man-cgi?kauth+9+NetBSD-current)
   security model that
 authorizes based on the keylock "closedness".  Wheter the rightmost  authorizes based on the keylock "closedness".  Wheter the rightmost
 (default) or leftmost position of the keylock means open can be  (default) or leftmost position of the keylock means open can be
 controlled using the '''hw.keylock.order''' sysctl variable. This  controlled using the <b>hw.keylock.order</b> sysctl variable. This
 variable can only be changed if the keylock state is OPEN. See  variable can only be changed if the keylock state is OPEN. See
 [secmodel_keylock.c](http://cvsweb.de.netbsd.org/cgi-bin/cvsweb.cgi/src/sys/secmodel/keylock/secmodel_keylock.c?rev=HEAD).  [secmodel_keylock.c](http://cvsweb.de.netbsd.org/cgi-bin/cvsweb.cgi/src/sys/secmodel/keylock/secmodel_keylock.c?rev=HEAD).
   
Line 50  that means leaves room for interpretatio Line 52  that means leaves room for interpretatio
 show what makes sense in the end).  show what makes sense in the end).
   
 To enable the keylock support, the keylock security model, and the  To enable the keylock support, the keylock security model, and the
 {{manual page|gpiolock|4|}} driver, add the following lines to your  [gpiolock(4)](http://netbsd.gw.com/cgi-bin/man-cgi?gpiolock+4+NetBSD-current)
   driver, add the following lines to your
 kernel configuration file:  kernel configuration file:
   
         options KEYLOCK          options KEYLOCK
Line 58  kernel configuration file: Line 61  kernel configuration file:
         gpiolock* at gpio?          gpiolock* at gpio?
   
 Of course you must have at least one GPIO device in your system for the  Of course you must have at least one GPIO device in your system for the
 {{manual page|gpiolock|4|}} driver to work and the lock must be  [gpiolock(4)](http://netbsd.gw.com/cgi-bin/man-cgi?gpiolock+4+NetBSD-current)
   driver to work and the lock must be
 connected properly.  connected properly.
   
 <b>Please keep in mind that this is an experimental feature...</b>  <b>Please keep in mind that this is an experimental feature...</b>

Removed from v.1.5  
changed lines
  Added in v.1.6


CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb