Module Name:    src
Committed By:   pooka
Date:           Tue Apr 30 14:28:52 UTC 2013

Modified Files:
        src/sys/rump/librump/rumpkern: hyperstubs.c

Log Message:
Stub out anonmmap too.

This is a clever trick to enable me to avoid having to document
that interface.  I seriously doubt it's relevant beyond a POSIX
env where it's required by the proplib client-side implementation
which expects it can do munmap() on a return value from a proplib
call.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/rump/librump/rumpkern/hyperstubs.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/rump/librump/rumpkern/hyperstubs.c
diff -u src/sys/rump/librump/rumpkern/hyperstubs.c:1.1 src/sys/rump/librump/rumpkern/hyperstubs.c:1.2
--- src/sys/rump/librump/rumpkern/hyperstubs.c:1.1	Tue Apr 30 13:54:53 2013
+++ src/sys/rump/librump/rumpkern/hyperstubs.c	Tue Apr 30 14:28:52 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: hyperstubs.c,v 1.1 2013/04/30 13:54:53 pooka Exp $	*/
+/*	$NetBSD: hyperstubs.c,v 1.2 2013/04/30 14:28:52 pooka Exp $	*/
 
 /*
  * Copyright (c) 2013 Antti Kantee.  All Rights Reserved.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: hyperstubs.c,v 1.1 2013/04/30 13:54:53 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: hyperstubs.c,v 1.2 2013/04/30 14:28:52 pooka Exp $");
 
 #include <sys/errno.h>
 
@@ -49,6 +49,11 @@ __weak_alias(rumpuser_daemonize_done,rum
 
 __weak_alias(rumpuser_kill,rump_hypernotsupp);
 
+/* anonmmap (for proplib and modules) */
+
+__weak_alias(rumpuser_anonmmap,rump_hypernotsupp);
+__weak_alias(rumpuser_unmap,rump_hypernotsupp);
+
 /* syscall proxy */
 
 __weak_alias(rumpuser_sp_init,rump_hypernotsupp);

Reply via email to