summaryrefslogtreecommitdiff
path: root/sys/compat/linux/linux_misc.c
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2002-04-20 14:43:34 +0000
committerRobert Watson <rwatson@FreeBSD.org>2002-04-20 14:43:34 +0000
commitb099af16dd6a3867d698df62cac2467a2d5e419e (patch)
tree01199fc11099410a6b32586b28e8ce129458a590 /sys/compat/linux/linux_misc.c
parentda1b4964c981e28ee5b6013bbb4bb3a5ab8bcd60 (diff)
Notes
Diffstat (limited to 'sys/compat/linux/linux_misc.c')
-rw-r--r--sys/compat/linux/linux_misc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/compat/linux/linux_misc.c b/sys/compat/linux/linux_misc.c
index 2bb7b399031f..51cbd35a5042 100644
--- a/sys/compat/linux/linux_misc.c
+++ b/sys/compat/linux/linux_misc.c
@@ -255,6 +255,10 @@ linux_uselib(struct thread *td, struct linux_uselib_args *args)
locked = 0;
vp = NULL;
+ /*
+ * XXX This code should make use of vn_open(), rather than doing
+ * all this stuff itself.
+ */
NDINIT(&ni, LOOKUP, FOLLOW|LOCKLEAF, UIO_USERSPACE, args->library, td);
error = namei(&ni);
if (error)