On Mon, Jan 24, 2005 at 09:14:49AM +0100, Andries Brouwer wrote:
> On Mon, Jan 24, 2005 at 01:34:56AM +0100, Alessandro Sappia wrote:
>
> > I was reading vt driver
> > and I saw
> > /*
> > * To have permissions to do most of the vt ioctls, we either have
> > * to be the o
On Mon, Jan 24, 2005 at 01:34:56AM +0100, Alessandro Sappia wrote:
> I was reading vt driver
> and I saw
> /*
> * To have permissions to do most of the vt ioctls, we either have
> * to be the owner of the tty, or have CAP_SYS_TTY_CONFIG.
> */
> perm = 0;
HI all
I was reading vt driver
and I saw
/*
* To have permissions to do most of the vt ioctls, we either have
* to be the owner of the tty, or have CAP_SYS_TTY_CONFIG.
*/
perm = 0;
if (current->signal->tty == tty || capable(CAP_SYS_TTY_CONFIG))
3 matches
Mail list logo