summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-kernel/mm-sources/files/2.6.4-r1-tty-fix.diff')
-rw-r--r--sys-kernel/mm-sources/files/2.6.4-r1-tty-fix.diff12
1 files changed, 0 insertions, 12 deletions
diff --git a/sys-kernel/mm-sources/files/2.6.4-r1-tty-fix.diff b/sys-kernel/mm-sources/files/2.6.4-r1-tty-fix.diff
deleted file mode 100644
index d6b20b260956..000000000000
--- a/sys-kernel/mm-sources/files/2.6.4-r1-tty-fix.diff
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -aur linux-2.6.4-mm1-orig/fs/compat_ioctl.c linux-2.6.4-mm1/fs/compat_ioctl.c
---- linux-2.6.4-mm1-orig/fs/compat_ioctl.c 2004-03-11 09:45:00.000000000 -0500
-+++ linux-2.6.4-mm1/fs/compat_ioctl.c 2004-03-11 14:14:49.769779584 -0500
-@@ -1604,7 +1604,7 @@
- * 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 (current->signal->tty == tty || capable(CAP_SYS_ADMIN))
- return 1;
- return 0;
- }