linux_mib.h revision 191896
1178476Sjb/*- 2178476Sjb * Copyright (c) 1999 Marcel Moolenaar 3178476Sjb * All rights reserved. 4178476Sjb * 5178476Sjb * Redistribution and use in source and binary forms, with or without 6178476Sjb * modification, are permitted provided that the following conditions 7178476Sjb * are met: 8178476Sjb * 1. Redistributions of source code must retain the above copyright 9178476Sjb * notice, this list of conditions and the following disclaimer 10178476Sjb * in this position and unchanged. 11178476Sjb * 2. Redistributions in binary form must reproduce the above copyright 12178476Sjb * notice, this list of conditions and the following disclaimer in the 13178476Sjb * documentation and/or other materials provided with the distribution. 14178476Sjb * 3. The name of the author may not be used to endorse or promote products 15178476Sjb * derived from this software without specific prior written permission. 16178476Sjb * 17178476Sjb * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 18178476Sjb * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 19178476Sjb * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 20178476Sjb * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 21178476Sjb * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 22178476Sjb * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 23178476Sjb * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 24178476Sjb * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25178476Sjb * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26178476Sjb * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27178476Sjb * 28178476Sjb * $FreeBSD: head/sys/compat/linux/linux_mib.h 191896 2009-05-07 18:36:47Z jamie $ 29178476Sjb */ 30178476Sjb 31178476Sjb#ifndef _LINUX_MIB_H_ 32178476Sjb#define _LINUX_MIB_H_ 33178476Sjb 34178476Sjbvoid linux_osd_jail_register(void); 35178476Sjbvoid linux_osd_jail_deregister(void); 36178476Sjb 37178476Sjbvoid linux_get_osname(struct thread *td, char *dst); 38178476Sjbint linux_set_osname(struct thread *td, char *osname); 39178476Sjb 40178476Sjbvoid linux_get_osrelease(struct thread *td, char *dst); 41178476Sjbint linux_set_osrelease(struct thread *td, char *osrelease); 42178476Sjb 43178476Sjbint linux_get_oss_version(struct thread *td); 44178476Sjbint linux_set_oss_version(struct thread *td, int oss_version); 45178476Sjb 46178476Sjbint linux_use26(struct thread *td); 47178476Sjb 48178476Sjb#endif /* _LINUX_MIB_H_ */ 49178476Sjb