Ignore closefrom(3) for now; too complicated to descern between regular

and rump fds.
This commit is contained in:
christos 2021-09-10 21:22:05 +00:00
parent ca1322c51f
commit 0c63703b78
1 changed files with 7 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: hijack.c,v 1.132 2021/09/10 20:33:38 christos Exp $ */
/* $NetBSD: hijack.c,v 1.133 2021/09/10 21:22:05 christos Exp $ */
/*-
* Copyright (c) 2011 Antti Kantee. All Rights Reserved.
@ -34,7 +34,7 @@
#include <rump/rumpuser_port.h>
#if !defined(lint)
__RCSID("$NetBSD: hijack.c,v 1.132 2021/09/10 20:33:38 christos Exp $");
__RCSID("$NetBSD: hijack.c,v 1.133 2021/09/10 21:22:05 christos Exp $");
#endif
#include <sys/param.h>
@ -2854,3 +2854,8 @@ nfssvc(int flags, void *argstructp)
return op_nfssvc(flags, argstructp);
}
#endif /* __NetBSD__ */
int
closefrom(int fd) {
return 0;
}