Deleted Added
full compact
linux.h (331722) linux.h (346812)
1/*-
2 * Copyright (c) 2004 Tim J. Robbins
3 * Copyright (c) 2001 Doug Rabson
4 * Copyright (c) 1994-1996 S��ren Schmidt
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

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

22 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
23 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
24 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
28 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 *
1/*-
2 * Copyright (c) 2004 Tim J. Robbins
3 * Copyright (c) 2001 Doug Rabson
4 * Copyright (c) 1994-1996 S��ren Schmidt
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

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

22 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
23 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
24 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
28 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 *
30 * $FreeBSD: stable/11/sys/amd64/linux32/linux.h 331722 2018-03-29 02:50:57Z eadler $
30 * $FreeBSD: stable/11/sys/amd64/linux32/linux.h 346812 2019-04-28 09:53:08Z dchagin $
31 */
32
33#ifndef _AMD64_LINUX_H_
34#define _AMD64_LINUX_H_
35
36#include <compat/linux/linux.h>
37#include <amd64/linux32/linux32_syscall.h>
38

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

235 l_ulong st_blocks;
236 l_ulong __pad4;
237 struct l_timespec st_atim;
238 struct l_timespec st_mtim;
239 struct l_timespec st_ctim;
240 l_ulonglong st_ino;
241} __packed;
242
31 */
32
33#ifndef _AMD64_LINUX_H_
34#define _AMD64_LINUX_H_
35
36#include <compat/linux/linux.h>
37#include <amd64/linux32/linux32_syscall.h>
38

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

235 l_ulong st_blocks;
236 l_ulong __pad4;
237 struct l_timespec st_atim;
238 struct l_timespec st_mtim;
239 struct l_timespec st_ctim;
240 l_ulonglong st_ino;
241} __packed;
242
243struct l_statfs64 {
244 l_int f_type;
245 l_int f_bsize;
246 uint64_t f_blocks;
247 uint64_t f_bfree;
248 uint64_t f_bavail;
249 uint64_t f_files;
250 uint64_t f_ffree;
251 l_fsid_t f_fsid;
252 l_int f_namelen;
253 l_int f_frsize;
254 l_int f_flags;
255 l_int f_spare[4];
243struct l_statfs64 {
244 l_int f_type;
245 l_int f_bsize;
246 uint64_t f_blocks;
247 uint64_t f_bfree;
248 uint64_t f_bavail;
249 uint64_t f_files;
250 uint64_t f_ffree;
251 l_fsid_t f_fsid;
252 l_int f_namelen;
253 l_int f_frsize;
254 l_int f_flags;
255 l_int f_spare[4];
256} __packed;
257
258/* sigaction flags */
259#define LINUX_SA_NOCLDSTOP 0x00000001
260#define LINUX_SA_NOCLDWAIT 0x00000002
261#define LINUX_SA_SIGINFO 0x00000004
262#define LINUX_SA_RESTORER 0x04000000
263#define LINUX_SA_ONSTACK 0x08000000

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

447 struct l_sigcontext sf_sc;
448 struct l_fpstate sf_fpstate;
449 l_uint sf_extramask[1];
450 l_handler_t sf_handler;
451} __packed;
452
453struct l_rt_sigframe {
454 l_int sf_sig;
256} __packed;
257
258/* sigaction flags */
259#define LINUX_SA_NOCLDSTOP 0x00000001
260#define LINUX_SA_NOCLDWAIT 0x00000002
261#define LINUX_SA_SIGINFO 0x00000004
262#define LINUX_SA_RESTORER 0x04000000
263#define LINUX_SA_ONSTACK 0x08000000

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

447 struct l_sigcontext sf_sc;
448 struct l_fpstate sf_fpstate;
449 l_uint sf_extramask[1];
450 l_handler_t sf_handler;
451} __packed;
452
453struct l_rt_sigframe {
454 l_int sf_sig;
455 l_uintptr_t sf_siginfo;
455 l_uintptr_t sf_siginfo;
456 l_uintptr_t sf_ucontext;
457 l_siginfo_t sf_si;
456 l_uintptr_t sf_ucontext;
457 l_siginfo_t sf_si;
458 struct l_ucontext sf_sc;
459 l_handler_t sf_handler;
458 struct l_ucontext sf_sc;
459 l_handler_t sf_handler;
460} __packed;
461
462/*
463 * arch specific open/fcntl flags
464 */
465#define LINUX_F_GETLK64 12
466#define LINUX_F_SETLK64 13
467#define LINUX_F_SETLKW64 14

--- 185 unchanged lines hidden ---
460} __packed;
461
462/*
463 * arch specific open/fcntl flags
464 */
465#define LINUX_F_GETLK64 12
466#define LINUX_F_SETLK64 13
467#define LINUX_F_SETLKW64 14

--- 185 unchanged lines hidden ---