Wed Oct 27 20:34:50 2010 UTC ()
Retire the old sysproxy nonsense (as part of doing it slightly better).

Introduce rump_pub_syscall() as the generic interface for making
system calls with already marshalled arguments.  So it's kinda like
syscall(2), except it also remembered to breathe instead of having
to figure out how to deal with 64bit values.


(pooka)
diff -r1.6 -r1.7 src/sys/rump/librump/rumpkern/rumpkern.ifspec
diff -r1.9 -r0 src/sys/rump/librump/rumpkern/sysproxy_socket.c

cvs diff -r1.6 -r1.7 src/sys/rump/librump/rumpkern/rumpkern.ifspec (expand / switch to unified diff)

--- src/sys/rump/librump/rumpkern/rumpkern.ifspec 2010/09/01 19:13:38 1.6
+++ src/sys/rump/librump/rumpkern/rumpkern.ifspec 2010/10/27 20:34:50 1.7
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1; $NetBSD: rumpkern.ifspec,v 1.6 2010/09/01 19:13:38 pooka Exp $ 1; $NetBSD: rumpkern.ifspec,v 1.7 2010/10/27 20:34:50 pooka Exp $
2 2
3NAME|kern 3NAME|kern
4PUBHDR|include/rump/rumpkern_if_pub.h 4PUBHDR|include/rump/rumpkern_if_pub.h
5PRIVHDR|librump/rumpkern/rumpkern_if_priv.h 5PRIVHDR|librump/rumpkern/rumpkern_if_priv.h
6WRAPPERS|librump/rumpkern/rumpkern_if_wrappers.c 6WRAPPERS|librump/rumpkern/rumpkern_if_wrappers.c
7 7
8; type | name | args 8; type | name | args
9; 9;
10 10
11void |reboot |int 11void |reboot |int
12int |getversion |void 12int |getversion |void
13 13
14int |module_init |const struct modinfo * const *, size_t 14int |module_init |const struct modinfo * const *, size_t
@@ -22,16 +22,14 @@ size_t |uio_free |struct uio * @@ -22,16 +22,14 @@ size_t |uio_free |struct uio *
22 22
23struct kauth_cred*|cred_create |uid_t, gid_t, size_t, gid_t * 23struct kauth_cred*|cred_create |uid_t, gid_t, size_t, gid_t *
24void |cred_put |struct kauth_cred * 24void |cred_put |struct kauth_cred *
25 25
26; lwp and proc creation / switching interfaces 26; lwp and proc creation / switching interfaces
27int |lwproc_newproc |void 27int |lwproc_newproc |void
28int |lwproc_newlwp |pid_t 28int |lwproc_newlwp |pid_t
29void |lwproc_switch |struct lwp * 29void |lwproc_switch |struct lwp *
30void |lwproc_releaselwp |void 30void |lwproc_releaselwp |void
31struct lwp * |lwproc_curlwp |void 31struct lwp * |lwproc_curlwp |void
32 32
33void |allbetsareoff_setid |pid_t, int 33void |allbetsareoff_setid |pid_t, int
34 34
35int |sysproxy_set |rump_sysproxy_t, void * 35int |syscall |int, void *, register_t *
36int |sysproxy_socket_setup_client |int 
37int |sysproxy_socket_setup_server |int 

File Deleted: src/sys/rump/librump/rumpkern/Attic/sysproxy_socket.c