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 Weak aliazeize usermount_common_po...



details:   https://anonhg.NetBSD.org/src/rev/75b6d43e5168
branches:  trunk
changeset: 748738:75b6d43e5168
user:      pooka <pooka%NetBSD.org@localhost>
date:      Tue Nov 03 20:25:31 2009 +0000

description:
Weak aliazeize usermount_common_policy() to uncouple rumpkern
linkage from rumpvfs once again after the secmodel changes.
(temp solution, should find a better one)

diffstat:

 sys/rump/librump/rumpkern/rump.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 4a90028bcddb -r 75b6d43e5168 sys/rump/librump/rumpkern/rump.c
--- a/sys/rump/librump/rumpkern/rump.c  Tue Nov 03 20:22:33 2009 +0000
+++ b/sys/rump/librump/rumpkern/rump.c  Tue Nov 03 20:25:31 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rump.c,v 1.131 2009/11/03 20:22:33 pooka Exp $ */
+/*     $NetBSD: rump.c,v 1.132 2009/11/03 20:25:31 pooka Exp $ */
 
 /*
  * Copyright (c) 2007 Antti Kantee.  All Rights Reserved.
@@ -28,7 +28,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rump.c,v 1.131 2009/11/03 20:22:33 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rump.c,v 1.132 2009/11/03 20:25:31 pooka Exp $");
 
 #include <sys/param.h>
 #include <sys/atomic.h>
@@ -133,6 +133,7 @@
 __weak_alias(vn_stat,rump__unavailable_vfs_panic);
 __weak_alias(vn_close,rump__unavailable_vfs_panic);
 __weak_alias(namei,rump__unavailable_vfs_panic);
+__weak_alias(usermount_common_policy,rump__unavailable_vfs_panic);
 
 static void
 pvfsinit_nop(struct proc *p)



Home | Main Index | Thread Index | Old Index