Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/rump/librump/rumpkern rumpkern: Provide fs_filtops weak ...
details: https://anonhg.NetBSD.org/src/rev/e591a811d530
branches: trunk
changeset: 374416:e591a811d530
user: riastradh <riastradh%NetBSD.org@localhost>
date: Sat Apr 22 13:53:29 2023 +0000
description:
rumpkern: Provide fs_filtops weak alias.
We should introduce a link set for sys_kfilters, but this works
around the problem for now -- librump's dependency on librumpvfs
symbols.
diffstat:
sys/rump/librump/rumpkern/emul.c | 16 ++++++++++++++--
1 files changed, 14 insertions(+), 2 deletions(-)
diffs (37 lines):
diff -r fe97d0db0ba0 -r e591a811d530 sys/rump/librump/rumpkern/emul.c
--- a/sys/rump/librump/rumpkern/emul.c Sat Apr 22 13:53:02 2023 +0000
+++ b/sys/rump/librump/rumpkern/emul.c Sat Apr 22 13:53:29 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: emul.c,v 1.197 2023/02/26 07:27:14 skrll Exp $ */
+/* $NetBSD: emul.c,v 1.198 2023/04/22 13:53:29 riastradh Exp $ */
/*
* Copyright (c) 2007-2011 Antti Kantee. All Rights Reserved.
@@ -26,7 +26,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: emul.c,v 1.197 2023/02/26 07:27:14 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: emul.c,v 1.198 2023/04/22 13:53:29 riastradh Exp $");
#include <sys/param.h>
#include <sys/cprng.h>
@@ -325,6 +325,18 @@ rump_fstrans_lwp_dtor(struct lwp *l)
}
__weak_alias(fstrans_lwp_dtor,rump_fstrans_lwp_dtor);
+static int
+rump_filt_fsattach(struct knote *kn)
+{
+
+ return EOPNOTSUPP;
+}
+
+struct filterops rump_fs_filtops = {
+ .f_attach = rump_filt_fsattach,
+};
+__weak_alias(fs_filtops,rump_fs_filtops);
+
/*
* Provide weak aliases for tty routines used by printf.
* They will be used unless the rumpkern_tty component is present.
Home |
Main Index |
Thread Index |
Old Index