Skip to content
Commit bf7da7bc authored by Al Viro's avatar Al Viro
Browse files

[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: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 74d92abc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment