Hi.
More than 2 years ago I wrote a small non-portable patch [1] to gather
some statistics
about keyboard usage[2] ( I show the counters with modulo 10 but still this is a
security risk. Perhaps some random noise should be added ).
[1]
http://svn.arhuaco.org/svn/src/pcgotchi/trunk/proc-keystroke
struct sarpic_dev *dev = filep->private_data;
int ret_val;
if (down_interruptible (&dev->sem))
return -ERESTARTSYS;
ret_val = __kfifo_put_user(dev->fifo, buffer, length);
up(&dev->sem);
wake_up_interruptible(&dev->readq);
return ret_val;
}
Reg
On 6/12/07, Stelian Pop <[EMAIL PROTECTED]> wrote:
Le lundi 11 juin 2007 à 16:26 -0500, Nelson Castillo a écrit :
> Hi.
>
> I just added support for user space buffers in kfifo. I found useful
> __kfifo_get_user to copy data to a user buffer in a read call. I didn't
>
On 6/12/07, Stelian Pop <[EMAIL PROTECTED]> wrote:
(cut)
> accessing userspace memory with a spinlock taken (moreover an
> irqsave()
> one) is bad bad bad.
Hi Stelian.
I'm sending the new patch without kfifo_put_user and kfifo_get_user.
Regards,
Nelson.-
Signed-off-by: Nel
On 6/12/07, Stelian Pop <[EMAIL PROTECTED]> wrote:
> Le mardi 12 juin 2007 à 11:24 -0500, Nelson Castillo a écrit :
> > On 6/12/07, Stelian Pop <[EMAIL PROTECTED]> wrote:
> > (cut)
> > > accessing userspace memory with a spinlock taken (moreover an
>
On 6/9/07, Ingo Molnar <[EMAIL PROTECTED]> wrote:
i'm pleased to announce the v2.6.21.4-rt11 kernel, which can be
downloaded from the usual place:
http://people.redhat.com/mingo/realtime-preempt/
more info about the -rt patchset can be found in the RT wiki:
http://rt.wiki.kernel.org
On 6/17/07, Thomas Gleixner <[EMAIL PROTECTED]> wrote:
On Sun, 2007-06-17 at 11:15 -0500, Nelson Castillo wrote:
> > http://rt.wiki.kernel.org
>
> Not for ARM yet :(
>
> What should I try for the ARM architecture?
ARM has a lot of sub architectures and not all o
7 matches
Mail list logo