patch-2.1.69 linux/fs/nametrans.c

Next file: linux/fs/ncpfs/mmap.c
Previous file: linux/fs/namei.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.68/linux/fs/nametrans.c linux/fs/nametrans.c
@@ -168,7 +168,7 @@
 	int i;
 
 	if(current && current->mm && (env = (char*)current->mm->env_start)
-	   && get_ds() != get_fs()
+	   && !segment_eq(get_ds(), get_fs())
 	   && current->mm->env_end>=current->mm->env_start+10
 	   && !verify_area(VERIFY_READ,env,10)) {
 		for(i=0; i<10; i++) {

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov