patch-2.3.99-pre2 linux/fs/binfmt_em86.c
Next file: linux/fs/binfmt_misc.c
Previous file: linux/fs/binfmt_elf.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Sat Mar 18 16:41:47 2000
- Orig file:
v2.3.99-pre1/linux/fs/binfmt_em86.c
- Orig date:
Tue Mar 14 19:10:40 2000
diff -u --recursive --new-file v2.3.99-pre1/linux/fs/binfmt_em86.c linux/fs/binfmt_em86.c
@@ -12,6 +12,8 @@
#include <linux/string.h>
#include <linux/stat.h>
#include <linux/malloc.h>
+#include <linux/locks.h>
+#include <linux/smp_lock.h>
#include <linux/binfmts.h>
#include <linux/elf.h>
#include <linux/init.h>
@@ -81,7 +83,7 @@
* space, and we don't need to copy it.
*/
lock_kernel();
- dentry = open_namei(interp, 0, 0);
+ dentry = open_namei(interp);
unlock_kernel();
if (IS_ERR(dentry))
return PTR_ERR(dentry);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)