xref: /netbsd-src/sys/rump/librump/rumpkern/rumpkern_if_priv.h (revision 288bb96063654ec504ca8732afc683d3ebc514b5)
1 /*	$NetBSD: rumpkern_if_priv.h,v 1.12 2011/01/02 12:53:13 pooka Exp $	*/
2 
3 /*
4  * Automatically generated.  DO NOT EDIT.
5  * from: NetBSD: rumpkern.ifspec,v 1.10 2011/01/02 12:52:25 pooka Exp
6  * by:   NetBSD: makerumpif.sh,v 1.5 2010/09/01 19:32:11 pooka Exp
7  */
8 
9 int rump_getversion(void);
10 int rump_module_init(const struct modinfo * const *, size_t);
11 int rump_module_fini(const struct modinfo *);
12 int rump_kernelfsym_load(void *, uint64_t, char *, uint64_t);
13 struct uio * rump_uio_setup(void *, size_t, off_t, enum rump_uiorw);
14 size_t rump_uio_getresid(struct uio *);
15 off_t rump_uio_getoff(struct uio *);
16 size_t rump_uio_free(struct uio *);
17 struct kauth_cred* rump_cred_create(uid_t, gid_t, size_t, gid_t *);
18 void rump_cred_put(struct kauth_cred *);
19 int rump_lwproc_rfork(int);
20 int rump_lwproc_newlwp(pid_t);
21 void rump_lwproc_switch(struct lwp *);
22 void rump_lwproc_releaselwp(void);
23 struct lwp * rump_lwproc_curlwp(void);
24 void rump_allbetsareoff_setid(pid_t, int);
25