patch-2.1.128 linux/fs/binfmt_aout.c
Next file: linux/fs/exec.c
Previous file: linux/drivers/sound/wf_midi.c
Back to the patch index
Back to the overall index
-  Lines: 9
-  Date:
Wed Nov 11 11:49:59 1998
-  Orig file: 
v2.1.127/linux/fs/binfmt_aout.c
-  Orig date: 
Sat Sep  5 16:46:41 1998
diff -u --recursive --new-file v2.1.127/linux/fs/binfmt_aout.c linux/fs/binfmt_aout.c
@@ -116,7 +116,7 @@
 #else
 	corefile[4] = '\0';
 #endif
-	dentry = open_namei(corefile,O_CREAT | 2 | O_TRUNC, 0600);
+	dentry = open_namei(corefile,O_CREAT | 2 | O_TRUNC | O_NOFOLLOW, 0600);
 	if (IS_ERR(dentry)) {
 		dentry = NULL;
 		goto end_coredump;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov