CVS commit: src/sys/rump/dev/lib/libugenhc

2013-04-28 Thread Antti Kantee
$ */ /* * Copyright (c) 2007-2010 Antti Kantee. All Rights Reserved. @@ -28,6 +28,8 @@ #include sys/types.h #include sys/ioctl.h +#include errno.h + #include rump/rumpuser_component.h #include rumpcomp_user.h

CVS commit: src/sys/rump

2013-04-28 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Sun Apr 28 10:25:05 UTC 2013 Modified Files: src/sys/rump: Makefile.rump Log Message: Build only rumpcomp_user.c as part of the rumpcomp_user rules (otherwise ioconf.c wants to be part of .ALLSRC for whatever reason I'm not really

CVS commit: src/sys/rump/dev/lib/libugenhc

2013-04-28 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Sun Apr 28 10:25:41 UTC 2013 Modified Files: src/sys/rump/dev/lib/libugenhc: Makefile Log Message: problem with ioconf.c solved, reenable To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6

CVS commit: src

2013-04-28 Thread Antti Kantee
@@ -/* $NetBSD: rumpuser.c,v 1.34 2013/04/28 09:58:11 pooka Exp $ */ +/* $NetBSD: rumpuser.c,v 1.35 2013/04/28 10:43:45 pooka Exp $ */ /* * Copyright (c) 2007-2010 Antti Kantee. All Rights Reserved. @@ -28,7 +28,7 @@ #include rumpuser_port.h #if !defined(lint) -__RCSID($NetBSD: rumpuser.c

CVS commit: src/sys/rump/net/lib/libshmif

2013-04-28 Thread Antti Kantee
/if_shmem.c Sun Apr 28 10:53:21 2013 @@ -1,4 +1,4 @@ -/* $NetBSD: if_shmem.c,v 1.48 2013/04/28 10:43:45 pooka Exp $ */ +/* $NetBSD: if_shmem.c,v 1.49 2013/04/28 10:53:21 pooka Exp $ */ /* * Copyright (c) 2009, 2010 Antti Kantee. All Rights Reserved. @@ -28,7 +28,7 @@ */ #include sys/cdefs.h

CVS commit: src/sys/rump/net/lib/libshmif

2013-04-28 Thread Antti Kantee
/28 11:03:25 pooka Exp $ */ /*- * Copyright (c) 2009, 2010 Antti Kantee. All Rights Reserved. @@ -34,6 +34,8 @@ #include rumpcomp_user.h +#define seterr(_v_) if ((_v_) == -1) *error = errno; else *error = 0; + /* * On NetBSD we use kqueue, on Linux we use inotify. The underlying

CVS commit: src

2013-04-28 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Sun Apr 28 12:54:40 UTC 2013 Modified Files: src: build.sh src/sys/rump: Makefile.rump Log Message: fix build.sh rumptest wrt private hypercalls To generate a diff of this commit: cvs rdiff -u -r1.265 -r1.266

CVS commit: src

2013-04-28 Thread Antti Kantee
Exp $ */ +/* $NetBSD: rumpuser.c,v 1.36 2013/04/28 13:17:25 pooka Exp $ */ /* * Copyright (c) 2007-2010 Antti Kantee. All Rights Reserved. @@ -28,7 +28,7 @@ #include rumpuser_port.h #if !defined(lint) -__RCSID($NetBSD: rumpuser.c,v 1.35 2013/04/28 10:43:45 pooka Exp $); +__RCSID($NetBSD

CVS commit: src

2013-04-28 Thread Antti Kantee
1.15 2013/04/27 16:32:58 pooka Exp $ */ +/* $NetBSD: rumpuser_pth.c,v 1.16 2013/04/28 13:37:51 pooka Exp $ */ /* * Copyright (c) 2007-2010 Antti Kantee. All Rights Reserved. @@ -28,7 +28,7 @@ #include rumpuser_port.h #if !defined(lint) -__RCSID($NetBSD: rumpuser_pth.c,v 1.15 2013/04/27 16

CVS commit: src/sys/rump/net/lib/libshmif

2013-04-28 Thread Antti Kantee
/28 13:38:35 pooka Exp $ */ /*- * Copyright (c) 2009, 2010 Antti Kantee. All Rights Reserved. @@ -26,7 +26,6 @@ */ #include sys/types.h -#include sys/event.h #include errno.h @@ -43,6 +42,8 @@ * so just keep the existing interfaces for now. */ #if defined(__NetBSD__) +#include sys

CVS commit: src/lib/librumpuser

2013-04-28 Thread Antti Kantee
+++ src/lib/librumpuser/rumpuser.c Sun Apr 28 13:39:13 2013 @@ -1,4 +1,4 @@ -/* $NetBSD: rumpuser.c,v 1.36 2013/04/28 13:17:25 pooka Exp $ */ +/* $NetBSD: rumpuser.c,v 1.37 2013/04/28 13:39:13 pooka Exp $ */ /* * Copyright (c) 2007-2010 Antti Kantee. All Rights Reserved. @@ -28,7 +28,7

CVS commit: src/sys/rump/net/lib/libshmif

2013-04-28 Thread Antti Kantee
: rumpcomp_user.c,v 1.5 2013/04/28 14:11:43 pooka Exp $ */ /*- * Copyright (c) 2009, 2010 Antti Kantee. All Rights Reserved. @@ -146,6 +146,8 @@ rumpcomp_shmif_watchwait(int kq, int *er } #else +#include stdio.h +#include unistd.h /* a polling default implementation */ int

CVS commit: src/sys/rump/librump/rumpkern

2013-04-28 Thread Antti Kantee
$ */ +/* $NetBSD: lwproc.c,v 1.21 2013/04/28 23:19:33 pooka Exp $ */ /* * Copyright (c) 2010, 2011 Antti Kantee. All Rights Reserved. @@ -26,7 +26,7 @@ */ #include sys/cdefs.h -__KERNEL_RCSID(0, $NetBSD: lwproc.c,v 1.20 2013/03/07 18:49:13 pooka Exp $); +__KERNEL_RCSID(0, $NetBSD: lwproc.c,v 1.21

CVS commit: src/sys/rump/librump/rumpkern

2013-04-28 Thread Antti Kantee
/rumpkern/vm.c:1.139 Sun Apr 28 13:17:25 2013 +++ src/sys/rump/librump/rumpkern/vm.c Sun Apr 28 23:21:00 2013 @@ -1,4 +1,4 @@ -/* $NetBSD: vm.c,v 1.139 2013/04/28 13:17:25 pooka Exp $ */ +/* $NetBSD: vm.c,v 1.140 2013/04/28 23:21:00 pooka Exp $ */ /* * Copyright (c) 2007-2011 Antti Kantee. All

CVS commit: src/sys/rump

2013-04-27 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Sat Apr 27 12:51:45 UTC 2013 Modified Files: src/sys/rump: Makefile.rump Log Message: Allow to completely skip the ldscript, useful for linkers that don't need one. To generate a diff of this commit: cvs rdiff -u -r1.78 -r1.79

CVS commit: src

2013-04-27 Thread Antti Kantee
: rumpuser_pth.c,v 1.12 2013/02/11 16:02:31 pooka Exp $ */ +/* $NetBSD: rumpuser_pth.c,v 1.13 2013/04/27 13:59:46 pooka Exp $ */ /* * Copyright (c) 2007-2010 Antti Kantee. All Rights Reserved. @@ -28,7 +28,7 @@ #include rumpuser_port.h #if !defined(lint) -__RCSID($NetBSD: rumpuser_pth.c,v 1.12 2013

CVS commit: src/sys/rump/include/rump

2013-04-27 Thread Antti Kantee
-2011 Antti Kantee. All Rights Reserved. @@ -44,9 +44,7 @@ int rumpuser_getversion(void); int rumpuser_daemonize_begin(void); int rumpuser_daemonize_done(int); -struct msghdr; struct pollfd; -struct sockaddr; typedef void (*kernel_lockfn)(int, void *); typedef void (*kernel_unlockfn)(int

CVS commit: src

2013-04-27 Thread Antti Kantee
/04/27 14:59:08 pooka Exp $ */ /* * Copyright (c) 2007-2010 Antti Kantee. All Rights Reserved. @@ -28,7 +28,7 @@ #include rumpuser_port.h #if !defined(lint) -__RCSID($NetBSD: rumpuser.c,v 1.29 2013/03/18 21:00:52 pooka Exp $); +__RCSID($NetBSD: rumpuser.c,v 1.30 2013/04/27 14:59:08 pooka

CVS commit: src

2013-04-27 Thread Antti Kantee
pooka Exp $ */ +/* $NetBSD: rumpuser.c,v 1.31 2013/04/27 15:01:21 pooka Exp $ */ /* * Copyright (c) 2007-2010 Antti Kantee. All Rights Reserved. @@ -28,7 +28,7 @@ #include rumpuser_port.h #if !defined(lint) -__RCSID($NetBSD: rumpuser.c,v 1.30 2013/04/27 14:59:08 pooka Exp $); +__RCSID

CVS commit: src/sys/rump

2013-04-27 Thread Antti Kantee
/21 17:41:27 pooka Exp $ */ +/* $NetBSD: rump.h,v 1.56 2013/04/27 15:13:11 pooka Exp $ */ /* * Copyright (c) 2007-2011 Antti Kantee. All Rights Reserved. @@ -91,13 +91,6 @@ enum rump_etfs_type { RUMP_ETFS_DIR_SUBDIRS /* dir + subdirectories (recursive) */ }; -/* - * Something like rump

CVS commit: src/sys/rump/include/rump

2013-04-27 Thread Antti Kantee
$ */ /* * Copyright (c) 2007-2011 Antti Kantee. All Rights Reserved. @@ -28,16 +28,15 @@ #ifndef _RUMP_RUMPUSER_H_ #define _RUMP_RUMPUSER_H_ +/* + * Do not include any headers here! Implementation must take care of + * having stdint or equivalent included before including this header. + */ + #if !defined

CVS commit: src

2013-04-27 Thread Antti Kantee
: rumpuser.c,v 1.31 2013/04/27 15:01:21 pooka Exp $ */ +/* $NetBSD: rumpuser.c,v 1.32 2013/04/27 15:34:53 pooka Exp $ */ /* * Copyright (c) 2007-2010 Antti Kantee. All Rights Reserved. @@ -28,7 +28,7 @@ #include rumpuser_port.h #if !defined(lint) -__RCSID($NetBSD: rumpuser.c,v 1.31 2013/04/27 15:01

CVS commit: src

2013-04-27 Thread Antti Kantee
Sat Apr 27 14:59:08 2013 +++ src/lib/librumpuser/rumpuser_sp.c Sat Apr 27 16:02:56 2013 @@ -1,4 +1,4 @@ -/* $NetBSD: rumpuser_sp.c,v 1.52 2013/04/27 14:59:08 pooka Exp $ */ +/* $NetBSD: rumpuser_sp.c,v 1.53 2013/04/27 16:02:56 pooka Exp $ */ /* * Copyright (c) 2010, 2011 Antti Kantee

CVS commit: src/sys/rump/include/rump

2013-04-27 Thread Antti Kantee
1.83 2013/04/27 16:05:54 pooka Exp $ */ /* * Copyright (c) 2007-2011 Antti Kantee. All Rights Reserved. @@ -130,8 +130,11 @@ int rumpuser_thread_create(void *(*f)(v void rumpuser_thread_exit(void) __dead; int rumpuser_thread_join(void *); -struct rumpuser_mtx; +struct lwp; +void

CVS commit: src

2013-04-27 Thread Antti Kantee
:59:08 pooka Exp $ */ +/* $NetBSD: rumpuser_pth.c,v 1.15 2013/04/27 16:32:58 pooka Exp $ */ /* * Copyright (c) 2007-2010 Antti Kantee. All Rights Reserved. @@ -28,7 +28,7 @@ #include rumpuser_port.h #if !defined(lint) -__RCSID($NetBSD: rumpuser_pth.c,v 1.14 2013/04/27 14:59:08 pooka Exp

CVS commit: src

2013-04-27 Thread Antti Kantee
$ */ /* * Copyright (c) 2007-2010 Antti Kantee. All Rights Reserved. @@ -28,7 +28,7 @@ #include rumpuser_port.h #if !defined(lint) -__RCSID($NetBSD: rumpuser.c,v 1.32 2013/04/27 15:34:53 pooka Exp $); +__RCSID($NetBSD: rumpuser.c,v 1.33 2013/04/27 16:56:29 pooka Exp $); #endif /* !lint

CVS commit: src/sys/rump/librump/rumpkern

2013-04-27 Thread Antti Kantee
: scheduler.c,v 1.32 2013/04/27 22:26:57 pooka Exp $ */ /* * Copyright (c) 2010, 2011 Antti Kantee. All Rights Reserved. @@ -26,7 +26,7 @@ */ #include sys/cdefs.h -__KERNEL_RCSID(0, $NetBSD: scheduler.c,v 1.31 2013/04/27 16:32:57 pooka Exp $); +__KERNEL_RCSID(0, $NetBSD: scheduler.c,v 1.32

CVS commit: src/sys/rump/kern/lib/libsys_cygwin

2013-04-10 Thread Antti Kantee
16:44:55 2013 +++ src/sys/rump/kern/lib/libsys_cygwin/rump_cygwin_compat.c Wed Apr 10 16:44:54 2013 @@ -0,0 +1,251 @@ +/* $NetBSD: rump_cygwin_compat.c,v 1.1 2013/04/10 16:44:54 pooka Exp $ */ + +/* + * Copyright (c) 2013 Antti Kantee. All Rights Reserved. + * + * Redistribution and use in source

CVS commit: src/sys/compat/linux/common

2013-04-09 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Tue Apr 9 08:00:20 UTC 2013 Modified Files: src/sys/compat/linux/common: linux_misc.c Log Message: Fix COMPAT_LINUX32. To generate a diff of this commit: cvs rdiff -u -r1.221 -r1.222 src/sys/compat/linux/common/linux_misc.c

CVS commit: src/sys/rump/kern/lib/libsys_sunos

2013-04-09 Thread Antti Kantee
/rump_sunos_compat.c:1.1 --- /dev/null Tue Apr 9 13:08:33 2013 +++ src/sys/rump/kern/lib/libsys_sunos/rump_sunos_compat.c Tue Apr 9 13:08:33 2013 @@ -0,0 +1,377 @@ +/* $NetBSD: rump_sunos_compat.c,v 1.1 2013/04/09 13:08:33 pooka Exp $ */ + +/* + * Copyright (c) 2013 Antti Kantee. All Rights Reserved

CVS commit: src/sys

2013-04-08 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Mon Apr 8 20:54:49 UTC 2013 Modified Files: src/sys/compat/linux/arch/amd64: syscalls.master src/sys/compat/linux/arch/arm: syscalls.master src/sys/compat/linux/arch/i386: syscalls.master

CVS commit: src/sys

2013-04-08 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Mon Apr 8 20:58:27 UTC 2013 Modified Files: src/sys/compat/linux/arch/amd64: linux_syscall.h linux_syscallargs.h linux_syscalls.c linux_sysent.c src/sys/compat/linux/arch/arm: linux_syscall.h

CVS commit: src/sys/rump/librump/rumpvfs

2013-04-04 Thread Antti Kantee
$ */ /* * Copyright (c) 2008 Antti Kantee. All Rights Reserved. @@ -29,7 +29,7 @@ */ #include sys/cdefs.h -__KERNEL_RCSID(0, $NetBSD: rump_vfs.c,v 1.72 2013/04/03 20:23:01 pooka Exp $); +__KERNEL_RCSID(0, $NetBSD: rump_vfs.c,v 1.73 2013/04/04 11:21:37 pooka Exp $); #include sys/param.h

CVS commit: src/sys/rump/dev/lib/libpad

2013-04-04 Thread Antti Kantee
(c) 2010 Antti Kantee. All Rights Reserved. @@ -26,7 +26,7 @@ */ #include sys/cdefs.h -__KERNEL_RCSID(0, $NetBSD: component.c,v 1.1 2013/04/04 01:41:51 pooka Exp $); +__KERNEL_RCSID(0, $NetBSD: component.c,v 1.2 2013/04/04 11:28:02 pooka Exp $); #include sys/param.h #include sys/conf.h

CVS commit: src/sys/rump/librump/rumpvfs

2013-04-03 Thread Antti Kantee
@@ -/* $NetBSD: rump_vfs.c,v 1.71 2013/01/14 16:45:47 pooka Exp $ */ +/* $NetBSD: rump_vfs.c,v 1.72 2013/04/03 20:23:01 pooka Exp $ */ /* * Copyright (c) 2008 Antti Kantee. All Rights Reserved. @@ -29,7 +29,7 @@ */ #include sys/cdefs.h -__KERNEL_RCSID(0, $NetBSD: rump_vfs.c,v 1.71 2013/01/14 16

CVS commit: src/sys/rump/kern/lib/libsys_linux

2013-04-03 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Wed Apr 3 22:43:56 UTC 2013 Modified Files: src/sys/rump/kern/lib/libsys_linux: component.c Log Message: add a few arch-specific stubs to make this link on arm To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7

CVS commit: src/sys/rump/librump/rumpvfs

2013-04-03 Thread Antti Kantee
/devnull.c:1.3 Thu Feb 10 11:01:31 2011 +++ src/sys/rump/librump/rumpvfs/devnull.c Thu Apr 4 01:29:55 2013 @@ -1,4 +1,4 @@ -/* $NetBSD: devnull.c,v 1.3 2011/02/10 11:01:31 pooka Exp $ */ +/* $NetBSD: devnull.c,v 1.4 2013/04/04 01:29:55 pooka Exp $ */ /* * Copyright (c) 2009 Antti Kantee. All Rights

CVS commit: src/sys/rump/dev/lib/libputter

2013-04-03 Thread Antti Kantee
$ */ + +/*- + * Copyright (c) 2009 Antti Kantee. All Rights Reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright

CVS commit: src/sys/rump/dev/lib/libmd

2013-04-03 Thread Antti Kantee
/component.c:1.2 Tue Apr 10 13:45:08 2012 +++ src/sys/rump/dev/lib/libmd/component.c Thu Apr 4 01:38:47 2013 @@ -1,4 +1,4 @@ -/* $NetBSD: component.c,v 1.2 2012/04/10 13:45:08 gson Exp $ */ +/* $NetBSD: component.c,v 1.3 2013/04/04 01:38:47 pooka Exp $ */ /* * Copyright (c) 2010 Antti Kantee. All Rights

CVS commit: src/sys/rump/dev/lib/libpad

2013-04-03 Thread Antti Kantee
src/sys/rump/dev/lib/libpad/component.c:1.1 --- /dev/null Thu Apr 4 01:41:51 2013 +++ src/sys/rump/dev/lib/libpad/component.c Thu Apr 4 01:41:51 2013 @@ -0,0 +1,45 @@ +/* $NetBSD: component.c,v 1.1 2013/04/04 01:41:51 pooka Exp $ */ + +/*- + * Copyright (c) 2010 Antti Kantee. All Rights Reserved

CVS commit: src/sys/rump/dev/lib/libputter

2013-04-03 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Thu Apr 4 01:48:20 UTC 2013 Modified Files: src/sys/rump/dev/lib/libputter: Makefile Log Message: set correct include path To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/rump/dev/lib/libputter/Makefile

CVS commit: src/sys/compat/linux/arch/arm

2013-03-21 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Thu Mar 21 15:03:47 UTC 2013 Modified Files: src/sys/compat/linux/arch/arm: linux_types.h Log Message: Fix stat64 by making it match i386. Other archs might still be broken, but this is the one I could test. To generate a diff

CVS commit: src/lib/librumpuser

2013-03-20 Thread Antti Kantee
$ */ +/* $NetBSD: rumpuser_dl.c,v 1.16 2013/03/20 12:30:13 pooka Exp $ */ /* * Copyright (c) 2009 Antti Kantee. All Rights Reserved. @@ -30,10 +30,18 @@ * Called during rump bootstrap. */ +/* + * Solaris libelf.h doesn't support _FILE_OFFSET_BITS=64. Luckily, + * for this module it doesn't matter

CVS commit: src/lib/librumpuser

2013-03-20 Thread Antti Kantee
: rumpuser_dl.c,v 1.16 2013/03/20 12:30:13 pooka Exp $ */ +/* $NetBSD: rumpuser_dl.c,v 1.17 2013/03/20 12:59:10 pooka Exp $ */ /* * Copyright (c) 2009 Antti Kantee. All Rights Reserved. @@ -34,14 +34,13 @@ * Solaris libelf.h doesn't support _FILE_OFFSET_BITS=64. Luckily, * for this module

CVS commit: src

2013-03-18 Thread Antti Kantee
/sockin.c Mon Mar 18 13:14:11 2013 @@ -1,4 +1,4 @@ -/* $NetBSD: sockin.c,v 1.26 2011/03/31 19:40:54 dyoung Exp $ */ +/* $NetBSD: sockin.c,v 1.27 2013/03/18 13:14:11 pooka Exp $ */ /* * Copyright (c) 2008, 2009 Antti Kantee. All Rights Reserved. @@ -26,7 +26,7 @@ */ #include sys/cdefs.h

CVS commit: src/sys/rump

2013-03-18 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Mon Mar 18 15:55:43 UTC 2013 Modified Files: src/sys/rump: VERSION listsrcdirs Log Message: add librumphijack to the list To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/sys/rump/VERSION cvs rdiff -u -r1.3 -r1.4

CVS commit: src/lib/librumpuser

2013-03-18 Thread Antti Kantee
$ */ +/* $NetBSD: rumpuser.c,v 1.29 2013/03/18 21:00:52 pooka Exp $ */ /* * Copyright (c) 2007-2010 Antti Kantee. All Rights Reserved. @@ -28,7 +28,7 @@ #include rumpuser_port.h #if !defined(lint) -__RCSID($NetBSD: rumpuser.c,v 1.28 2013/01/14 21:04:15 pooka Exp $); +__RCSID($NetBSD: rumpuser.c,v

CVS commit: src/sys/rump

2013-03-15 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Fri Mar 15 11:15:23 UTC 2013 Modified Files: src/sys/rump: Makefile.rump Log Message: Use -isysroot ${DESTDIR} for RUMPCOMP_USER when run as part of build.sh so as to catch the necessary headers, which, unlike in the buildrump.sh

CVS commit: src/sys/rump/net/lib/libvirtif

2013-03-15 Thread Antti Kantee
/libvirtif/if_virt.c Fri Mar 15 11:30:23 2013 @@ -1,4 +1,4 @@ -/* $NetBSD: if_virt.c,v 1.29 2013/03/14 01:23:34 pooka Exp $ */ +/* $NetBSD: if_virt.c,v 1.30 2013/03/15 11:30:23 pooka Exp $ */ /* * Copyright (c) 2008 Antti Kantee. All Rights Reserved. @@ -26,7 +26,7 @@ */ #include sys/cdefs.h

CVS commit: src/sys/rump/librump

2013-03-15 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Fri Mar 15 12:09:59 UTC 2013 Modified Files: src/sys/rump/librump/rumpdev: Makefile.rumpdev src/sys/rump/librump/rumpkern: Makefile.rumpkern src/sys/rump/librump/rumpnet: Makefile.rumpnet

CVS commit: src/sys/rump

2013-03-15 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Fri Mar 15 12:12:16 UTC 2013 Added Files: src/sys/rump: sunldgen.sh Log Message: Support generating support for Sun ld. To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 src/sys/rump/sunldgen.sh Please note that diffs

CVS commit: src/sys/rump

2013-03-15 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Fri Mar 15 12:13:07 UTC 2013 Added Files: src/sys/rump: ldscript_sun.rump linksyms_sun.c Log Message: Generate support for sun ld. To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 src/sys/rump/ldscript_sun.rump \

CVS commit: src/sys/rump

2013-03-15 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Fri Mar 15 12:15:52 UTC 2013 Modified Files: src/sys/rump: Makefile.rump Log Message: Use correct ldscript etc. for Sun ld. To generate a diff of this commit: cvs rdiff -u -r1.71 -r1.72 src/sys/rump/Makefile.rump Please note

CVS commit: src/sys/rump

2013-03-15 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Fri Mar 15 12:18:41 UTC 2013 Modified Files: src/sys/rump: Makefile.rump Log Message: On second thought, let's use make syntax in makefiles ... To generate a diff of this commit: cvs rdiff -u -r1.72 -r1.73

CVS commit: src/sys/rump

2013-03-15 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Fri Mar 15 12:42:18 UTC 2013 Modified Files: src/sys/rump: Makefile.rump Log Message: one more typofix To generate a diff of this commit: cvs rdiff -u -r1.73 -r1.74 src/sys/rump/Makefile.rump Please note that diffs are not

CVS commit: src/lib/librumpuser

2013-03-14 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Thu Mar 14 20:42:57 UTC 2013 Modified Files: src/lib/librumpuser: rumpuser_port.h Log Message: StunOS = 5.11 has posix_memalign(), so add an additional constraint for when we need to emulate it with memalign() and when not. To

CVS commit: src/lib/librumpuser

2013-03-14 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Thu Mar 14 21:31:36 UTC 2013 Modified Files: src/lib/librumpuser: rumpuser_port.h Log Message: Refine previous: sys/sysmacros.h is where MIN/MAX comes from on Solaris, so it needs to be included unconditionally. To generate a

CVS commit: src/sys/rump/net/lib/libvirtif

2013-03-13 Thread Antti Kantee
:45 2013 @@ -1,4 +1,4 @@ -/* $NetBSD: if_virt.c,v 1.27 2012/09/14 16:29:22 pooka Exp $ */ +/* $NetBSD: if_virt.c,v 1.28 2013/03/13 21:13:45 pooka Exp $ */ /* * Copyright (c) 2008 Antti Kantee. All Rights Reserved. @@ -26,7 +26,7 @@ */ #include sys/cdefs.h -__KERNEL_RCSID(0, $NetBSD

CVS commit: src/sys/rump/net/lib/libvirtif

2013-03-13 Thread Antti Kantee
: rumpcomp_user.c,v 1.1 2013/03/13 21:13:45 pooka Exp $ */ +/* $NetBSD: rumpcomp_user.c,v 1.2 2013/03/13 21:17:32 pooka Exp $ */ /* * Copyright (c) 2013 Antti Kantee. All Rights Reserved. @@ -127,7 +127,7 @@ rumpcomp_virtif_send(struct virtif_user /* how often to check for interface going

CVS commit: src/sys/rump/net/lib/libvirtif

2013-03-13 Thread Antti Kantee
1.29 2013/03/14 01:23:34 pooka Exp $ */ /* * Copyright (c) 2008 Antti Kantee. All Rights Reserved. @@ -26,7 +26,7 @@ */ #include sys/cdefs.h -__KERNEL_RCSID(0, $NetBSD: if_virt.c,v 1.28 2013/03/13 21:13:45 pooka Exp $); +__KERNEL_RCSID(0, $NetBSD: if_virt.c,v 1.29 2013/03/14 01:23:34 pooka

CVS commit: src/lib/librumpuser

2013-03-12 Thread Antti Kantee
Exp $ */ /* * Copyright (c) 2009 Antti Kantee. All Rights Reserved. @@ -33,7 +33,7 @@ #include rumpuser_port.h #if !defined(lint) -__RCSID($NetBSD: rumpuser_dl.c,v 1.14 2013/03/09 13:25:17 pooka Exp $); +__RCSID($NetBSD: rumpuser_dl.c,v 1.15 2013/03/12 14:03:32 pooka Exp $); #endif

CVS commit: src/sys/kern

2013-03-11 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Mon Mar 11 21:37:54 UTC 2013 Modified Files: src/sys/kern: subr_pool.c Log Message: In pool_cache_put_slow(), pool_get() can block (it does mutex_enter()), so we need to retry if curlwp took a context switch during the call.

CVS commit: src/sys/rump

2013-03-10 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Sun Mar 10 09:18:50 UTC 2013 Modified Files: src/sys/rump: listsrcdirs Log Message: Avoid dependency on curlybrace expansion. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/rump/listsrcdirs Please note that

CVS commit: src/sys/rump/librump/rumpkern

2013-03-10 Thread Antti Kantee
Exp $ */ /* * Copyright (c) 2008 Antti Kantee. All Rights Reserved. @@ -26,7 +26,7 @@ */ #include sys/cdefs.h -__KERNEL_RCSID(0, $NetBSD: sleepq.c,v 1.13 2011/01/28 17:57:03 pooka Exp $); +__KERNEL_RCSID(0, $NetBSD: sleepq.c,v 1.14 2013/03/10 11:21:05 pooka Exp $); #include sys/param.h

CVS commit: src/sys/rump

2013-03-10 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Sun Mar 10 14:15:54 UTC 2013 Modified Files: src/sys/rump: listsrcdirs Log Message: Add -c, which produces cvs syntax output for the necessary subset of src/sys. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3

CVS commit: src/sys/rump/librump/rumpkern

2013-03-10 Thread Antti Kantee
: memalloc.c,v 1.18 2012/07/20 09:20:05 pooka Exp $ */ +/* $NetBSD: memalloc.c,v 1.19 2013/03/10 16:27:11 pooka Exp $ */ /* * Copyright (c) 2009 Antti Kantee. All Rights Reserved. @@ -26,14 +26,12 @@ */ #include sys/cdefs.h -__KERNEL_RCSID(0, $NetBSD: memalloc.c,v 1.18 2012/07/20 09:20:05 pooka

CVS commit: src/sys/rump/librump/rumpkern

2013-03-10 Thread Antti Kantee
2013 +++ src/sys/rump/librump/rumpkern/rump.c Sun Mar 10 16:51:31 2013 @@ -1,4 +1,4 @@ -/* $NetBSD: rump.c,v 1.255 2013/03/08 19:04:28 pooka Exp $ */ +/* $NetBSD: rump.c,v 1.256 2013/03/10 16:51:31 pooka Exp $ */ /* * Copyright (c) 2007-2011 Antti Kantee. All Rights Reserved. @@ -26,7 +26,7

CVS commit: src/sys/rump/librump/rumpkern

2013-03-10 Thread Antti Kantee
Sun Mar 10 17:05:12 2013 @@ -1,4 +1,4 @@ -/* $NetBSD: memalloc.c,v 1.19 2013/03/10 16:27:11 pooka Exp $ */ +/* $NetBSD: memalloc.c,v 1.20 2013/03/10 17:05:12 pooka Exp $ */ /* * Copyright (c) 2009 Antti Kantee. All Rights Reserved. @@ -26,13 +26,15 @@ */ #include sys/cdefs.h

CVS commit: src/sys/kern

2013-03-10 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Sun Mar 10 17:55:42 UTC 2013 Modified Files: src/sys/kern: kern_uidinfo.c Log Message: At least pretend to not leak memory in sysctl initialization. This commit message would be longer if it included opinions about sysctllog vs.

CVS commit: src/lib/librumpuser

2013-03-09 Thread Antti Kantee
:27 2013 +++ src/lib/librumpuser/rumpuser_dl.c Sat Mar 9 13:25:17 2013 @@ -1,4 +1,4 @@ -/* $NetBSD: rumpuser_dl.c,v 1.13 2013/03/08 19:04:27 pooka Exp $ */ +/* $NetBSD: rumpuser_dl.c,v 1.14 2013/03/09 13:25:17 pooka Exp $ */ /* * Copyright (c) 2009 Antti Kantee. All Rights Reserved

CVS commit: src

2013-03-08 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Fri Mar 8 08:13:34 UTC 2013 Modified Files: src/external/bsd/mdocml/dist: lib.in src/gnu/usr.bin/groff/tmac: mdoc.local Log Message: Add librumpclient. requested by wiz To generate a diff of this commit: cvs rdiff -u

CVS commit: src

2013-03-08 Thread Antti Kantee
@@ -/* $NetBSD: rumpuser_dl.c,v 1.12 2013/01/14 21:00:16 pooka Exp $ */ +/* $NetBSD: rumpuser_dl.c,v 1.13 2013/03/08 19:04:27 pooka Exp $ */ /* * Copyright (c) 2009 Antti Kantee. All Rights Reserved. @@ -33,7 +33,7 @@ #include rumpuser_port.h #if !defined(lint) -__RCSID($NetBSD: rumpuser_dl.c,v

CVS commit: src/sys/rump/librump/rumpkern

2013-03-07 Thread Antti Kantee
$ */ +/* $NetBSD: rump.c,v 1.253 2013/03/07 18:33:27 pooka Exp $ */ /* * Copyright (c) 2007-2011 Antti Kantee. All Rights Reserved. @@ -26,7 +26,7 @@ */ #include sys/cdefs.h -__KERNEL_RCSID(0, $NetBSD: rump.c,v 1.252 2013/03/03 13:11:33 pooka Exp $); +__KERNEL_RCSID(0, $NetBSD: rump.c,v 1.253 2013/03

CVS commit: src/sys/rump/librump/rumpkern

2013-03-07 Thread Antti Kantee
: lwproc.c,v 1.20 2013/03/07 18:49:13 pooka Exp $ */ /* * Copyright (c) 2010, 2011 Antti Kantee. All Rights Reserved. @@ -26,7 +26,7 @@ */ #include sys/cdefs.h -__KERNEL_RCSID(0, $NetBSD: lwproc.c,v 1.19 2012/11/13 20:10:02 pooka Exp $); +__KERNEL_RCSID(0, $NetBSD: lwproc.c,v 1.20 2013/03

CVS commit: src/sys/rump/librump/rumpkern

2013-03-07 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Thu Mar 7 18:50:18 UTC 2013 Modified Files: src/sys/rump/librump/rumpkern: rumpkern_if_priv.h rumpkern_if_wrappers.c To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13

CVS commit: src/sys/rump/include/rump

2013-03-07 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Thu Mar 7 18:51:03 UTC 2013 Modified Files: src/sys/rump/include/rump: rumpkern_if_pub.h Log Message: regen To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/sys/rump/include/rump/rumpkern_if_pub.h Please note

CVS commit: src/sys/rump/kern/lib/libsys_linux

2013-03-07 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Thu Mar 7 18:53:40 UTC 2013 Modified Files: src/sys/rump/kern/lib/libsys_linux: Makefile component.c Log Message: If linux syscall emulation is linked in to a rump kernel, use it as the default emulation. To generate a diff of

CVS commit: src/sys/rump/kern/lib/libsys_linux

2013-03-07 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Thu Mar 7 18:57:42 UTC 2013 Modified Files: src/sys/rump/kern/lib/libsys_linux: component.c Log Message: implement linux_fakedev: silly in, silly out, silly inside out To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5

CVS commit: src/sys/rump/librump/rumpkern

2013-03-07 Thread Antti Kantee
Tue Feb 19 09:04:54 2013 +++ src/sys/rump/librump/rumpkern/emul.c Thu Mar 7 19:07:05 2013 @@ -1,4 +1,4 @@ -/* $NetBSD: emul.c,v 1.153 2013/02/19 09:04:54 martin Exp $ */ +/* $NetBSD: emul.c,v 1.154 2013/03/07 19:07:05 pooka Exp $ */ /* * Copyright (c) 2007-2011 Antti Kantee. All Rights Reserved

CVS commit: src/sys/rump/kern/lib/libsys_linux

2013-03-07 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Thu Mar 7 19:08:54 UTC 2013 Modified Files: src/sys/rump/kern/lib/libsys_linux: syscalls.conf Log Message: generate sysnumhdr so that we get NSYSENT To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2

CVS commit: src/sys/rump/kern/lib/libsys_linux

2013-03-07 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Thu Mar 7 19:09:51 UTC 2013 Modified Files: src/sys/rump/kern/lib/libsys_linux: rump_linux_syscallargs.h rump_linux_syscalls.c rump_linux_sysent.c Added Files: src/sys/rump/kern/lib/libsys_linux:

CVS commit: src/sys/rump/kern/lib/libsys_linux

2013-03-07 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Thu Mar 7 19:10:59 UTC 2013 Modified Files: src/sys/rump/kern/lib/libsys_linux: component.c Log Message: set e_nsysent To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/sys/rump/kern/lib/libsys_linux/component.c

CVS commit: src/sys/kern

2013-03-07 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Thu Mar 7 19:17:46 UTC 2013 Modified Files: src/sys/kern: makesyscalls.sh Log Message: make rump kernel syscalls through curproc-p_emul instead of rump_sysent To generate a diff of this commit: cvs rdiff -u -r1.127 -r1.128

CVS commit: src/sys/rump/dev/lib/libbpf

2013-03-07 Thread Antti Kantee
+++ src/sys/rump/dev/lib/libbpf/component.c Thu Mar 7 21:21:37 2013 @@ -1,4 +1,4 @@ -/* $NetBSD: component.c,v 1.3 2010/03/01 13:12:19 pooka Exp $ */ +/* $NetBSD: component.c,v 1.4 2013/03/07 21:21:37 pooka Exp $ */ /* * Copyright (c) 2010 Antti Kantee. All Rights Reserved. @@ -26,7 +26,7

CVS commit: src/sys/rump/librump

2013-03-07 Thread Antti Kantee
2013/03/07 22:12:34 pooka Exp $ */ /* * Copyright (c) 2007-2011 Antti Kantee. All Rights Reserved. @@ -26,7 +26,7 @@ */ #include sys/cdefs.h -__KERNEL_RCSID(0, $NetBSD: rump.c,v 1.253 2013/03/07 18:33:27 pooka Exp $); +__KERNEL_RCSID(0, $NetBSD: rump.c,v 1.254 2013/03/07 22:12:34 pooka

CVS commit: src/sys/sys

2013-03-06 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Wed Mar 6 18:16:58 UTC 2013 Modified Files: src/sys/sys: ucontext.h Log Message: Move CTASSERT a few lines down so as to not collide with the CTASSERT in rtsock.c (relevant for compilers without __COUNTER__). Yes, it's a really

CVS commit: src/sys/rump/librump/rumpkern

2013-03-03 Thread Antti Kantee
2013/03/03 13:11:33 pooka Exp $ */ /* * Copyright (c) 2007-2011 Antti Kantee. All Rights Reserved. @@ -26,7 +26,7 @@ */ #include sys/cdefs.h -__KERNEL_RCSID(0, $NetBSD: rump.c,v 1.251 2013/02/19 09:04:54 martin Exp $); +__KERNEL_RCSID(0, $NetBSD: rump.c,v 1.252 2013/03/03 13:11:33 pooka

CVS commit: src/tests/net/bpf

2013-03-01 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Fri Mar 1 13:49:42 UTC 2013 Modified Files: src/tests/net/bpf: t_div-by-zero.c Log Message: Rump kernel hypercalls are not necessary here. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4

CVS commit: src

2013-03-01 Thread Antti Kantee
2013/03/01 13:52:31 pooka Exp $ */ /* * Copyright (c) 2007-2011 Antti Kantee. All Rights Reserved. @@ -28,6 +28,10 @@ #ifndef _RUMP_RUMPUSER_H_ #define _RUMP_RUMPUSER_H_ +#if !defined(_KERNEL) !defined(LIBRUMPUSER) +#error The rump/rumpuser.h interface is not for non-kernel consumers +#endif

CVS commit: src/sys/rump

2013-03-01 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Fri Mar 1 14:05:44 UTC 2013 Modified Files: src/sys/rump: Makefile.rump Log Message: Allow rump kernel components to define their own hypercalls. This is useful for example for supporting the tap device on Linux, for which

CVS commit: src/sys/rump

2013-03-01 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Fri Mar 1 18:11:11 UTC 2013 Modified Files: src/sys/rump: Makefile.rump Log Message: Shuffle the namespaces in the previous around a bit, and make it rumpcomp_user instead of rumpuser_component. This makes sure the rumpuser

CVS commit: src

2013-03-01 Thread Antti Kantee
$ */ + +/* + * Copyright (c) 2013 Antti Kantee. All Rights Reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + *notice

CVS commit: src/sys/rump

2013-03-01 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Fri Mar 1 18:57:59 UTC 2013 Modified Files: src/sys/rump: VERSION Log Message: Bump tree version for rumpcomp_user stuff. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/rump/VERSION Please note that diffs

CVS commit: src/sys/rump/librump

2013-02-14 Thread Antti Kantee
1.6 2013/02/14 10:54:54 pooka Exp $ # # Copyright (c) 2009 Antti Kantee. All rights reserved. # @@ -47,14 +47,25 @@ boom () exit 1 } -[ $# != 1 ] usage +unset TOPDIR +if [ $# -eq 3 ]; then + if [ $1 = '-R' ]; then + TOPDIR=$2 + else + usage + fi + shift; shift +fi +[ $# -ne 1 ] usage

CVS commit: src/lib/libc/gen

2013-02-13 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Wed Feb 13 12:15:09 UTC 2013 Modified Files: src/lib/libc/gen: vis.c Log Message: Match prototype with reality to fix tool build on platforms where wint_t != int. To generate a diff of this commit: cvs rdiff -u -r1.47 -r1.48

CVS commit: src/sys/rump

2013-02-13 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Wed Feb 13 18:45:20 UTC 2013 Added Files: src/sys/rump: listsrcdirs Log Message: Move the list of source directories required by TOOLS_BUILDRUMP=yes from the buildrump.sh repo to here. While I don't expect the list to change

CVS commit: src/lib/librumpuser

2013-02-11 Thread Antti Kantee
: rumpuser_pth.c,v 1.11 2013/01/14 21:00:16 pooka Exp $ */ +/* $NetBSD: rumpuser_pth.c,v 1.12 2013/02/11 16:02:31 pooka Exp $ */ /* * Copyright (c) 2007-2010 Antti Kantee. All Rights Reserved. @@ -28,7 +28,7 @@ #include rumpuser_port.h #if !defined(lint) -__RCSID($NetBSD: rumpuser_pth.c,v 1.11 2013/01

CVS commit: src/tools

2013-01-31 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Thu Jan 31 15:22:50 UTC 2013 Modified Files: src/tools: Makefile Log Message: Use TOOLS_BUILDRUMP=yes to restrict building of tools to those required for building rump kernels. This cuts down the NetBSD source tree required by

CVS commit: src/sys/rump

2013-01-31 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Thu Jan 31 19:16:12 UTC 2013 Modified Files: src/sys/rump: VERSION Log Message: bump for TOOLS_BUILDRUMP To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sys/rump/VERSION Please note that diffs are not public

CVS commit: src/lib/librumpclient

2013-01-20 Thread Antti Kantee
$ */ +/* $NetBSD: rumpclient.h,v 1.15 2013/01/20 15:23:21 pooka Exp $ */ /*- * Copyright (c) 2010 Antti Kantee. All Rights Reserved. @@ -38,6 +38,11 @@ #endif /* !__GNUC__ */ #endif /* !__returns_twice */ +#if defined(__sun__) !defined(RUMP_REGISTER_T) +#define RUMP_REGISTER_T long +typedef

<    4   5   6   7   8   9   10   11   12   13   >