Module Name: src Committed By: christos Date: Fri Sep 10 21:22:05 UTC 2021
Modified Files: src/lib/librumphijack: hijack.c Log Message: Ignore closefrom(3) for now; too complicated to descern between regular and rump fds. To generate a diff of this commit: cvs rdiff -u -r1.132 -r1.133 src/lib/librumphijack/hijack.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/lib/librumphijack/hijack.c diff -u src/lib/librumphijack/hijack.c:1.132 src/lib/librumphijack/hijack.c:1.133 --- src/lib/librumphijack/hijack.c:1.132 Fri Sep 10 16:33:38 2021 +++ src/lib/librumphijack/hijack.c Fri Sep 10 17:22:05 2021 @@ -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; +}