UML - tty locking
PATCH 1/1 UML - tty locking
Jeff this is the tty locking diff I mentioned at Linux Kongress, it just ensures current->signal->tty doesn't get freed during log_exec().
Signed-off-by Alan Cox <[email protected]>
arch/um/kernel/exec.c +3 -1
@@ -41,9 +41,11 @@long error;#ifdef CONFIG_TTY_LOG -task_lock (current); +mutex_lock (&tty_mutex); +task_lock (current);/* FIXME: is this needed ? */ log_exec (argv, current->signal->tty);task_unlock (current); +mutex_unlock (&tty_mutex);#endif error =do_execve (file, argv, env, ¤t->thread.regs);if (error ==0 ){
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel