Deleted Added
full compact
linux_util.h (283421) linux_util.h (283427)
1/*-
2 * Copyright (c) 1994 Christos Zoulas
3 * Copyright (c) 1995 Frank van der Linden
4 * Copyright (c) 1995 Scott Bartram
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

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

23 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
24 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
25 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28 *
29 * from: svr4_util.h,v 1.5 1994/11/18 02:54:31 christos Exp
30 * from: linux_util.h,v 1.2 1995/03/05 23:23:50 fvdl Exp
1/*-
2 * Copyright (c) 1994 Christos Zoulas
3 * Copyright (c) 1995 Frank van der Linden
4 * Copyright (c) 1995 Scott Bartram
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

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

23 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
24 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
25 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28 *
29 * from: svr4_util.h,v 1.5 1994/11/18 02:54:31 christos Exp
30 * from: linux_util.h,v 1.2 1995/03/05 23:23:50 fvdl Exp
31 * $FreeBSD: head/sys/compat/linux/linux_util.h 283421 2015-05-24 15:51:18Z dchagin $
31 * $FreeBSD: head/sys/compat/linux/linux_util.h 283427 2015-05-24 16:14:41Z dchagin $
32 */
33
34#ifndef _LINUX_UTIL_H_
35#define _LINUX_UTIL_H_
36
37#include <vm/vm.h>
38#include <vm/vm_param.h>
39#include <vm/pmap.h>
40#include <machine/vmparam.h>
41#include <sys/exec.h>
42#include <sys/sysent.h>
43#include <sys/syslog.h>
44#include <sys/cdefs.h>
45#include <sys/uio.h>
46
47MALLOC_DECLARE(M_LINUX);
32 */
33
34#ifndef _LINUX_UTIL_H_
35#define _LINUX_UTIL_H_
36
37#include <vm/vm.h>
38#include <vm/vm_param.h>
39#include <vm/pmap.h>
40#include <machine/vmparam.h>
41#include <sys/exec.h>
42#include <sys/sysent.h>
43#include <sys/syslog.h>
44#include <sys/cdefs.h>
45#include <sys/uio.h>
46
47MALLOC_DECLARE(M_LINUX);
48MALLOC_DECLARE(M_FUTEX);
49MALLOC_DECLARE(M_FUTEX_WP);
48
49extern const char linux_emul_path[];
50
51int linux_emul_convpath(struct thread *, const char *, enum uio_seg, char **, int, int);
52
53#define LCONVPATH_AT(td, upath, pathp, i, dfd) \
54 do { \
55 int _error; \

--- 88 unchanged lines hidden ---
50
51extern const char linux_emul_path[];
52
53int linux_emul_convpath(struct thread *, const char *, enum uio_seg, char **, int, int);
54
55#define LCONVPATH_AT(td, upath, pathp, i, dfd) \
56 do { \
57 int _error; \

--- 88 unchanged lines hidden ---