Deleted Added
full compact
linux_mib.c (133816) linux_mib.c (140214)
1/*-
2 * Copyright (c) 1999 Marcel Moolenaar
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 13 unchanged lines hidden (view full) ---

22 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 */
28
29#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 1999 Marcel Moolenaar
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 13 unchanged lines hidden (view full) ---

22 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 */
28
29#include <sys/cdefs.h>
30__FBSDID("$FreeBSD: head/sys/compat/linux/linux_mib.c 133816 2004-08-16 07:28:16Z tjr $");
30__FBSDID("$FreeBSD: head/sys/compat/linux/linux_mib.c 140214 2005-01-14 04:44:56Z obrien $");
31
32#include <sys/param.h>
33#include <sys/kernel.h>
34#include <sys/systm.h>
35#include <sys/sysctl.h>
36#include <sys/proc.h>
37#include <sys/malloc.h>
38#include <sys/jail.h>
39#include <sys/lock.h>
40#include <sys/mutex.h>
41
42#include "opt_compat.h"
43
31
32#include <sys/param.h>
33#include <sys/kernel.h>
34#include <sys/systm.h>
35#include <sys/sysctl.h>
36#include <sys/proc.h>
37#include <sys/malloc.h>
38#include <sys/jail.h>
39#include <sys/lock.h>
40#include <sys/mutex.h>
41
42#include "opt_compat.h"
43
44#if !COMPAT_LINUX32
45#include <machine/../linux/linux.h>
46#else
44#ifdef COMPAT_LINUX32
47#include <machine/../linux32/linux.h>
45#include <machine/../linux32/linux.h>
46#else
47#include <machine/../linux/linux.h>
48#endif
49#include <compat/linux/linux_mib.h>
50
51struct linux_prison {
52 char pr_osname[LINUX_MAX_UTSNAME];
53 char pr_osrelease[LINUX_MAX_UTSNAME];
54 int pr_oss_version;
55};

--- 307 unchanged lines hidden ---
48#endif
49#include <compat/linux/linux_mib.h>
50
51struct linux_prison {
52 char pr_osname[LINUX_MAX_UTSNAME];
53 char pr_osrelease[LINUX_MAX_UTSNAME];
54 int pr_oss_version;
55};

--- 307 unchanged lines hidden ---