[parisc-linux-cvs] linux-2.6 deller

Helge Deller parisc-linux@lists.parisc-linux.org
Wed, 15 Oct 2003 14:49:42 -0600 (MDT)


CVSROOT:	/var/cvs
Module name:	linux-2.6
Changes by:	deller	03/10/15 14:49:42

Modified files:
	arch/parisc/kernel: ioctl32.c 

Log message:
fix compilation - kernel now boots and works on my 715/64

--- arch/parisc/kernel/ioctl32.c        8 Sep 2003 21:41:40 -0000       1.3
+++ arch/parisc/kernel/ioctl32.c        15 Oct 2003 20:48:54 -0000
@@ -1436,7 +1436,7 @@ static int vt_check(struct file *file)
* 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
*/
-       if (current->tty == tty || capable(CAP_SYS_TTY_CONFIG))
+       if (process_tty(current) == tty || capable(CAP_SYS_TTY_CONFIG))
return 1;
return 0;