Re: chvt issue

2005-01-24 Thread Toon van der Pas
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

Re: chvt issue

2005-01-24 Thread Andries Brouwer
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;

chvt issue

2005-01-23 Thread Alessandro Sappia
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))