diff options
author | jamie <jamie@FreeBSD.org> | 2009-05-07 18:36:47 +0000 |
---|---|---|
committer | jamie <jamie@FreeBSD.org> | 2009-05-07 18:36:47 +0000 |
commit | 267ea54b443c35cb461edf078932854d2c5bde9b (patch) | |
tree | f3b47f8268b5d4dd1be886d22dd6f1988cff9d2a /sys/compat/linux/linux_mib.h | |
parent | 78e147b4e4dce72b79e30eb4ca8573e761b9cb4e (diff) | |
download | FreeBSD-src-267ea54b443c35cb461edf078932854d2c5bde9b.zip FreeBSD-src-267ea54b443c35cb461edf078932854d2c5bde9b.tar.gz |
Move the per-prison Linux MIB from a private one-off pointer to the new
OSD-based jail extensions. This allows the Linux MIB to accessed via
jail_set and jail_get, and serves as a demonstration of adding jail support
to a module.
Reviewed by: dchagin, kib
Approved by: bz (mentor)
Diffstat (limited to 'sys/compat/linux/linux_mib.h')
-rw-r--r-- | sys/compat/linux/linux_mib.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/compat/linux/linux_mib.h b/sys/compat/linux/linux_mib.h index 85f61635..8e5d650 100644 --- a/sys/compat/linux/linux_mib.h +++ b/sys/compat/linux/linux_mib.h @@ -31,6 +31,9 @@ #ifndef _LINUX_MIB_H_ #define _LINUX_MIB_H_ +void linux_osd_jail_register(void); +void linux_osd_jail_deregister(void); + void linux_get_osname(struct thread *td, char *dst); int linux_set_osname(struct thread *td, char *osname); |