From: Al Viro Date: Wed, 23 Apr 2008 04:49:25 +0000 (-0400) Subject: [PATCH] remove horrors with irix tty ioctls handling X-Git-Tag: v2.6.26-rc1~10^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf7da7bcfb38409b4cdea34b0905bdf344f1b36d;p=pandora-kernel.git [PATCH] remove horrors with irix tty ioctls handling Existing code in there (get_tty(), etc.) is both severely racy *and* pointless: ioctls in question have Linux equivalents and there's no need to play silly buggers in irix_ioctl() - just need to replace arguments and, in case of TIOCGSID, deal with API differences - Linux one expects pid_t __user * while Irix one does unsigned long __user *. BFD... Signed-off-by: Al Viro --- Reading git-diff-tree failed