NetBSD/sys/rump/librump/rumpkern/rumpkern.ifspec
pooka 8b69e65f3e There is a use case where preserving the parent's fd table is
relevant, so to accommodate that change rump_lwproc_newproc() to
rump_lwproc_rfork().  The new interface has the rfork() fd table
semantics.  The equivalent of rump_lwproc_newproc() is
rump_lwproc_rfork(RUMP_RFCFDG).
2011-01-02 12:52:25 +00:00

33 lines
927 B
Plaintext

; $NetBSD: rumpkern.ifspec,v 1.10 2011/01/02 12:52:25 pooka Exp $
NAME|kern
PUBHDR|include/rump/rumpkern_if_pub.h
PRIVHDR|librump/rumpkern/rumpkern_if_priv.h
WRAPPERS|librump/rumpkern/rumpkern_if_wrappers.c
; type | name | args
;
int |getversion |void
int |module_init |const struct modinfo * const *, size_t
int |module_fini |const struct modinfo *
int |kernelfsym_load|void *, uint64_t, char *, uint64_t
struct uio * |uio_setup |void *, size_t, off_t, enum rump_uiorw
size_t |uio_getresid |struct uio *
off_t |uio_getoff |struct uio *
size_t |uio_free |struct uio *
struct kauth_cred*|cred_create |uid_t, gid_t, size_t, gid_t *
void |cred_put |struct kauth_cred *
; lwp and proc creation / switching interfaces
int |lwproc_rfork |int
int |lwproc_newlwp |pid_t
void |lwproc_switch |struct lwp *
void |lwproc_releaselwp |void
struct lwp * |lwproc_curlwp |void
void |allbetsareoff_setid |pid_t, int