Re: [PATCH] [retry] vt: add ioctl commands to /dev/vcsaN to get/putthe current palette of the given tty

From: Andrew Morton
Date: Wed Mar 04 2009 - 17:17:02 EST


On Wed, 4 Mar 2009 09:58:48 +0100 (CET)
Cedric Roux <sed@xxxxxxx> wrote:

> From: Cedric Roux <sed@xxxxxxx>
>
> A ioctl interface and two ioctl commands added to /dev/vcsaN
> to get/put the current palette of the given tty.
>
> ...
>
> - lock_kernel() is called. Maybe it's not necessary? I'm not
> confident enough. You decide.

I wouldn't have a clue what it's protecting in there. But it seems
sane to put it in - once someone gets down and de-lock_kernel()s that
code, they can work out what it should be replaced by.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/