patch-2.3.99-pre1 linux/arch/sparc/kernel/sys_solaris.c
Next file: linux/arch/sparc/kernel/sys_sunos.c
Previous file: linux/arch/sparc/defconfig
Back to the patch index
Back to the overall index
-  Lines: 15
-  Date:
Mon Mar 13 12:35:39 2000
-  Orig file: 
v2.3.51/linux/arch/sparc/kernel/sys_solaris.c
-  Orig date: 
Wed Dec 29 13:13:13 1999
diff -u --recursive --new-file v2.3.51/linux/arch/sparc/kernel/sys_solaris.c linux/arch/sparc/kernel/sys_solaris.c
@@ -15,12 +15,14 @@
 #include <linux/smp.h>
 #include <linux/smp_lock.h>
 
+/* CHECKME: this stuff looks rather bogus */
 asmlinkage int
 do_solaris_syscall (struct pt_regs *regs)
 {
 	int ret;
 
 	lock_kernel();
+	put_exec_domain(current->exec_domain);
 	current->personality = PER_SVR4;
 	current->exec_domain = lookup_exec_domain(PER_SVR4);
 
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)