tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Support for multi-position electro-mechanical keylocks


> - Generic support for keylocks in the kernel.  The number of keylock  
> positions and the current keylock position can be read from the kernel  
> using two functions, userland can access them through the  
> hw.keylock.npos and hw.keylock.pos sysctl variables.

> Index: sys/kern/kern_keylock.c
> ===================================================================
> RCS file: sys/kern/kern_keylock.c
> diff -N sys/kern/kern_keylock.c
> --- /dev/null 1 Jan 1970 00:00:00 -0000
> +++ sys/kern/kern_keylock.c   2 Aug 2009 09:25:19 -0000

I do not agree that it should go there. Functionality is not a part of
the kernel core, nor really generic across the platforms. It might evolve
to something, but currently it is just a callback abstracted in sys/kern.
Please keep that in the driver side.


Home | Main Index | Thread Index | Old Index