projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] tty: ->signal->tty locking
[linux-2.6-block.git]
/
arch
/
sparc64
/
solaris
/
misc.c
diff --git
a/arch/sparc64/solaris/misc.c
b/arch/sparc64/solaris/misc.c
index 9ed997982f8dbe245e2f3a15fab1257ee9c10c56..e84241d5f7f42353b2829a40d76df38b8fe611f4 100644
(file)
--- a/
arch/sparc64/solaris/misc.c
+++ b/
arch/sparc64/solaris/misc.c
@@
-423,9
+423,7
@@
asmlinkage int solaris_procids(int cmd, s32 pid, s32 pgid)
Solaris setpgrp and setsid? */
ret = sys_setpgid(0, 0);
if (ret) return ret;
- mutex_lock(&tty_mutex);
- current->signal->tty = NULL;
- mutex_unlock(&tty_mutex);
+ proc_clear_tty(current);
return process_group(current);
}
case 2: /* getsid */