Commit de9e9a28 authored by David S. Miller's avatar David S. Miller

[SPARC64]: Kill stray task->tty reference in Solaris module.

parent bda88e2f
...@@ -402,7 +402,7 @@ asmlinkage int solaris_procids(int cmd, s32 pid, s32 pgid) ...@@ -402,7 +402,7 @@ asmlinkage int solaris_procids(int cmd, s32 pid, s32 pgid)
Solaris setpgrp and setsid? */ Solaris setpgrp and setsid? */
ret = sys_setpgid(0, 0); ret = sys_setpgid(0, 0);
if (ret) return ret; if (ret) return ret;
current->tty = NULL; current->signal->tty = NULL;
return process_group(current); return process_group(current);
} }
case 2: /* getsid */ case 2: /* getsid */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment