fs/compat_ioctl.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -puN fs/compat_ioctl.c~compat-ioctl-consolidation-job-control-update fs/compat_ioctl.c --- 25-power4/fs/compat_ioctl.c~compat-ioctl-consolidation-job-control-update 2003-10-04 15:30:51.000000000 -0700 +++ 25-power4-akpm/fs/compat_ioctl.c 2003-10-04 15:31:02.000000000 -0700 @@ -1574,7 +1574,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 super-user. */ - if (current->tty == tty || capable(CAP_SYS_ADMIN)) + if (process_tty(current) == tty || capable(CAP_SYS_ADMIN)) return 1; return 0; } _