diff options
| author | Andrew Turner <andrew@fubar.geek.nz> | 2021-05-17 14:32:45 +0000 |
|---|---|---|
| committer | Mark Johnston <markjdb@gmail.com> | 2021-05-17 16:03:35 -0400 |
| commit | 0e75f99efaaa92ae6213c1f3a8a68d50cf3c1aa6 (patch) | |
| tree | 38550dc42e6f525725219d134d296dc2de54650d /sys/freebsd | |
| parent | c3916a021568b4ac1f7e0fd29124d21becc983e5 (diff) | |
sys/freebsd: remove Linux headers
These are only needed when building Linux ABI support and are not needed
by native FreeBSD system calls. As these files describe the native FreeBSD
ABI remove them.
Diffstat (limited to 'sys/freebsd')
| -rw-r--r-- | sys/freebsd/dev_crypto.txt | 1 | ||||
| -rw-r--r-- | sys/freebsd/socket.txt | 1 | ||||
| -rw-r--r-- | sys/freebsd/socket_inet6.txt | 2 | ||||
| -rw-r--r-- | sys/freebsd/socket_inet_tcp.txt | 1 | ||||
| -rw-r--r-- | sys/freebsd/socket_unix.txt | 2 |
5 files changed, 2 insertions, 5 deletions
diff --git a/sys/freebsd/dev_crypto.txt b/sys/freebsd/dev_crypto.txt index 869784c3c..c28f10646 100644 --- a/sys/freebsd/dev_crypto.txt +++ b/sys/freebsd/dev_crypto.txt @@ -1,6 +1,7 @@ # Copyright 2021 syzkaller project authors. All rights reserved. # Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. +include <sys/malloc.h> include <sys/time.h> include <fcntl.h> include <opencrypto/cryptodev.h> diff --git a/sys/freebsd/socket.txt b/sys/freebsd/socket.txt index 34d1d0ca6..fdaa855e6 100644 --- a/sys/freebsd/socket.txt +++ b/sys/freebsd/socket.txt @@ -7,7 +7,6 @@ include <sys/types.h> include <sys/socket.h> include <sys/sockio.h> include <netinet/in.h> -include <linux/linux.h> resource sock[fd] type sock_port proc[20000, 4, int16be] diff --git a/sys/freebsd/socket_inet6.txt b/sys/freebsd/socket_inet6.txt index ffe6467ac..bbf44bc20 100644 --- a/sys/freebsd/socket_inet6.txt +++ b/sys/freebsd/socket_inet6.txt @@ -7,8 +7,6 @@ include <sys/socket.h> include <netinet/in.h> include <net/route.h> include <netinet6/ip6_mroute.h> -include <linux/linux.h> -include <compat/linux/linux_socket.h> include <sys/sockio.h> # IPv6 sockets diff --git a/sys/freebsd/socket_inet_tcp.txt b/sys/freebsd/socket_inet_tcp.txt index a983f445b..e365f11a4 100644 --- a/sys/freebsd/socket_inet_tcp.txt +++ b/sys/freebsd/socket_inet_tcp.txt @@ -5,6 +5,7 @@ include <sys/types.h> include <sys/ktls.h> +include <sys/malloc.h> include <sys/socket.h> include <sys/time.h> include <netinet/in.h> diff --git a/sys/freebsd/socket_unix.txt b/sys/freebsd/socket_unix.txt index d0a1d3487..84019af07 100644 --- a/sys/freebsd/socket_unix.txt +++ b/sys/freebsd/socket_unix.txt @@ -6,8 +6,6 @@ include <sys/types.h> include <sys/socket.h> include <netinet/in.h> -include <linux/linux.h> -include <compat/linux/linux_socket.h> resource sock_unix[sock] |
