Deleted Added
full compact
linux_emul.c (235063) linux_emul.c (246085)
1/*-
2 * Copyright (c) 2006 Roman Divacky
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) 2006 Roman Divacky
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_emul.c 235063 2012-05-05 19:42:38Z netchild $");
30__FBSDID("$FreeBSD: head/sys/compat/linux/linux_emul.c 246085 2013-01-29 18:41:30Z jhb $");
31
32#include "opt_compat.h"
33#include "opt_kdtrace.h"
34
35#include <sys/param.h>
36#include <sys/systm.h>
37#include <sys/imgact.h>
38#include <sys/kernel.h>

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

53#else
54#include <machine/../linux/linux.h>
55#include <machine/../linux/linux_proto.h>
56#endif
57
58#include <compat/linux/linux_dtrace.h>
59#include <compat/linux/linux_emul.h>
60#include <compat/linux/linux_futex.h>
31
32#include "opt_compat.h"
33#include "opt_kdtrace.h"
34
35#include <sys/param.h>
36#include <sys/systm.h>
37#include <sys/imgact.h>
38#include <sys/kernel.h>

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

53#else
54#include <machine/../linux/linux.h>
55#include <machine/../linux/linux_proto.h>
56#endif
57
58#include <compat/linux/linux_dtrace.h>
59#include <compat/linux/linux_emul.h>
60#include <compat/linux/linux_futex.h>
61#include <compat/linux/linux_misc.h>
61
62/**
63 * Special DTrace provider for the linuxulator.
64 *
65 * In this file we define the provider for the entire linuxulator. All
66 * modules (= files of the linuxulator) use it.
67 *
68 * We define a different name depending on the emulated bitsize, see

--- 405 unchanged lines hidden ---
62
63/**
64 * Special DTrace provider for the linuxulator.
65 *
66 * In this file we define the provider for the entire linuxulator. All
67 * modules (= files of the linuxulator) use it.
68 *
69 * We define a different name depending on the emulated bitsize, see

--- 405 unchanged lines hidden ---