diff options
author | jeff <jeff@FreeBSD.org> | 2005-04-27 09:05:19 +0000 |
---|---|---|
committer | jeff <jeff@FreeBSD.org> | 2005-04-27 09:05:19 +0000 |
commit | f869be5c723f74ca4c5c0d99a6ba4fcb9244126a (patch) | |
tree | 136593dab7ab3c0fb624d4feafbdd3bdb5f1ec90 /sys/i386/ibcs2 | |
parent | a6baba06d1cf1f5e56ba23805d837db4b42c35da (diff) | |
download | FreeBSD-src-f869be5c723f74ca4c5c0d99a6ba4fcb9244126a.zip FreeBSD-src-f869be5c723f74ca4c5c0d99a6ba4fcb9244126a.tar.gz |
- Pass the ISOPEN flag to namei so filesystems will know we're about to
open them or otherwise access the data.
Diffstat (limited to 'sys/i386/ibcs2')
-rw-r--r-- | sys/i386/ibcs2/imgact_coff.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/i386/ibcs2/imgact_coff.c b/sys/i386/ibcs2/imgact_coff.c index b6c6cae..a7ab607 100644 --- a/sys/i386/ibcs2/imgact_coff.c +++ b/sys/i386/ibcs2/imgact_coff.c @@ -171,7 +171,8 @@ coff_load_file(struct thread *td, char *name) unsigned long bss_size = 0; int i; - NDINIT(&nd, LOOKUP, LOCKLEAF | FOLLOW | SAVENAME, UIO_SYSSPACE, name, td); + NDINIT(&nd, LOOKUP, ISOPEN | LOCKLEAF | FOLLOW | SAVENAME, + UIO_SYSSPACE, name, td); error = namei(&nd); if (error) |