xref: /netbsd-src/sys/rump/include/rump/rumpkern_if_pub.h (revision 00e5ca99e706e85dc95d4036c086063fce5205a8)
1 /*	$NetBSD: rumpkern_if_pub.h,v 1.18 2016/01/26 23:25:40 pooka Exp $	*/
2 
3 /*
4  * Automatically generated.  DO NOT EDIT.
5  * from: NetBSD: rumpkern.ifspec,v 1.14 2016/01/26 23:22:22 pooka Exp
6  * by:   NetBSD: makerumpif.sh,v 1.10 2016/01/26 23:21:18 pooka Exp
7  */
8 
9 int rump_pub_module_init(const struct modinfo * const *, size_t);
10 int rump_pub_module_fini(const struct modinfo *);
11 int rump_pub_kernelfsym_load(void *, uint64_t, char *, uint64_t);
12 struct uio * rump_pub_uio_setup(void *, size_t, off_t, enum rump_uiorw);
13 size_t rump_pub_uio_getresid(struct uio *);
14 off_t rump_pub_uio_getoff(struct uio *);
15 size_t rump_pub_uio_free(struct uio *);
16 struct kauth_cred* rump_pub_cred_create(uid_t, gid_t, size_t, gid_t *);
17 void rump_pub_cred_put(struct kauth_cred *);
18 int rump_pub_lwproc_rfork(int);
19 int rump_pub_lwproc_newlwp(pid_t);
20 void rump_pub_lwproc_switch(struct lwp *);
21 void rump_pub_lwproc_releaselwp(void);
22 struct lwp * rump_pub_lwproc_curlwp(void);
23 void rump_pub_lwproc_sysent_usenative(void);
24 void rump_pub_allbetsareoff_setid(pid_t, int);
25 int rump_pub_etfs_register(const char *, const char *, enum rump_etfs_type);
26 int rump_pub_etfs_register_withsize(const char *, const char *, enum rump_etfs_type, uint64_t, uint64_t);
27 int rump_pub_etfs_remove(const char *);
28