aboutsummaryrefslogtreecommitdiffstats
path: root/build/sysincl
diff options
context:
space:
mode:
authorDevtools Arcadia <arcadia-devtools@yandex-team.ru>2022-02-07 18:08:42 +0300
committerDevtools Arcadia <arcadia-devtools@mous.vla.yp-c.yandex.net>2022-02-07 18:08:42 +0300
commit1110808a9d39d4b808aef724c861a2e1a38d2a69 (patch)
treee26c9fed0de5d9873cce7e00bc214573dc2195b7 /build/sysincl
downloadydb-1110808a9d39d4b808aef724c861a2e1a38d2a69.tar.gz
intermediate changes
ref:cde9a383711a11544ce7e107a78147fb96cc4029
Diffstat (limited to 'build/sysincl')
-rw-r--r--build/sysincl/android.yml31
-rw-r--r--build/sysincl/darwin.yml235
-rw-r--r--build/sysincl/ibdrv.yml12
-rw-r--r--build/sysincl/intrinsic.yml47
-rw-r--r--build/sysincl/libc-musl-libcxx.yml6
-rw-r--r--build/sysincl/libc-to-compat.yml6
-rw-r--r--build/sysincl/libc-to-musl.yml254
-rw-r--r--build/sysincl/libc-to-nothing.yml160
-rw-r--r--build/sysincl/linux-headers.yml1122
-rw-r--r--build/sysincl/linux-musl.yml18
-rw-r--r--build/sysincl/linux-ubuntu-12.yml3
-rw-r--r--build/sysincl/linux.yml54
-rw-r--r--build/sysincl/misc-win.yml66
-rw-r--r--build/sysincl/misc.yml468
-rw-r--r--build/sysincl/nvidia.yml48
-rw-r--r--build/sysincl/python.yml104
-rw-r--r--build/sysincl/stl-to-libcxx.yml157
-rw-r--r--build/sysincl/stl-to-nothing.yml143
-rw-r--r--build/sysincl/swig-to-nothing.yml235
-rw-r--r--build/sysincl/swig.yml292
-rw-r--r--build/sysincl/system-jdk.yml2
-rw-r--r--build/sysincl/unsorted.yml986
-rw-r--r--build/sysincl/valgrind.yml4
-rw-r--r--build/sysincl/windows.yml316
24 files changed, 4769 insertions, 0 deletions
diff --git a/build/sysincl/android.yml b/build/sysincl/android.yml
new file mode 100644
index 0000000000..97cfbf38d2
--- /dev/null
+++ b/build/sysincl/android.yml
@@ -0,0 +1,31 @@
+- includes:
+ - android/asset_manager.h
+ - android/asset_manager_jni.h
+ - android/dlext.h
+ - android/log.h
+ - android/native_window_jni.h
+ - cpu-features.h: contrib/libs/android_cpufeatures/cpu-features.h
+ - ifaddrs.h: contrib/libs/libc_compat/include/ifaddrs/ifaddrs.h
+ - jni.h: contrib/libs/jdk/include/jni.h
+ - vulkan/vulkan.h
+ - vulkan/vk_sdk_platform.h
+ - EGL/egl.h
+ - EGL/eglext.h
+ - GLES2/gl2.h
+ - GLES2/gl2ext.h
+ - GLES3/gl31.h
+ - SLES/OpenSLES.h
+ - SLES/OpenSLES_Android.h
+ - SLES/OpenSLES_AndroidConfiguration.h
+ - SLES/OpenSLES_AndroidMetadata.h
+ - SLES/OpenSLES_Platform.h
+ - linux/ashmem.h
+
+- source_filter: "^contrib/libs/breakpad/src"
+ includes:
+ - elf.h: contrib/libs/breakpad/src/common/android/include/elf.h
+ - link.h: contrib/libs/breakpad/src/common/android/include/link.h
+ - sys/procfs.h: contrib/libs/breakpad/src/common/android/include/sys/procfs.h
+ - sys/signal.h: contrib/libs/breakpad/src/common/android/include/sys/signal.h
+ - sys/user.h: contrib/libs/breakpad/src/common/android/include/sys/user.h
+ - ucontext.h: contrib/libs/breakpad/src/common/android/include/ucontext.h
diff --git a/build/sysincl/darwin.yml b/build/sysincl/darwin.yml
new file mode 100644
index 0000000000..582c7e1202
--- /dev/null
+++ b/build/sysincl/darwin.yml
@@ -0,0 +1,235 @@
+- includes:
+ # These headers actually exist in arcadia, so we either should use them and
+ # add proper PEERDIR, or should #error them if they are not really used:
+ # - bzlib.h
+ # - db.h
+ # - expat.h
+ # - expat_external.h
+ # - libunwind.h
+ # - libxslt/documents.h
+ # - libxslt/extensions.h
+ # - libxslt/transform.h
+ # - libxslt/xsltutils.h
+ # - pcap-bpf.h
+ # - pcap-namedb.h
+ # - pcap.h
+ # - pcap/bpf.h
+ # - pcap/namedb.h
+ # - pcap/pcap.h
+ # - sasl/sasl.h
+ # - sasl/saslutil.h
+ # - uuid/uuid.h
+ # - zconf.h
+
+ - Availability.h
+ - AvailabilityMacros.h
+ - Block.h
+ - CommonCrypto/CommonCrypto.h
+ - CommonCrypto/CommonCryptor.h
+ - CommonCrypto/CommonDigest.h
+ - CommonCrypto/CommonHMAC.h
+ - CommonCrypto/CommonKeyDerivation.h
+ - ConditionalMacros.h
+ - DiskArbitration/DiskArbitration.h
+ - Endian.h
+ - MacTypes.h
+ - TargetConditionals.h
+ - architecture/byte_order.h
+ - asl.h
+ - copyfile.h
+ - crt_externs.h
+ - curses.h
+ - dispatch/dispatch.h
+ - editline/readline.h
+ - ffi/ffi.h
+ - form.h
+ - gssapi.h
+ - gssapi/gssapi.h
+ - gssapi/gssapi_generic.h
+ - gssapi/gssapi_krb5.h
+ - histedit.h
+ - krb5.h
+ - launch.h
+ - libkern/OSAtomic.h
+ - libkern/OSByteOrder.h
+ - libkern/OSCacheControl.h
+ - libproc.h
+ - mach-o/dyld.h
+ - mach-o/getsect.h
+ - mach-o/loader.h
+ - mach/clock.h
+ - mach/clock_types.h
+ - mach/error.h
+ - mach/host_info.h
+ - mach/kern_return.h
+ - mach/mach.h
+ - mach/mach_error.h
+ - mach/mach_host.h
+ - mach/mach_init.h
+ - mach/mach_port.h
+ - mach/mach_time.h
+ - mach/mach_traps.h
+ - mach/mach_types.h
+ - mach/mach_vm.h
+ - mach/machine.h
+ - mach/machine/vm_param.h
+ - mach/processor_info.h
+ - mach/semaphore.h
+ - mach/shared_memory_server.h
+ - mach/shared_region.h
+ - mach/task.h
+ - mach/thread_act.h
+ - mach/thread_info.h
+ - mach/thread_policy.h
+ - mach/vm_map.h
+ - mach/vm_param.h
+ - mach/vm_statistics.h
+ - machine/_limits.h
+ - machine/_types.h
+ - machine/byte_order.h
+ - machine/endian.h
+ - machine/limits.h
+ - machine/param.h
+ - machine/signal.h
+ - machine/vmparam.h
+ - malloc/malloc.h
+ - menu.h
+ - ndbm.h
+ - net/bpf.h
+ - net/if_dl.h
+ - net/if_media.h
+ - net/if_types.h
+ - net/if_var.h
+ - netinet/in_pcb.h
+ - netinet/ip_var.h
+ - netinet/tcp_fsm.h
+ - netinet/tcp_timer.h
+ - netinet/tcp_var.h
+ - netinet/tcpip.h
+ - netinet/udp_var.h
+ - netinet6/in6.h
+ - nlist.h
+ - objc/objc-sync.h
+ - objc/runtime.h
+ - os/lock.h
+ - os/proc.h
+ - os/trace.h
+ - panel.h
+ - pthread_spis.h
+ - readline/history.h
+ - readline/readline.h
+ - readpassphrase.h
+ - runetype.h
+ - simd/simd.h
+ - strhash.h
+ - sys/_types.h
+ - sys/acl.h
+ - sys/aio.h
+ - sys/attr.h
+ - sys/clonefile.h
+ - sys/dirent.h
+ - sys/disk.h
+ - sys/domain.h
+ - sys/event.h
+ - sys/filio.h
+ - sys/ioccom.h
+ - sys/kauth.h
+ - sys/kern_control.h
+ - sys/lock.h
+ - sys/malloc.h
+ - sys/mbuf.h
+ - sys/msgbuf.h
+ - sys/posix_shm.h
+ - sys/proc.h
+ - sys/proc_info.h
+ - sys/protosw.h
+ - sys/sdt.h
+ - sys/sockio.h
+ - sys/sys_domain.h
+ - sys/syslimits.h
+ - sys/ttycom.h
+ - sys/ucred.h
+ - sys/unpcb.h
+ - sys/vmmeter.h
+ - sys/vnode.h
+ - tcl.h
+ - term.h
+ - termcap.h
+ - timeconv.h
+ - tzfile.h
+ - util.h
+ - vis.h
+ - xpc/xpc.h
+
+ # OSX frameworks
+ - Accelerate/Accelerate.h
+ - AppKit/AppKit.h
+ - AppKit/NSView.h
+ - ApplicationServices/ApplicationServices.h
+ - AudioToolbox/AudioToolbox.h
+ - AVFoundation/AVFoundation.h
+ - CFNetwork/CFNetwork.h
+ - Cocoa/Cocoa.h
+ - CoreFoundation/CFBase.h
+ - CoreFoundation/CFBundle.h
+ - CoreFoundation/CFData.h
+ - CoreFoundation/CFDictionary.h
+ - CoreFoundation/CFLocale.h
+ - CoreFoundation/CFNumber.h
+ - CoreFoundation/CFPreferences.h
+ - CoreFoundation/CFRunLoop.h
+ - CoreFoundation/CFString.h
+ - CoreFoundation/CFTimeZone.h
+ - CoreFoundation/CFUUID.h
+ - CoreFoundation/CoreFoundation.h
+ - CoreGraphics/CoreGraphics.h
+ - CoreLocation/CoreLocation.h
+ - CoreMedia/CoreMedia.h
+ - CoreMotion/CoreMotion.h
+ - CoreServices/CoreServices.h
+ - CoreTelephony/CTCarrier.h
+ - CoreTelephony/CTTelephonyNetworkInfo.h
+ - CoreText/CoreText.h
+ - CoreVideo/CoreVideo.h
+ - Foundation/Foundation.h
+ - Foundation/NSException.h
+ - Foundation/NSString.h
+ - Foundation/NSKeyValueObserving.h
+ - Foundation/NSObject.h
+ - GLKit/GLKit.h
+ - IOKit/IOBSD.h
+ - IOKit/IOKitLib.h
+ - IOKit/kext/KextManager.h
+ - IOKit/ps/IOPSKeys.h
+ - IOKit/ps/IOPSKeys.h
+ - IOKit/ps/IOPowerSources.h
+ - IOKit/ps/IOPowerSources.h
+ - IOKit/ps/IOPowerSources.h
+ - IOKit/storage/IOBlockStorageDriver.h
+ - IOKit/storage/IOMedia.h
+ - IOSurface/IOSurfaceRef.h
+ - Metal/Metal.h
+ - metal_stdlib
+ - OpenCL/cl.h
+ - OpenCL/cl_gl.h
+ - OpenCL/opencl.h
+ - OpenGLES/ES2/gl.h
+ - Speech/Speech.h
+ - QuartzCore/QuartzCore.h
+ - QuartzCore/CAEAGLLayer.h
+ - QuartzCore/CAMetalLayer.h
+ - Security/SecCertificate.h
+ - Security/SecKey.h
+ - Security/SecRandom.h
+ - Security/SecureTransport.h
+ - Security/Security.h
+ - SystemConfiguration/SystemConfiguration.h
+ - UIKit/UIImage.h
+ - UIKit/UIKit.h
+ - UIKit/UIScreen.h
+ - UIKit/UIWebView.h
+ - UIKit/UIView.h
+ - VideoDecodeAcceleration/VDADecoder.h
+ - VideoToolbox/VideoToolbox.h
+ - XCTest/XCTest.h
+ - CoreFoundation/CFByteOrder.h
diff --git a/build/sysincl/ibdrv.yml b/build/sysincl/ibdrv.yml
new file mode 100644
index 0000000000..5cf2c36078
--- /dev/null
+++ b/build/sysincl/ibdrv.yml
@@ -0,0 +1,12 @@
+# This file is conditionally included from ymake.core.conf to ensure
+# that contrib/libs/ibdrv/include/{infiniband/verbs.h,rdma/rdma_cma.h}
+# are the only ibdrv headers needed for opensource catboost
+# (transitively from library/cpp/netliba). They are replaced by empty
+# files in put_arcadia_to_git.sh.
+
+- source_filter: "^contrib/libs/ibdrv"
+ includes:
+ - infiniband/sa.h
+ - infiniband/verbs.h
+ - infiniband/verbs_api.h
+ - rdma/rdma_cma.h
diff --git a/build/sysincl/intrinsic.yml b/build/sysincl/intrinsic.yml
new file mode 100644
index 0000000000..9355b61c13
--- /dev/null
+++ b/build/sysincl/intrinsic.yml
@@ -0,0 +1,47 @@
+- includes:
+ - Intrin.h
+ - ammintrin.h
+ - arm_acle.h
+ - arm_neon.h
+ - arm64_neon.h
+ - armintr.h
+ - avx2intrin.h
+ - avxintrin.h
+ - bmi2intrin.h
+ - bmiintrin.h
+ - cmnintrin.h
+ - e2kbuiltin.h
+ - emmintrin.h
+ - f16cintrin.h
+ - fma4intrin.h
+ - fmaintrin.h
+ - ia32intrin.h
+ - ia64intrin.h
+ - immintrin.h
+ - intrin.h
+ - intrinsics.h
+ - lzcntintrin.h
+ - mm3dnow.h
+ - mmintrin.h
+ - msa.h
+ - nmmintrin.h
+ - pmmintrin.h
+ - popcntintrin.h
+ - prfchwintrin.h
+ - rdseedintrin.h
+ - rtmintrin.h
+ - s390intrin.h
+ - sanitizer/asan_interface.h
+ - sanitizer/common_interface_defs.h
+ - sanitizer/coverage_interface.h
+ - sanitizer/lsan_interface.h
+ - sanitizer/msan_interface.h
+ - sanitizer/tsan_interface.h
+ - sanitizer/tsan_interface_atomic.h
+ - smmintrin.h
+ - tbmintrin.h
+ - tmmintrin.h
+ - wmmintrin.h
+ - x86intrin.h
+ - xmmintrin.h
+ - xopintrin.h
diff --git a/build/sysincl/libc-musl-libcxx.yml b/build/sysincl/libc-musl-libcxx.yml
new file mode 100644
index 0000000000..539ce8e9aa
--- /dev/null
+++ b/build/sysincl/libc-musl-libcxx.yml
@@ -0,0 +1,6 @@
+- source_filter: "^contrib/libs/musl"
+ includes:
+ - inttypes.h: contrib/libs/cxxsupp/libcxx/include/inttypes.h
+ - string.h: contrib/libs/cxxsupp/libcxx/include/string.h
+ - stddef.h: contrib/libs/cxxsupp/libcxx/include/stddef.h
+ - stdint.h: contrib/libs/cxxsupp/libcxx/include/stdint.h
diff --git a/build/sysincl/libc-to-compat.yml b/build/sysincl/libc-to-compat.yml
new file mode 100644
index 0000000000..02bd7508dc
--- /dev/null
+++ b/build/sysincl/libc-to-compat.yml
@@ -0,0 +1,6 @@
+# We want musl to resolve itself without these sysincls, but its test must have them
+- source_filter: "^(?!contrib/libs/musl).*|^contrib/libs/musl/tests"
+ includes:
+ # sys/random.h was added in glibc=2.25 / Ubuntu 16.04
+ - sys/random.h: "contrib/libs/libc_compat/include/random/sys/random.h"
+ - readpassphrase.h: "contrib/libs/libc_compat/include/readpassphrase/readpassphrase.h"
diff --git a/build/sysincl/libc-to-musl.yml b/build/sysincl/libc-to-musl.yml
new file mode 100644
index 0000000000..810dd8d697
--- /dev/null
+++ b/build/sysincl/libc-to-musl.yml
@@ -0,0 +1,254 @@
+# libc & stl common headers should be resolved to either
+# * system libc (e.g. nothing in our repo)
+# * system libc++ (e.g. nothing in our repo)
+# * libcxx
+# * musl
+# or some combination of them depending on the build flags.
+
+# Musl has some internal header replacements. We will just resolve to both.
+- source_filter: "^(contrib/libs/musl|contrib/libs/cxxsupp/libcxx/include/__config)"
+ includes:
+ - arpa/inet.h:
+ - contrib/libs/musl/include/arpa/inet.h
+ - contrib/libs/musl/src/include/arpa/inet.h
+ - crypt.h:
+ - contrib/libs/musl/include/crypt.h
+ - contrib/libs/musl/src/include/crypt.h
+ - errno.h:
+ - contrib/libs/musl/include/errno.h
+ - contrib/libs/musl/src/include/errno.h
+ - features.h:
+ - contrib/libs/musl/include/features.h
+ - contrib/libs/musl/src/include/features.h
+ - langinfo.h:
+ - contrib/libs/musl/include/langinfo.h
+ - contrib/libs/musl/src/include/langinfo.h
+ - pthread.h:
+ - contrib/libs/musl/include/pthread.h
+ - contrib/libs/musl/src/include/pthread.h
+ - resolv.h:
+ - contrib/libs/musl/include/resolv.h
+ - contrib/libs/musl/src/include/resolv.h
+ - signal.h:
+ - contrib/libs/musl/include/signal.h
+ - contrib/libs/musl/src/include/signal.h
+ - stdio.h:
+ - contrib/libs/musl/include/stdio.h
+ - contrib/libs/musl/src/include/stdio.h
+ - stdlib.h:
+ - contrib/libs/musl/include/stdlib.h
+ - contrib/libs/musl/src/include/stdlib.h
+ - string.h:
+ - contrib/libs/musl/include/string.h
+ - contrib/libs/musl/src/include/string.h
+ - sys/auxv.h:
+ - contrib/libs/musl/include/sys/auxv.h
+ - contrib/libs/musl/src/include/sys/auxv.h
+ - sys/membarrier.h:
+ - contrib/libs/musl/include/sys/membarrier.h
+ - contrib/libs/musl/src/include/sys/membarrier.h
+ - sys/mman.h:
+ - contrib/libs/musl/include/sys/mman.h
+ - contrib/libs/musl/src/include/sys/mman.h
+ - sys/sysinfo.h:
+ - contrib/libs/musl/include/sys/sysinfo.h
+ - contrib/libs/musl/src/include/sys/sysinfo.h
+ - sys/time.h:
+ - contrib/libs/musl/include/sys/time.h
+ - contrib/libs/musl/src/include/sys/time.h
+ - time.h:
+ - contrib/libs/musl/include/time.h
+ - contrib/libs/musl/src/include/time.h
+ - unistd.h:
+ - contrib/libs/musl/include/unistd.h
+ - contrib/libs/musl/src/include/unistd.h
+ - wchar.h:
+ - contrib/libs/musl/include/wchar.h
+ - contrib/libs/musl/src/include/wchar.h
+
+ - inttypes.h: contrib/libs/musl/include/inttypes.h
+ - stddef.h: contrib/libs/musl/include/stddef.h
+ - stdint.h: contrib/libs/musl/include/stdint.h
+
+
+# We want musl to resolve itself without these sysincls, but its test must have them
+- source_filter: "^(?!contrib/libs/musl)|^contrib/libs/musl/tests"
+ includes:
+ # libc & stl common headers
+ - complex.h: contrib/libs/musl/include/complex.h
+ - ctype.h: contrib/libs/musl/include/ctype.h
+ - errno.h: contrib/libs/musl/include/errno.h
+ - float.h: contrib/libs/musl/include/float.h
+ - inttypes.h: contrib/libs/musl/include/inttypes.h
+ - limits.h: contrib/libs/musl/include/limits.h
+ - locale.h: contrib/libs/musl/include/locale.h
+ - math.h: contrib/libs/musl/include/math.h
+ - setjmp.h: contrib/libs/musl/include/setjmp.h
+ - stdbool.h: contrib/libs/musl/include/stdbool.h
+ - stddef.h: contrib/libs/musl/include/stddef.h
+ - stdint.h: contrib/libs/musl/include/stdint.h
+ - stdio.h: contrib/libs/musl/include/stdio.h
+ - stdlib.h: contrib/libs/musl/include/stdlib.h
+ - string.h: contrib/libs/musl/include/string.h
+ - tgmath.h: contrib/libs/musl/include/tgmath.h
+ - threads.h: contrib/libs/musl/include/threads.h
+ - wchar.h: contrib/libs/musl/include/wchar.h
+ - wctype.h: contrib/libs/musl/include/wctype.h
+
+ # Rest of libc headers
+ - aio.h: contrib/libs/musl/include/aio.h
+ - alloca.h: contrib/libs/musl/include/alloca.h
+ - ar.h: contrib/libs/musl/include/ar.h
+ - arpa/inet.h: contrib/libs/musl/include/arpa/inet.h
+ - arpa/nameser_compat.h: contrib/libs/musl/include/arpa/nameser_compat.h
+ - arpa/nameser.h: contrib/libs/musl/include/arpa/nameser.h
+ - arpa/telnet.h: contrib/libs/musl/include/arpa/telnet.h
+ - arpa/tftp.h: contrib/libs/musl/include/arpa/tftp.h
+ - assert.h: contrib/libs/musl/include/assert.h
+ - byteswap.h: contrib/libs/musl/include/byteswap.h
+ - cpio.h: contrib/libs/musl/include/cpio.h
+ - crypt.h: contrib/libs/musl/include/crypt.h
+ - dirent.h: contrib/libs/musl/include/dirent.h
+ - dlfcn.h: contrib/libs/musl/include/dlfcn.h
+ - elf.h: contrib/libs/musl/include/elf.h
+ - endian.h: contrib/libs/musl/include/endian.h
+ - err.h: contrib/libs/musl/include/err.h
+ - fcntl.h: contrib/libs/musl/include/fcntl.h
+ - features.h: contrib/libs/musl/include/features.h
+ - fenv.h: contrib/libs/musl/include/fenv.h
+ - fmtmsg.h: contrib/libs/musl/include/fmtmsg.h
+ - fnmatch.h: contrib/libs/musl/include/fnmatch.h
+ - ftw.h: contrib/libs/musl/include/ftw.h
+ - getopt.h: contrib/libs/musl/include/getopt.h
+ - glob.h: contrib/libs/musl/include/glob.h
+ - grp.h: contrib/libs/musl/include/grp.h
+ - iconv.h: contrib/libs/musl/include/iconv.h
+ - ifaddrs.h: contrib/libs/musl/include/ifaddrs.h
+ - iso646.h: contrib/libs/musl/include/iso646.h
+ - langinfo.h: contrib/libs/musl/include/langinfo.h
+ - lastlog.h: contrib/libs/musl/include/lastlog.h
+ - libgen.h: contrib/libs/musl/include/libgen.h
+ - libintl.h: contrib/libs/musl/include/libintl.h
+ - link.h: contrib/libs/musl/include/link.h
+ - malloc.h: contrib/libs/musl/include/malloc.h
+ - memory.h: contrib/libs/musl/include/memory.h
+ - mntent.h: contrib/libs/musl/include/mntent.h
+ - monetary.h: contrib/libs/musl/include/monetary.h
+ - mqueue.h: contrib/libs/musl/include/mqueue.h
+ - netdb.h: contrib/libs/musl/include/netdb.h
+ - net/ethernet.h: contrib/libs/musl/include/net/ethernet.h
+ - net/if_arp.h: contrib/libs/musl/include/net/if_arp.h
+ - net/if.h: contrib/libs/musl/include/net/if.h
+ - netinet/ether.h: contrib/libs/musl/include/netinet/ether.h
+ - netinet/icmp6.h: contrib/libs/musl/include/netinet/icmp6.h
+ - netinet/if_ether.h: contrib/libs/musl/include/netinet/if_ether.h
+ - netinet/igmp.h: contrib/libs/musl/include/netinet/igmp.h
+ - netinet/in.h: contrib/libs/musl/include/netinet/in.h
+ - netinet/in_systm.h: contrib/libs/musl/include/netinet/in_systm.h
+ - netinet/ip6.h: contrib/libs/musl/include/netinet/ip6.h
+ - netinet/ip.h: contrib/libs/musl/include/netinet/ip.h
+ - netinet/ip_icmp.h: contrib/libs/musl/include/netinet/ip_icmp.h
+ - netinet/tcp.h: contrib/libs/musl/include/netinet/tcp.h
+ - netinet/udp.h: contrib/libs/musl/include/netinet/udp.h
+ - netpacket/packet.h: contrib/libs/musl/include/netpacket/packet.h
+ - net/route.h: contrib/libs/musl/include/net/route.h
+ - nl_types.h: contrib/libs/musl/include/nl_types.h
+ - paths.h: contrib/libs/musl/include/paths.h
+ - poll.h: contrib/libs/musl/include/poll.h
+ - pthread.h: contrib/libs/musl/include/pthread.h
+ - pty.h: contrib/libs/musl/include/pty.h
+ - pwd.h: contrib/libs/musl/include/pwd.h
+ - regex.h: contrib/libs/musl/include/regex.h
+ - resolv.h: contrib/libs/musl/include/resolv.h
+ - sched.h: contrib/libs/musl/include/sched.h
+ - scsi/scsi.h: contrib/libs/musl/include/scsi/scsi.h
+ - search.h: contrib/libs/musl/include/search.h
+ - semaphore.h: contrib/libs/musl/include/semaphore.h
+ - shadow.h: contrib/libs/musl/include/shadow.h
+ - signal.h: contrib/libs/musl/include/signal.h
+ - spawn.h: contrib/libs/musl/include/spawn.h
+ - stdalign.h: contrib/libs/musl/include/stdalign.h
+ - stdarg.h: contrib/libs/musl/include/stdarg.h
+ - stdio_ext.h: contrib/libs/musl/include/stdio_ext.h
+ - stdnoreturn.h: contrib/libs/musl/include/stdnoreturn.h
+ - strings.h: contrib/libs/musl/include/strings.h
+ - stropts.h: contrib/libs/musl/include/stropts.h
+ - sys/acct.h: contrib/libs/musl/include/sys/acct.h
+ - sys/auxv.h: contrib/libs/musl/include/sys/auxv.h
+ - sys/cachectl.h: contrib/libs/musl/include/sys/cachectl.h
+ - syscall.h: contrib/libs/musl/include/syscall.h
+ - sys/dir.h: contrib/libs/musl/include/sys/dir.h
+ - sys/epoll.h: contrib/libs/musl/include/sys/epoll.h
+ - sys/errno.h: contrib/libs/musl/include/sys/errno.h
+ - sys/eventfd.h: contrib/libs/musl/include/sys/eventfd.h
+ - sysexits.h: contrib/libs/musl/include/sysexits.h
+ - sys/fcntl.h: contrib/libs/musl/include/sys/fcntl.h
+ - sys/file.h: contrib/libs/musl/include/sys/file.h
+ - sys/fsuid.h: contrib/libs/musl/include/sys/fsuid.h
+ - sys/inotify.h: contrib/libs/musl/include/sys/inotify.h
+ - sys/ioctl.h: contrib/libs/musl/include/sys/ioctl.h
+ - sys/io.h: contrib/libs/musl/include/sys/io.h
+ - sys/ipc.h: contrib/libs/musl/include/sys/ipc.h
+ - sys/kd.h: contrib/libs/musl/include/sys/kd.h
+ - syslog.h: contrib/libs/musl/include/syslog.h
+ - sys/mman.h: contrib/libs/musl/include/sys/mman.h
+ - sys/mount.h: contrib/libs/musl/include/sys/mount.h
+ - sys/msg.h: contrib/libs/musl/include/sys/msg.h
+ - sys/mtio.h: contrib/libs/musl/include/sys/mtio.h
+ - sys/param.h: contrib/libs/musl/include/sys/param.h
+ - sys/personality.h: contrib/libs/musl/include/sys/personality.h
+ - sys/poll.h: contrib/libs/musl/include/sys/poll.h
+ - sys/prctl.h: contrib/libs/musl/include/sys/prctl.h
+ - sys/procfs.h: contrib/libs/musl/include/sys/procfs.h
+ - sys/ptrace.h: contrib/libs/musl/include/sys/ptrace.h
+ - sys/quota.h: contrib/libs/musl/include/sys/quota.h
+ - sys/random.h: contrib/libs/musl/include/sys/random.h
+ - sys/reboot.h: contrib/libs/musl/include/sys/reboot.h
+ - sys/resource.h: contrib/libs/musl/include/sys/resource.h
+ - sys/select.h: contrib/libs/musl/include/sys/select.h
+ - sys/sem.h: contrib/libs/musl/include/sys/sem.h
+ - sys/sendfile.h: contrib/libs/musl/include/sys/sendfile.h
+ - sys/shm.h: contrib/libs/musl/include/sys/shm.h
+ - sys/signalfd.h: contrib/libs/musl/include/sys/signalfd.h
+ - sys/signal.h: contrib/libs/musl/include/sys/signal.h
+ - sys/socket.h: contrib/libs/musl/include/sys/socket.h
+ - sys/soundcard.h: contrib/libs/musl/include/sys/soundcard.h
+ - sys/statfs.h: contrib/libs/musl/include/sys/statfs.h
+ - sys/stat.h: contrib/libs/musl/include/sys/stat.h
+ - sys/statvfs.h: contrib/libs/musl/include/sys/statvfs.h
+ - sys/stropts.h: contrib/libs/musl/include/sys/stropts.h
+ - sys/syscall.h: contrib/libs/musl/include/sys/syscall.h
+ - sys/sysinfo.h: contrib/libs/musl/include/sys/sysinfo.h
+ - sys/syslog.h: contrib/libs/musl/include/sys/syslog.h
+ - sys/sysmacros.h: contrib/libs/musl/include/sys/sysmacros.h
+ - sys/termios.h: contrib/libs/musl/include/sys/termios.h
+ - sys/timeb.h: contrib/libs/musl/include/sys/timeb.h
+ - sys/time.h: contrib/libs/musl/include/sys/time.h
+ - sys/timerfd.h: contrib/libs/musl/include/sys/timerfd.h
+ - sys/times.h: contrib/libs/musl/include/sys/times.h
+ - sys/timex.h: contrib/libs/musl/include/sys/timex.h
+ - sys/ttydefaults.h: contrib/libs/musl/include/sys/ttydefaults.h
+ - sys/types.h: contrib/libs/musl/include/sys/types.h
+ - sys/ucontext.h: contrib/libs/musl/include/sys/ucontext.h
+ - sys/uio.h: contrib/libs/musl/include/sys/uio.h
+ - sys/un.h: contrib/libs/musl/include/sys/un.h
+ - sys/user.h: contrib/libs/musl/include/sys/user.h
+ - sys/utsname.h: contrib/libs/musl/include/sys/utsname.h
+ - sys/vfs.h: contrib/libs/musl/include/sys/vfs.h
+ - sys/vt.h: contrib/libs/musl/include/sys/vt.h
+ - sys/wait.h: contrib/libs/musl/include/sys/wait.h
+ - sys/xattr.h: contrib/libs/musl/include/sys/xattr.h
+ - tar.h: contrib/libs/musl/include/tar.h
+ - termios.h: contrib/libs/musl/include/termios.h
+ - threads.h: contrib/libs/musl/include/threads.h
+ - time.h: contrib/libs/musl/include/time.h
+ - uchar.h: contrib/libs/musl/include/uchar.h
+ - ucontext.h: contrib/libs/musl/include/ucontext.h
+ - ulimit.h: contrib/libs/musl/include/ulimit.h
+ - unistd.h: contrib/libs/musl/include/unistd.h
+ - utime.h: contrib/libs/musl/include/utime.h
+ - utmp.h: contrib/libs/musl/include/utmp.h
+ - utmpx.h: contrib/libs/musl/include/utmpx.h
+ - values.h: contrib/libs/musl/include/values.h
+ - wait.h: contrib/libs/musl/include/wait.h
+ - wordexp.h: contrib/libs/musl/include/wordexp.h
diff --git a/build/sysincl/libc-to-nothing.yml b/build/sysincl/libc-to-nothing.yml
new file mode 100644
index 0000000000..15a413cdbd
--- /dev/null
+++ b/build/sysincl/libc-to-nothing.yml
@@ -0,0 +1,160 @@
+# We want musl to resolve itself without these sysincls, but its test must have them
+- source_filter: "^(?!contrib/libs/musl).*|^contrib/libs/musl/tests"
+ includes:
+ - aio.h
+ - alloca.h
+ - ar.h
+ - arpa/inet.h
+ - arpa/nameser_compat.h
+ - arpa/nameser.h
+ - arpa/telnet.h
+ - arpa/tftp.h
+ - assert.h
+ - byteswap.h
+ - cpio.h
+ - crypt.h
+ - dirent.h
+ - dlfcn.h
+ - elf.h
+ - endian.h
+ - err.h
+ - fcntl.h
+ - features.h
+ - fenv.h
+ - fmtmsg.h
+ - fnmatch.h
+ - ftw.h
+ - getopt.h
+ - glob.h
+ - grp.h
+ - iconv.h
+ - ifaddrs.h
+ - iso646.h
+ - langinfo.h
+ - lastlog.h
+ - libgen.h
+ - libintl.h
+ - link.h
+ - malloc.h
+ - memory.h
+ - mntent.h
+ - monetary.h
+ - mqueue.h
+ - netdb.h
+ - net/ethernet.h
+ - net/if_arp.h
+ - net/if_ppp.h
+ - net/if.h
+ - netinet/ether.h
+ - netinet/icmp6.h
+ - netinet/if_ether.h
+ - netinet/igmp.h
+ - netinet/in.h
+ - netinet/in_systm.h
+ - netinet/ip6.h
+ - netinet/ip.h
+ - netinet/ip_icmp.h
+ - netinet/tcp.h
+ - netinet/udp.h
+ - netpacket/packet.h
+ - netrom/netrom.h
+ - net/route.h
+ - nl_types.h
+ - paths.h
+ - poll.h
+ - pthread.h
+ - pty.h
+ - pwd.h
+ - regex.h
+ - resolv.h
+ - sched.h
+ - scsi/scsi.h
+ - search.h
+ - semaphore.h
+ - shadow.h
+ - signal.h
+ - spawn.h
+ - stdalign.h
+ - stdarg.h
+ - stdio_ext.h
+ - stdnoreturn.h
+ - strings.h
+ - stropts.h
+ - sys/acct.h
+ - sys/auxv.h
+ - sys/cachectl.h
+ - syscall.h
+ - sys/dir.h
+ - sys/epoll.h
+ - sys/errno.h
+ - sys/eventfd.h
+ - sysexits.h
+ - sys/fcntl.h
+ - sys/file.h
+ - sys/fsuid.h
+ - sys/inotify.h
+ - sys/ioctl.h
+ - sys/io.h
+ - sys/ipc.h
+ - sys/kd.h
+ - syslog.h
+ - sys/mman.h
+ - sys/mount.h
+ - sys/msg.h
+ - sys/mtio.h
+ - sys/param.h
+ - sys/personality.h
+ - sys/poll.h
+ - sys/prctl.h
+ - sys/procfs.h
+ - sys/ptrace.h
+ - sys/quota.h
+ - sys/reboot.h
+ - sys/resource.h
+ - sys/select.h
+ - sys/sem.h
+ - sys/sendfile.h
+ - sys/shm.h
+ - sys/signalfd.h
+ - sys/signal.h
+ - sys/socket.h
+ - sys/soundcard.h
+ - sys/statfs.h
+ - sys/stat.h
+ - sys/statvfs.h
+ - sys/stropts.h
+ - sys/syscall.h
+ - sys/sysinfo.h
+ - sys/syslog.h
+ - sys/sysmacros.h
+ - sys/termios.h
+ - sys/timeb.h
+ - sys/time.h
+ - sys/timerfd.h
+ - sys/times.h
+ - sys/timex.h
+ - sys/ttydefaults.h
+ - sys/types.h
+ - sys/ucontext.h
+ - sys/uio.h
+ - sys/un.h
+ - sys/user.h
+ - sys/utsname.h
+ - sys/vfs.h
+ - sys/vt.h
+ - sys/wait.h
+ - sys/xattr.h
+ - tar.h
+ - termios.h
+ - threads.h
+ - time.h
+ - uchar.h
+ - ucontext.h
+ - ulimit.h
+ - unistd.h
+ - utime.h
+ - utmp.h
+ - utmpx.h
+ - values.h
+ - wait.h
+ - wordexp.h
diff --git a/build/sysincl/linux-headers.yml b/build/sysincl/linux-headers.yml
new file mode 100644
index 0000000000..2b1d548175
--- /dev/null
+++ b/build/sysincl/linux-headers.yml
@@ -0,0 +1,1122 @@
+# Generated by devtools/yamaker.
+- includes:
+ - asm-generic/auxvec.h
+ - asm-generic/bitsperlong.h
+ - asm-generic/bpf_perf_event.h
+ - asm-generic/errno-base.h
+ - asm-generic/errno.h
+ - asm-generic/fcntl.h
+ - asm-generic/hugetlb_encode.h
+ - asm-generic/int-l64.h
+ - asm-generic/int-ll64.h
+ - asm-generic/ioctl.h
+ - asm-generic/ioctls.h
+ - asm-generic/ipcbuf.h
+ - asm-generic/kvm_para.h
+ - asm-generic/mman-common.h
+ - asm-generic/mman.h
+ - asm-generic/msgbuf.h
+ - asm-generic/param.h
+ - asm-generic/poll.h
+ - asm-generic/posix_types.h
+ - asm-generic/resource.h
+ - asm-generic/sembuf.h
+ - asm-generic/setup.h
+ - asm-generic/shmbuf.h
+ - asm-generic/siginfo.h
+ - asm-generic/signal-defs.h
+ - asm-generic/signal.h
+ - asm-generic/socket.h
+ - asm-generic/sockios.h
+ - asm-generic/stat.h
+ - asm-generic/statfs.h
+ - asm-generic/swab.h
+ - asm-generic/termbits.h
+ - asm-generic/termios.h
+ - asm-generic/types.h
+ - asm-generic/ucontext.h
+ - asm-generic/unistd.h
+ - asm/a.out.h
+ - asm/a.out_x86.h
+ - asm/auxvec.h
+ - asm/auxvec_arm.h
+ - asm/auxvec_arm64.h
+ - asm/auxvec_powerpc.h
+ - asm/auxvec_x86.h
+ - asm/bitsperlong.h
+ - asm/bitsperlong_arm.h
+ - asm/bitsperlong_arm64.h
+ - asm/bitsperlong_powerpc.h
+ - asm/bitsperlong_x86.h
+ - asm/boot.h
+ - asm/boot_x86.h
+ - asm/bootparam.h
+ - asm/bootparam_x86.h
+ - asm/bootx.h
+ - asm/bootx_powerpc.h
+ - asm/bpf_perf_event.h
+ - asm/bpf_perf_event_arm.h
+ - asm/bpf_perf_event_arm64.h
+ - asm/bpf_perf_event_powerpc.h
+ - asm/bpf_perf_event_x86.h
+ - asm/byteorder.h
+ - asm/byteorder_arm.h
+ - asm/byteorder_arm64.h
+ - asm/byteorder_powerpc.h
+ - asm/byteorder_x86.h
+ - asm/cputable.h
+ - asm/cputable_powerpc.h
+ - asm/debugreg.h
+ - asm/debugreg_x86.h
+ - asm/e820.h
+ - asm/e820_x86.h
+ - asm/eeh.h
+ - asm/eeh_powerpc.h
+ - asm/elf.h
+ - asm/elf_powerpc.h
+ - asm/epapr_hcalls.h
+ - asm/epapr_hcalls_powerpc.h
+ - asm/errno.h
+ - asm/errno_arm.h
+ - asm/errno_arm64.h
+ - asm/errno_powerpc.h
+ - asm/errno_x86.h
+ - asm/fcntl.h
+ - asm/fcntl_arm.h
+ - asm/fcntl_arm64.h
+ - asm/fcntl_powerpc.h
+ - asm/fcntl_x86.h
+ - asm/hw_breakpoint.h
+ - asm/hw_breakpoint_x86.h
+ - asm/hwcap.h
+ - asm/hwcap2.h
+ - asm/hwcap2_x86.h
+ - asm/hwcap_arm.h
+ - asm/hwcap_arm64.h
+ - asm/ioctl.h
+ - asm/ioctl_arm.h
+ - asm/ioctl_arm64.h
+ - asm/ioctl_powerpc.h
+ - asm/ioctl_x86.h
+ - asm/ioctls.h
+ - asm/ioctls_arm.h
+ - asm/ioctls_arm64.h
+ - asm/ioctls_powerpc.h
+ - asm/ioctls_x86.h
+ - asm/ipcbuf.h
+ - asm/ipcbuf_arm.h
+ - asm/ipcbuf_arm64.h
+ - asm/ipcbuf_powerpc.h
+ - asm/ipcbuf_x86.h
+ - asm/ist.h
+ - asm/ist_x86.h
+ - asm/kvm.h
+ - asm/kvm_arm64.h
+ - asm/kvm_para.h
+ - asm/kvm_para_arm.h
+ - asm/kvm_para_arm64.h
+ - asm/kvm_para_powerpc.h
+ - asm/kvm_para_x86.h
+ - asm/kvm_perf.h
+ - asm/kvm_perf_x86.h
+ - asm/kvm_powerpc.h
+ - asm/kvm_x86.h
+ - asm/ldt.h
+ - asm/ldt_x86.h
+ - asm/mce.h
+ - asm/mce_x86.h
+ - asm/mman.h
+ - asm/mman_arm.h
+ - asm/mman_arm64.h
+ - asm/mman_powerpc.h
+ - asm/mman_x86.h
+ - asm/msgbuf.h
+ - asm/msgbuf_arm.h
+ - asm/msgbuf_arm64.h
+ - asm/msgbuf_powerpc.h
+ - asm/msgbuf_x86.h
+ - asm/msr.h
+ - asm/msr_x86.h
+ - asm/mtrr.h
+ - asm/mtrr_x86.h
+ - asm/nvram.h
+ - asm/nvram_powerpc.h
+ - asm/opal-prd.h
+ - asm/opal-prd_powerpc.h
+ - asm/param.h
+ - asm/param_arm.h
+ - asm/param_arm64.h
+ - asm/param_powerpc.h
+ - asm/param_x86.h
+ - asm/perf_event.h
+ - asm/perf_event_powerpc.h
+ - asm/perf_regs.h
+ - asm/perf_regs_arm.h
+ - asm/perf_regs_arm64.h
+ - asm/perf_regs_powerpc.h
+ - asm/perf_regs_x86.h
+ - asm/poll.h
+ - asm/posix_types.h
+ - asm/posix_types_32.h
+ - asm/posix_types_32_x86.h
+ - asm/posix_types_64.h
+ - asm/posix_types_64_x86.h
+ - asm/posix_types_arm.h
+ - asm/posix_types_arm64.h
+ - asm/posix_types_powerpc.h
+ - asm/posix_types_x32.h
+ - asm/posix_types_x32_x86.h
+ - asm/posix_types_x86.h
+ - asm/prctl.h
+ - asm/prctl_x86.h
+ - asm/processor-flags.h
+ - asm/processor-flags_x86.h
+ - asm/ps3fb.h
+ - asm/ps3fb_powerpc.h
+ - asm/ptrace-abi.h
+ - asm/ptrace-abi_x86.h
+ - asm/ptrace.h
+ - asm/ptrace_arm.h
+ - asm/ptrace_arm64.h
+ - asm/ptrace_powerpc.h
+ - asm/ptrace_x86.h
+ - asm/resource.h
+ - asm/sembuf.h
+ - asm/sembuf_arm.h
+ - asm/sembuf_arm64.h
+ - asm/sembuf_powerpc.h
+ - asm/sembuf_x86.h
+ - asm/setup.h
+ - asm/setup_arm.h
+ - asm/setup_arm64.h
+ - asm/setup_powerpc.h
+ - asm/setup_x86.h
+ - asm/shmbuf.h
+ - asm/shmbuf_arm.h
+ - asm/shmbuf_arm64.h
+ - asm/shmbuf_powerpc.h
+ - asm/shmbuf_x86.h
+ - asm/sigcontext.h
+ - asm/sigcontext32.h
+ - asm/sigcontext32_x86.h
+ - asm/sigcontext_arm.h
+ - asm/sigcontext_arm64.h
+ - asm/sigcontext_powerpc.h
+ - asm/sigcontext_x86.h
+ - asm/siginfo.h
+ - asm/siginfo_arm.h
+ - asm/siginfo_arm64.h
+ - asm/siginfo_powerpc.h
+ - asm/siginfo_x86.h
+ - asm/signal.h
+ - asm/signal_arm.h
+ - asm/signal_arm64.h
+ - asm/signal_powerpc.h
+ - asm/signal_x86.h
+ - asm/socket.h
+ - asm/socket_arm.h
+ - asm/socket_arm64.h
+ - asm/socket_powerpc.h
+ - asm/socket_x86.h
+ - asm/sockios.h
+ - asm/spu_info.h
+ - asm/spu_info_powerpc.h
+ - asm/stat.h
+ - asm/stat_arm.h
+ - asm/stat_arm64.h
+ - asm/stat_powerpc.h
+ - asm/stat_x86.h
+ - asm/statfs.h
+ - asm/statfs_arm.h
+ - asm/statfs_arm64.h
+ - asm/statfs_powerpc.h
+ - asm/statfs_x86.h
+ - asm/sve_context.h
+ - asm/sve_context_arm64.h
+ - asm/svm.h
+ - asm/svm_x86.h
+ - asm/swab.h
+ - asm/swab_arm.h
+ - asm/swab_arm64.h
+ - asm/swab_powerpc.h
+ - asm/swab_x86.h
+ - asm/termbits.h
+ - asm/termbits_arm.h
+ - asm/termbits_arm64.h
+ - asm/termbits_powerpc.h
+ - asm/termbits_x86.h
+ - asm/termios.h
+ - asm/termios_arm.h
+ - asm/termios_arm64.h
+ - asm/termios_powerpc.h
+ - asm/termios_x86.h
+ - asm/tm.h
+ - asm/tm_powerpc.h
+ - asm/types.h
+ - asm/types_arm.h
+ - asm/types_arm64.h
+ - asm/types_powerpc.h
+ - asm/types_x86.h
+ - asm/ucontext.h
+ - asm/ucontext_arm64.h
+ - asm/ucontext_powerpc.h
+ - asm/ucontext_x86.h
+ - asm/unistd-common.h
+ - asm/unistd-common_arm.h
+ - asm/unistd-eabi.h
+ - asm/unistd-eabi_arm.h
+ - asm/unistd-oabi.h
+ - asm/unistd-oabi_arm.h
+ - asm/unistd.h
+ - asm/unistd_32.h
+ - asm/unistd_32_powerpc.h
+ - asm/unistd_32_x86.h
+ - asm/unistd_64.h
+ - asm/unistd_64_powerpc.h
+ - asm/unistd_64_x86.h
+ - asm/unistd_arm.h
+ - asm/unistd_arm64.h
+ - asm/unistd_powerpc.h
+ - asm/unistd_x32.h
+ - asm/unistd_x32_x86.h
+ - asm/unistd_x86.h
+ - asm/vm86.h
+ - asm/vm86_x86.h
+ - asm/vmx.h
+ - asm/vmx_x86.h
+ - asm/vsyscall.h
+ - asm/vsyscall_x86.h
+ - drm/amdgpu_drm.h
+ - drm/armada_drm.h
+ - drm/drm.h
+ - drm/drm_fourcc.h
+ - drm/drm_mode.h
+ - drm/drm_sarea.h
+ - drm/etnaviv_drm.h
+ - drm/exynos_drm.h
+ - drm/i810_drm.h
+ - drm/i915_drm.h
+ - drm/lima_drm.h
+ - drm/mga_drm.h
+ - drm/msm_drm.h
+ - drm/nouveau_drm.h
+ - drm/omap_drm.h
+ - drm/panfrost_drm.h
+ - drm/qxl_drm.h
+ - drm/r128_drm.h
+ - drm/radeon_drm.h
+ - drm/savage_drm.h
+ - drm/sis_drm.h
+ - drm/tegra_drm.h
+ - drm/v3d_drm.h
+ - drm/vc4_drm.h
+ - drm/vgem_drm.h
+ - drm/via_drm.h
+ - drm/virtgpu_drm.h
+ - drm/vmwgfx_drm.h
+ - linux/a.out.h
+ - linux/a.out_x86.h
+ - linux/acct.h
+ - linux/adb.h
+ - linux/adfs_fs.h
+ - linux/affs_hardblocks.h
+ - linux/agpgart.h
+ - linux/aio_abi.h
+ - linux/am437x-vpfe.h
+ - linux/android/binder.h
+ - linux/android/binderfs.h
+ - linux/apm_bios.h
+ - linux/arcfb.h
+ - linux/arm_sdei.h
+ - linux/aspeed-lpc-ctrl.h
+ - linux/aspeed-p2a-ctrl.h
+ - linux/atalk.h
+ - linux/atm.h
+ - linux/atm_eni.h
+ - linux/atm_he.h
+ - linux/atm_idt77105.h
+ - linux/atm_nicstar.h
+ - linux/atm_tcp.h
+ - linux/atm_zatm.h
+ - linux/atmapi.h
+ - linux/atmarp.h
+ - linux/atmbr2684.h
+ - linux/atmclip.h
+ - linux/atmdev.h
+ - linux/atmioc.h
+ - linux/atmlec.h
+ - linux/atmmpc.h
+ - linux/atmppp.h
+ - linux/atmsap.h
+ - linux/atmsvc.h
+ - linux/audit.h
+ - linux/auto_dev-ioctl.h
+ - linux/auto_fs.h
+ - linux/auto_fs4.h
+ - linux/auxvec.h
+ - linux/ax25.h
+ - linux/batadv_packet.h
+ - linux/batman_adv.h
+ - linux/baycom.h
+ - linux/bcache.h
+ - linux/bcm933xx_hcs.h
+ - linux/bfs_fs.h
+ - linux/binfmts.h
+ - linux/blkpg.h
+ - linux/blktrace_api.h
+ - linux/blkzoned.h
+ - linux/bpf.h
+ - linux/bpf_common.h
+ - linux/bpf_perf_event.h
+ - linux/bpfilter.h
+ - linux/bpqether.h
+ - linux/bsg.h
+ - linux/bt-bmc.h
+ - linux/btf.h
+ - linux/btrfs.h
+ - linux/btrfs_tree.h
+ - linux/byteorder/big_endian.h
+ - linux/byteorder/little_endian.h
+ - linux/caif/caif_socket.h
+ - linux/caif/if_caif.h
+ - linux/can.h
+ - linux/can/bcm.h
+ - linux/can/error.h
+ - linux/can/gw.h
+ - linux/can/j1939.h
+ - linux/can/netlink.h
+ - linux/can/raw.h
+ - linux/can/vxcan.h
+ - linux/capability.h
+ - linux/capi.h
+ - linux/cciss_defs.h
+ - linux/cciss_ioctl.h
+ - linux/cdrom.h
+ - linux/cec-funcs.h
+ - linux/cec.h
+ - linux/cgroupstats.h
+ - linux/chio.h
+ - linux/cifs/cifs_mount.h
+ - linux/cm4000_cs.h
+ - linux/cn_proc.h
+ - linux/coda.h
+ - linux/coff.h
+ - linux/connector.h
+ - linux/const.h
+ - linux/coresight-stm.h
+ - linux/cramfs_fs.h
+ - linux/cryptouser.h
+ - linux/cuda.h
+ - linux/cyclades.h
+ - linux/cycx_cfm.h
+ - linux/dcbnl.h
+ - linux/dccp.h
+ - linux/devlink.h
+ - linux/dlm.h
+ - linux/dlm_device.h
+ - linux/dlm_netlink.h
+ - linux/dlm_plock.h
+ - linux/dlmconstants.h
+ - linux/dm-ioctl.h
+ - linux/dm-log-userspace.h
+ - linux/dma-buf.h
+ - linux/dma-heap.h
+ - linux/dn.h
+ - linux/dns_resolver.h
+ - linux/dqblk_xfs.h
+ - linux/dvb/audio.h
+ - linux/dvb/ca.h
+ - linux/dvb/dmx.h
+ - linux/dvb/frontend.h
+ - linux/dvb/net.h
+ - linux/dvb/osd.h
+ - linux/dvb/version.h
+ - linux/dvb/video.h
+ - linux/edd.h
+ - linux/efs_fs_sb.h
+ - linux/elf-em.h
+ - linux/elf-fdpic.h
+ - linux/elf.h
+ - linux/elfcore.h
+ - linux/errno.h
+ - linux/errqueue.h
+ - linux/erspan.h
+ - linux/ethtool.h
+ - linux/ethtool_netlink.h
+ - linux/eventpoll.h
+ - linux/fadvise.h
+ - linux/falloc.h
+ - linux/fanotify.h
+ - linux/fb.h
+ - linux/fcntl.h
+ - linux/fd.h
+ - linux/fdreg.h
+ - linux/fib_rules.h
+ - linux/fiemap.h
+ - linux/filter.h
+ - linux/firewire-cdev.h
+ - linux/firewire-constants.h
+ - linux/fou.h
+ - linux/fpga-dfl.h
+ - linux/fs.h
+ - linux/fscrypt.h
+ - linux/fsi.h
+ - linux/fsl_hypervisor.h
+ - linux/fsmap.h
+ - linux/fsverity.h
+ - linux/fuse.h
+ - linux/futex.h
+ - linux/gameport.h
+ - linux/gen_stats.h
+ - linux/genetlink.h
+ - linux/genwqe/genwqe_card.h
+ - linux/gfs2_ondisk.h
+ - linux/gpio.h
+ - linux/gsmmux.h
+ - linux/gtp.h
+ - linux/hash_info.h
+ - linux/hdlc.h
+ - linux/hdlc/ioctl.h
+ - linux/hdlcdrv.h
+ - linux/hdreg.h
+ - linux/hid.h
+ - linux/hiddev.h
+ - linux/hidraw.h
+ - linux/hpet.h
+ - linux/hsi/cs-protocol.h
+ - linux/hsi/hsi_char.h
+ - linux/hsr_netlink.h
+ - linux/hw_breakpoint.h
+ - linux/hyperv.h
+ - linux/i2c-dev.h
+ - linux/i2c.h
+ - linux/i2o-dev.h
+ - linux/i8k.h
+ - linux/icmp.h
+ - linux/icmpv6.h
+ - linux/idxd.h
+ - linux/if.h
+ - linux/if_addr.h
+ - linux/if_addrlabel.h
+ - linux/if_alg.h
+ - linux/if_arcnet.h
+ - linux/if_arp.h
+ - linux/if_bonding.h
+ - linux/if_bridge.h
+ - linux/if_cablemodem.h
+ - linux/if_eql.h
+ - linux/if_ether.h
+ - linux/if_fc.h
+ - linux/if_fddi.h
+ - linux/if_frad.h
+ - linux/if_hippi.h
+ - linux/if_infiniband.h
+ - linux/if_link.h
+ - linux/if_ltalk.h
+ - linux/if_macsec.h
+ - linux/if_packet.h
+ - linux/if_phonet.h
+ - linux/if_plip.h
+ - linux/if_ppp.h
+ - linux/if_pppol2tp.h
+ - linux/if_pppox.h
+ - linux/if_slip.h
+ - linux/if_team.h
+ - linux/if_tun.h
+ - linux/if_tunnel.h
+ - linux/if_vlan.h
+ - linux/if_x25.h
+ - linux/if_xdp.h
+ - linux/ife.h
+ - linux/igmp.h
+ - linux/iio/events.h
+ - linux/iio/types.h
+ - linux/ila.h
+ - linux/in.h
+ - linux/in6.h
+ - linux/in_route.h
+ - linux/inet_diag.h
+ - linux/inotify.h
+ - linux/input-event-codes.h
+ - linux/input.h
+ - linux/io_uring.h
+ - linux/ioctl.h
+ - linux/iommu.h
+ - linux/ip.h
+ - linux/ip6_tunnel.h
+ - linux/ip_vs.h
+ - linux/ipc.h
+ - linux/ipmi.h
+ - linux/ipmi_bmc.h
+ - linux/ipmi_msgdefs.h
+ - linux/ipsec.h
+ - linux/ipv6.h
+ - linux/ipv6_route.h
+ - linux/ipx.h
+ - linux/irqnr.h
+ - linux/isdn/capicmd.h
+ - linux/iso_fs.h
+ - linux/isst_if.h
+ - linux/ivtv.h
+ - linux/ivtvfb.h
+ - linux/jffs2.h
+ - linux/joystick.h
+ - linux/kcm.h
+ - linux/kcmp.h
+ - linux/kcov.h
+ - linux/kd.h
+ - linux/kdev_t.h
+ - linux/kernel-page-flags.h
+ - linux/kernel.h
+ - linux/kernelcapi.h
+ - linux/kexec.h
+ - linux/keyboard.h
+ - linux/keyctl.h
+ - linux/kfd_ioctl.h
+ - linux/kvm.h
+ - linux/kvm_arm64.h
+ - linux/kvm_para.h
+ - linux/kvm_powerpc.h
+ - linux/kvm_x86.h
+ - linux/l2tp.h
+ - linux/libc-compat.h
+ - linux/lightnvm.h
+ - linux/limits.h
+ - linux/lirc.h
+ - linux/llc.h
+ - linux/loop.h
+ - linux/lp.h
+ - linux/lwtunnel.h
+ - linux/magic.h
+ - linux/major.h
+ - linux/map_to_7segment.h
+ - linux/matroxfb.h
+ - linux/max2175.h
+ - linux/mdio.h
+ - linux/media-bus-format.h
+ - linux/media.h
+ - linux/mei.h
+ - linux/membarrier.h
+ - linux/memfd.h
+ - linux/mempolicy.h
+ - linux/meye.h
+ - linux/mic_common.h
+ - linux/mic_ioctl.h
+ - linux/mii.h
+ - linux/minix_fs.h
+ - linux/mman.h
+ - linux/mmc/ioctl.h
+ - linux/mmtimer.h
+ - linux/module.h
+ - linux/mount.h
+ - linux/mpls.h
+ - linux/mpls_iptunnel.h
+ - linux/mptcp.h
+ - linux/mqueue.h
+ - linux/mroute.h
+ - linux/mroute6.h
+ - linux/msdos_fs.h
+ - linux/msg.h
+ - linux/mtio.h
+ - linux/n_r3964.h
+ - linux/nbd-netlink.h
+ - linux/nbd.h
+ - linux/ncsi.h
+ - linux/ndctl.h
+ - linux/neighbour.h
+ - linux/net.h
+ - linux/net_dropmon.h
+ - linux/net_namespace.h
+ - linux/net_tstamp.h
+ - linux/netconf.h
+ - linux/netdevice.h
+ - linux/netfilter.h
+ - linux/netfilter/ipset/ip_set.h
+ - linux/netfilter/ipset/ip_set_bitmap.h
+ - linux/netfilter/ipset/ip_set_hash.h
+ - linux/netfilter/ipset/ip_set_list.h
+ - linux/netfilter/nf_conntrack_common.h
+ - linux/netfilter/nf_conntrack_ftp.h
+ - linux/netfilter/nf_conntrack_sctp.h
+ - linux/netfilter/nf_conntrack_tcp.h
+ - linux/netfilter/nf_conntrack_tuple_common.h
+ - linux/netfilter/nf_log.h
+ - linux/netfilter/nf_nat.h
+ - linux/netfilter/nf_synproxy.h
+ - linux/netfilter/nf_tables.h
+ - linux/netfilter/nf_tables_compat.h
+ - linux/netfilter/nfnetlink.h
+ - linux/netfilter/nfnetlink_acct.h
+ - linux/netfilter/nfnetlink_compat.h
+ - linux/netfilter/nfnetlink_conntrack.h
+ - linux/netfilter/nfnetlink_cthelper.h
+ - linux/netfilter/nfnetlink_cttimeout.h
+ - linux/netfilter/nfnetlink_log.h
+ - linux/netfilter/nfnetlink_osf.h
+ - linux/netfilter/nfnetlink_queue.h
+ - linux/netfilter/x_tables.h
+ - linux/netfilter/xt_AUDIT.h
+ - linux/netfilter/xt_CHECKSUM.h
+ - linux/netfilter/xt_CLASSIFY.h
+ - linux/netfilter/xt_CONNMARK.h
+ - linux/netfilter/xt_CONNSECMARK.h
+ - linux/netfilter/xt_CT.h
+ - linux/netfilter/xt_DSCP.h
+ - linux/netfilter/xt_HMARK.h
+ - linux/netfilter/xt_IDLETIMER.h
+ - linux/netfilter/xt_LED.h
+ - linux/netfilter/xt_LOG.h
+ - linux/netfilter/xt_MARK.h
+ - linux/netfilter/xt_NFLOG.h
+ - linux/netfilter/xt_NFQUEUE.h
+ - linux/netfilter/xt_RATEEST.h
+ - linux/netfilter/xt_SECMARK.h
+ - linux/netfilter/xt_SYNPROXY.h
+ - linux/netfilter/xt_TCPMSS.h
+ - linux/netfilter/xt_TCPOPTSTRIP.h
+ - linux/netfilter/xt_TEE.h
+ - linux/netfilter/xt_TPROXY.h
+ - linux/netfilter/xt_addrtype.h
+ - linux/netfilter/xt_bpf.h
+ - linux/netfilter/xt_cgroup.h
+ - linux/netfilter/xt_cluster.h
+ - linux/netfilter/xt_comment.h
+ - linux/netfilter/xt_connbytes.h
+ - linux/netfilter/xt_connlabel.h
+ - linux/netfilter/xt_connlimit.h
+ - linux/netfilter/xt_connmark.h
+ - linux/netfilter/xt_conntrack.h
+ - linux/netfilter/xt_cpu.h
+ - linux/netfilter/xt_dccp.h
+ - linux/netfilter/xt_devgroup.h
+ - linux/netfilter/xt_dscp.h
+ - linux/netfilter/xt_ecn.h
+ - linux/netfilter/xt_esp.h
+ - linux/netfilter/xt_hashlimit.h
+ - linux/netfilter/xt_helper.h
+ - linux/netfilter/xt_ipcomp.h
+ - linux/netfilter/xt_iprange.h
+ - linux/netfilter/xt_ipvs.h
+ - linux/netfilter/xt_l2tp.h
+ - linux/netfilter/xt_length.h
+ - linux/netfilter/xt_limit.h
+ - linux/netfilter/xt_mac.h
+ - linux/netfilter/xt_mark.h
+ - linux/netfilter/xt_multiport.h
+ - linux/netfilter/xt_nfacct.h
+ - linux/netfilter/xt_osf.h
+ - linux/netfilter/xt_owner.h
+ - linux/netfilter/xt_physdev.h
+ - linux/netfilter/xt_pkttype.h
+ - linux/netfilter/xt_policy.h
+ - linux/netfilter/xt_quota.h
+ - linux/netfilter/xt_rateest.h
+ - linux/netfilter/xt_realm.h
+ - linux/netfilter/xt_recent.h
+ - linux/netfilter/xt_rpfilter.h
+ - linux/netfilter/xt_sctp.h
+ - linux/netfilter/xt_set.h
+ - linux/netfilter/xt_socket.h
+ - linux/netfilter/xt_state.h
+ - linux/netfilter/xt_statistic.h
+ - linux/netfilter/xt_string.h
+ - linux/netfilter/xt_tcpmss.h
+ - linux/netfilter/xt_tcpudp.h
+ - linux/netfilter/xt_time.h
+ - linux/netfilter/xt_u32.h
+ - linux/netfilter_arp.h
+ - linux/netfilter_arp/arp_tables.h
+ - linux/netfilter_arp/arpt_mangle.h
+ - linux/netfilter_bridge.h
+ - linux/netfilter_bridge/ebt_802_3.h
+ - linux/netfilter_bridge/ebt_among.h
+ - linux/netfilter_bridge/ebt_arp.h
+ - linux/netfilter_bridge/ebt_arpreply.h
+ - linux/netfilter_bridge/ebt_ip.h
+ - linux/netfilter_bridge/ebt_ip6.h
+ - linux/netfilter_bridge/ebt_limit.h
+ - linux/netfilter_bridge/ebt_log.h
+ - linux/netfilter_bridge/ebt_mark_m.h
+ - linux/netfilter_bridge/ebt_mark_t.h
+ - linux/netfilter_bridge/ebt_nat.h
+ - linux/netfilter_bridge/ebt_nflog.h
+ - linux/netfilter_bridge/ebt_pkttype.h
+ - linux/netfilter_bridge/ebt_redirect.h
+ - linux/netfilter_bridge/ebt_stp.h
+ - linux/netfilter_bridge/ebt_vlan.h
+ - linux/netfilter_bridge/ebtables.h
+ - linux/netfilter_decnet.h
+ - linux/netfilter_ipv4.h
+ - linux/netfilter_ipv4/ip_tables.h
+ - linux/netfilter_ipv4/ipt_CLUSTERIP.h
+ - linux/netfilter_ipv4/ipt_ECN.h
+ - linux/netfilter_ipv4/ipt_LOG.h
+ - linux/netfilter_ipv4/ipt_REJECT.h
+ - linux/netfilter_ipv4/ipt_TTL.h
+ - linux/netfilter_ipv4/ipt_ah.h
+ - linux/netfilter_ipv4/ipt_ecn.h
+ - linux/netfilter_ipv4/ipt_ttl.h
+ - linux/netfilter_ipv6.h
+ - linux/netfilter_ipv6/ip6_tables.h
+ - linux/netfilter_ipv6/ip6t_HL.h
+ - linux/netfilter_ipv6/ip6t_LOG.h
+ - linux/netfilter_ipv6/ip6t_NPT.h
+ - linux/netfilter_ipv6/ip6t_REJECT.h
+ - linux/netfilter_ipv6/ip6t_ah.h
+ - linux/netfilter_ipv6/ip6t_frag.h
+ - linux/netfilter_ipv6/ip6t_hl.h
+ - linux/netfilter_ipv6/ip6t_ipv6header.h
+ - linux/netfilter_ipv6/ip6t_mh.h
+ - linux/netfilter_ipv6/ip6t_opts.h
+ - linux/netfilter_ipv6/ip6t_rt.h
+ - linux/netfilter_ipv6/ip6t_srh.h
+ - linux/netlink.h
+ - linux/netlink_diag.h
+ - linux/netrom.h
+ - linux/nexthop.h
+ - linux/nfc.h
+ - linux/nfs.h
+ - linux/nfs2.h
+ - linux/nfs3.h
+ - linux/nfs4.h
+ - linux/nfs4_mount.h
+ - linux/nfs_fs.h
+ - linux/nfs_idmap.h
+ - linux/nfs_mount.h
+ - linux/nfsacl.h
+ - linux/nfsd/cld.h
+ - linux/nfsd/debug.h
+ - linux/nfsd/export.h
+ - linux/nfsd/nfsfh.h
+ - linux/nfsd/stats.h
+ - linux/nilfs2_api.h
+ - linux/nilfs2_ondisk.h
+ - linux/nl80211.h
+ - linux/nsfs.h
+ - linux/nubus.h
+ - linux/nvme_ioctl.h
+ - linux/nvram.h
+ - linux/omap3isp.h
+ - linux/omapfb.h
+ - linux/oom.h
+ - linux/openat2.h
+ - linux/openvswitch.h
+ - linux/packet_diag.h
+ - linux/param.h
+ - linux/parport.h
+ - linux/patchkey.h
+ - linux/pci.h
+ - linux/pci_regs.h
+ - linux/pcitest.h
+ - linux/perf_event.h
+ - linux/personality.h
+ - linux/pfkeyv2.h
+ - linux/pg.h
+ - linux/phantom.h
+ - linux/phonet.h
+ - linux/pkt_cls.h
+ - linux/pkt_sched.h
+ - linux/pktcdvd.h
+ - linux/pmu.h
+ - linux/poll.h
+ - linux/posix_acl.h
+ - linux/posix_acl_xattr.h
+ - linux/posix_types.h
+ - linux/ppdev.h
+ - linux/ppp-comp.h
+ - linux/ppp-ioctl.h
+ - linux/ppp_defs.h
+ - linux/pps.h
+ - linux/pr.h
+ - linux/prctl.h
+ - linux/psample.h
+ - linux/psci.h
+ - linux/psp-sev.h
+ - linux/ptp_clock.h
+ - linux/ptrace.h
+ - linux/qemu_fw_cfg.h
+ - linux/qnx4_fs.h
+ - linux/qnxtypes.h
+ - linux/qrtr.h
+ - linux/quota.h
+ - linux/radeonfb.h
+ - linux/raid/md_p.h
+ - linux/raid/md_u.h
+ - linux/random.h
+ - linux/raw.h
+ - linux/rds.h
+ - linux/reboot.h
+ - linux/reiserfs_fs.h
+ - linux/reiserfs_xattr.h
+ - linux/resource.h
+ - linux/rfkill.h
+ - linux/rio_cm_cdev.h
+ - linux/rio_mport_cdev.h
+ - linux/romfs_fs.h
+ - linux/rose.h
+ - linux/route.h
+ - linux/rpl.h
+ - linux/rpl_iptunnel.h
+ - linux/rpmsg.h
+ - linux/rseq.h
+ - linux/rtc.h
+ - linux/rtnetlink.h
+ - linux/rxrpc.h
+ - linux/scc.h
+ - linux/sched.h
+ - linux/sched/types.h
+ - linux/scif_ioctl.h
+ - linux/screen_info.h
+ - linux/sctp.h
+ - linux/sdla.h
+ - linux/seccomp.h
+ - linux/securebits.h
+ - linux/sed-opal.h
+ - linux/seg6.h
+ - linux/seg6_genl.h
+ - linux/seg6_hmac.h
+ - linux/seg6_iptunnel.h
+ - linux/seg6_local.h
+ - linux/selinux_netlink.h
+ - linux/sem.h
+ - linux/serial.h
+ - linux/serial_core.h
+ - linux/serial_reg.h
+ - linux/serio.h
+ - linux/shm.h
+ - linux/signal.h
+ - linux/signalfd.h
+ - linux/smc.h
+ - linux/smc_diag.h
+ - linux/smiapp.h
+ - linux/snmp.h
+ - linux/sock_diag.h
+ - linux/socket.h
+ - linux/sockios.h
+ - linux/sonet.h
+ - linux/sonypi.h
+ - linux/sound.h
+ - linux/soundcard.h
+ - linux/spi/spidev.h
+ - linux/stat.h
+ - linux/stddef.h
+ - linux/stm.h
+ - linux/string.h
+ - linux/sunrpc/debug.h
+ - linux/suspend_ioctls.h
+ - linux/swab.h
+ - linux/switchtec_ioctl.h
+ - linux/sync_file.h
+ - linux/synclink.h
+ - linux/sysctl.h
+ - linux/sysinfo.h
+ - linux/target_core_user.h
+ - linux/taskstats.h
+ - linux/tc_act/tc_bpf.h
+ - linux/tc_act/tc_connmark.h
+ - linux/tc_act/tc_csum.h
+ - linux/tc_act/tc_ct.h
+ - linux/tc_act/tc_ctinfo.h
+ - linux/tc_act/tc_defact.h
+ - linux/tc_act/tc_gact.h
+ - linux/tc_act/tc_ife.h
+ - linux/tc_act/tc_ipt.h
+ - linux/tc_act/tc_mirred.h
+ - linux/tc_act/tc_mpls.h
+ - linux/tc_act/tc_nat.h
+ - linux/tc_act/tc_pedit.h
+ - linux/tc_act/tc_sample.h
+ - linux/tc_act/tc_skbedit.h
+ - linux/tc_act/tc_skbmod.h
+ - linux/tc_act/tc_tunnel_key.h
+ - linux/tc_act/tc_vlan.h
+ - linux/tc_ematch/tc_em_cmp.h
+ - linux/tc_ematch/tc_em_ipt.h
+ - linux/tc_ematch/tc_em_meta.h
+ - linux/tc_ematch/tc_em_nbyte.h
+ - linux/tc_ematch/tc_em_text.h
+ - linux/tcp.h
+ - linux/tcp_metrics.h
+ - linux/tee.h
+ - linux/termios.h
+ - linux/thermal.h
+ - linux/time.h
+ - linux/time_types.h
+ - linux/timerfd.h
+ - linux/times.h
+ - linux/timex.h
+ - linux/tiocl.h
+ - linux/tipc.h
+ - linux/tipc_config.h
+ - linux/tipc_netlink.h
+ - linux/tipc_sockets_diag.h
+ - linux/tls.h
+ - linux/toshiba.h
+ - linux/tty.h
+ - linux/tty_flags.h
+ - linux/types.h
+ - linux/udf_fs_i.h
+ - linux/udmabuf.h
+ - linux/udp.h
+ - linux/uhid.h
+ - linux/uinput.h
+ - linux/uio.h
+ - linux/uleds.h
+ - linux/ultrasound.h
+ - linux/um_timetravel.h
+ - linux/un.h
+ - linux/unistd.h
+ - linux/unix_diag.h
+ - linux/usb/audio.h
+ - linux/usb/cdc-wdm.h
+ - linux/usb/cdc.h
+ - linux/usb/ch11.h
+ - linux/usb/ch9.h
+ - linux/usb/charger.h
+ - linux/usb/functionfs.h
+ - linux/usb/g_printer.h
+ - linux/usb/g_uvc.h
+ - linux/usb/gadgetfs.h
+ - linux/usb/midi.h
+ - linux/usb/raw_gadget.h
+ - linux/usb/tmc.h
+ - linux/usb/video.h
+ - linux/usbdevice_fs.h
+ - linux/usbip.h
+ - linux/userfaultfd.h
+ - linux/userio.h
+ - linux/utime.h
+ - linux/utsname.h
+ - linux/uuid.h
+ - linux/uvcvideo.h
+ - linux/v4l2-common.h
+ - linux/v4l2-controls.h
+ - linux/v4l2-dv-timings.h
+ - linux/v4l2-mediabus.h
+ - linux/v4l2-subdev.h
+ - linux/vbox_err.h
+ - linux/vbox_vmmdev_types.h
+ - linux/vboxguest.h
+ - linux/version.h
+ - linux/veth.h
+ - linux/vfio.h
+ - linux/vfio_ccw.h
+ - linux/vhost.h
+ - linux/vhost_types.h
+ - linux/videodev2.h
+ - linux/virtio_9p.h
+ - linux/virtio_balloon.h
+ - linux/virtio_blk.h
+ - linux/virtio_config.h
+ - linux/virtio_console.h
+ - linux/virtio_crypto.h
+ - linux/virtio_fs.h
+ - linux/virtio_gpu.h
+ - linux/virtio_ids.h
+ - linux/virtio_input.h
+ - linux/virtio_iommu.h
+ - linux/virtio_mmio.h
+ - linux/virtio_net.h
+ - linux/virtio_pci.h
+ - linux/virtio_pmem.h
+ - linux/virtio_ring.h
+ - linux/virtio_rng.h
+ - linux/virtio_scsi.h
+ - linux/virtio_types.h
+ - linux/virtio_vsock.h
+ - linux/vm_sockets.h
+ - linux/vm_sockets_diag.h
+ - linux/vmcore.h
+ - linux/vsockmon.h
+ - linux/vt.h
+ - linux/vtpm_proxy.h
+ - linux/wait.h
+ - linux/watchdog.h
+ - linux/wimax.h
+ - linux/wimax/i2400m.h
+ - linux/wireguard.h
+ - linux/wireless.h
+ - linux/wmi.h
+ - linux/x25.h
+ - linux/xattr.h
+ - linux/xdp_diag.h
+ - linux/xfrm.h
+ - linux/xilinx-v4l2-controls.h
+ - linux/zorro.h
+ - linux/zorro_ids.h
+ - misc/cxl.h
+ - misc/fastrpc.h
+ - misc/habanalabs.h
+ - misc/ocxl.h
+ - misc/pvpanic.h
+ - misc/uacce/hisi_qm.h
+ - misc/uacce/uacce.h
+ - misc/xilinx_sdfec.h
+ - mtd/inftl-user.h
+ - mtd/mtd-abi.h
+ - mtd/mtd-user.h
+ - mtd/nftl-user.h
+ - mtd/ubi-user.h
+ - rdma/bnxt_re-abi.h
+ - rdma/cxgb4-abi.h
+ - rdma/efa-abi.h
+ - rdma/hfi/hfi1_ioctl.h
+ - rdma/hfi/hfi1_user.h
+ - rdma/hns-abi.h
+ - rdma/i40iw-abi.h
+ - rdma/ib_user_ioctl_cmds.h
+ - rdma/ib_user_ioctl_verbs.h
+ - rdma/ib_user_mad.h
+ - rdma/ib_user_sa.h
+ - rdma/ib_user_verbs.h
+ - rdma/mlx4-abi.h
+ - rdma/mlx5-abi.h
+ - rdma/mlx5_user_ioctl_cmds.h
+ - rdma/mlx5_user_ioctl_verbs.h
+ - rdma/mthca-abi.h
+ - rdma/ocrdma-abi.h
+ - rdma/qedr-abi.h
+ - rdma/rdma_netlink.h
+ - rdma/rdma_user_cm.h
+ - rdma/rdma_user_ioctl.h
+ - rdma/rdma_user_ioctl_cmds.h
+ - rdma/rdma_user_rxe.h
+ - rdma/rvt-abi.h
+ - rdma/siw-abi.h
+ - rdma/vmw_pvrdma-abi.h
+ - scsi/cxlflash_ioctl.h
+ - scsi/fc/fc_els.h
+ - scsi/fc/fc_fs.h
+ - scsi/fc/fc_gs.h
+ - scsi/fc/fc_ns.h
+ - scsi/scsi_bsg_fc.h
+ - scsi/scsi_bsg_ufs.h
+ - scsi/scsi_netlink.h
+ - scsi/scsi_netlink_fc.h
+ - sound/asequencer.h
+ - sound/asoc.h
+ - sound/asound.h
+ - sound/asound_fm.h
+ - sound/compress_offload.h
+ - sound/compress_params.h
+ - sound/emu10k1.h
+ - sound/firewire.h
+ - sound/hdsp.h
+ - sound/hdspm.h
+ - sound/sb16_csp.h
+ - sound/sfnt_info.h
+ - sound/skl-tplg-interface.h
+ - sound/snd_sst_tokens.h
+ - sound/sof/abi.h
+ - sound/sof/fw.h
+ - sound/sof/header.h
+ - sound/sof/tokens.h
+ - sound/tlv.h
+ - sound/usb_stream.h
+ - video/edid.h
+ - video/sisfb.h
+ - video/uvesafb.h
+ - xen/evtchn.h
+ - xen/gntalloc.h
+ - xen/gntdev.h
+ - xen/privcmd.h
diff --git a/build/sysincl/linux-musl.yml b/build/sysincl/linux-musl.yml
new file mode 100644
index 0000000000..2c7a11bf06
--- /dev/null
+++ b/build/sysincl/linux-musl.yml
@@ -0,0 +1,18 @@
+- includes:
+ - bits/alltypes.h: contrib/libs/musl/arch/x86_64/bits/alltypes.h
+ - bits/errno.h: contrib/libs/musl/arch/generic/bits/errno.h
+ - bits/fenv.h: contrib/libs/musl/arch/x86_64/bits/fenv.h
+ - bits/limits.h:
+ - contrib/libs/musl/arch/generic/bits/limits.h
+ - contrib/libs/musl/arch/x86_64/bits/limits.h
+ - bits/posix.h: contrib/libs/musl/arch/x86_64/bits/posix.h
+ - bits/reg.h: contrib/libs/musl/arch/x86_64/bits/reg.h
+ - bits/stat.h: contrib/libs/musl/arch/x86_64/bits/stat.h
+ - bits/stdint.h: contrib/libs/musl/arch/x86_64/bits/stdint.h
+ - sys/cdefs.h: contrib/libs/musl/extra/sys/cdefs.h
+ - sys/sysctl.h: contrib/libs/musl/extra/sys/sysctl.h
+ - xlocale.h: contrib/libs/musl/extra/xlocale.h
+
+- source_filter: "^contrib/restricted/boost"
+ includes:
+ - ../include/fenv.h: contrib/libs/musl/include/fenv.h
diff --git a/build/sysincl/linux-ubuntu-12.yml b/build/sysincl/linux-ubuntu-12.yml
new file mode 100644
index 0000000000..b310250e6b
--- /dev/null
+++ b/build/sysincl/linux-ubuntu-12.yml
@@ -0,0 +1,3 @@
+- source_filter: "^contrib/libs/systemd"
+ includes:
+ - uchar.h: contrib/libs/libc_compat/include/uchar/uchar.h
diff --git a/build/sysincl/linux.yml b/build/sysincl/linux.yml
new file mode 100644
index 0000000000..a92a09bb9c
--- /dev/null
+++ b/build/sysincl/linux.yml
@@ -0,0 +1,54 @@
+- includes:
+ - _G_config.h
+ - a.out.h
+ - aliases.h
+ - ansidecl.h
+ - argp.h
+ - argz.h
+ - bfd.h
+ - bits/endian.h
+ - bits/fenv.h
+ - bits/libc-lock.h
+ - bits/reg.h
+ - bits/types.h
+ - bits/wordsize.h
+ - error.h
+ - execinfo.h
+ - fpu_control.h
+ - fstab.h
+ - fts.h
+ - gconv.h
+ - gnu-versions.h
+ - gnu/libc-version.h
+ - gshadow.h
+ - ieee754.h
+ - libio.h
+ - linux/compiler.h
+ - linux/irda.h
+ - linux/smb.h
+ - mcheck.h
+ - netash/ash.h
+ - netatalk/at.h
+ - netax25/ax25.h
+ - neteconet/ec.h
+ - netipx/ipx.h
+ - netrose/rose.h
+ - nss.h
+ - obstack.h
+ - printf.h
+ - regexp.h
+ - rpcsvc/yp_prot.h
+ - rpcsvc/ypclnt.h
+ - sgtty.h
+ - sys/bitypes.h
+ - sys/cdefs.h
+ - sys/memfd.h
+ - sys/queue.h
+ - sys/platform/ppc.h
+ - sys/socketvar.h
+ - sys/sysctl.h
+ - sys/unistd.h
+ - termio.h
+ - ttyent.h
+ - ustat.h
+ - xlocale.h
diff --git a/build/sysincl/misc-win.yml b/build/sysincl/misc-win.yml
new file mode 100644
index 0000000000..e53d4be782
--- /dev/null
+++ b/build/sysincl/misc-win.yml
@@ -0,0 +1,66 @@
+- source_filter: "^(contrib/libs/(ImageMagick|ffmpeg-3|libraw|pthreads_win32|zookeeper))|^contrib/restricted/boost"
+ includes:
+ - pthread.h: contrib/libs/pthreads_win32/include/pthread.h
+ - sched.h: contrib/libs/pthreads_win32/include/sched.h
+
+- source_filter: "^contrib/libs/jemalloc"
+ includes:
+ - strings.h: contrib/libs/jemalloc/include/msvc_compat/strings.h
+
+- source_filter: "^contrib/libs/libgit2"
+ includes:
+ - regex.h: contrib/libs/libgit2/deps/regex/regex.h
+
+- source_filter: "^contrib/libs/libpq/src"
+ includes:
+ - arpa/inet.h: contrib/libs/libpq/src/include/port/win32/arpa/inet.h
+ - sys/file.h: contrib/libs/libpq/src/include/port/win32_msvc/sys/file.h
+ - sys/param.h: contrib/libs/libpq/src/include/port/win32_msvc/sys/param.h
+ - sys/time.h: contrib/libs/libpq/src/include/port/win32_msvc/sys/time.h
+ - unistd.h: contrib/libs/libpq/src/include/port/win32_msvc/unistd.h
+ - netdb.h: contrib/libs/libpq/src/include/port/win32/netdb.h
+ - netinet/in.h: contrib/libs/libpq/src/include/port/win32/netinet/in.h
+ - pwd.h: contrib/libs/libpq/src/include/port/win32/pwd.h
+ - sys/socket.h: contrib/libs/libpq/src/include/port/win32/sys/socket.h
+
+- source_filter: "^contrib/libs/libx264"
+ includes:
+ - inttypes.h: contrib/libs/libx264/extras/inttypes.h
+ - stdint.h: contrib/libs/libx264/extras/stdint.h
+
+- source_filter: "^contrib/tools/bison"
+ includes:
+ - alloca.h: contrib/tools/bison/gnulib/platform/win64/alloca.h
+ - getopt.h: contrib/tools/bison/gnulib/platform/win64/getopt.h
+ - fcntl.h: contrib/tools/bison/gnulib/platform/win64/fcntl.h
+ - langinfo.h: contrib/tools/bison/gnulib/platform/win64/langinfo.h
+ - locale.h: contrib/tools/bison/gnulib/platform/win64/locale.h
+ - math.h: contrib/tools/bison/gnulib/platform/win64/math.h
+ - sched.h: contrib/tools/bison/gnulib/platform/win64/sched.h
+ - signal.h: contrib/tools/bison/gnulib/platform/win64/signal.h
+ - spawn.h: contrib/tools/bison/gnulib/platform/win64/spawn.h
+ - stdbool.h: contrib/tools/bison/gnulib/platform/win64/stdbool.h
+ - sys/stat.h: contrib/tools/bison/gnulib/platform/win64/sys/stat.h
+ - sys/time.h: contrib/tools/bison/gnulib/platform/win64/sys/time.h
+ - sys/wait.h: contrib/tools/bison/gnulib/platform/win64/sys/wait.h
+ - unistd.h: contrib/tools/bison/gnulib/platform/win64/unistd.h
+
+- source_filter: "^contrib/tools/watchman"
+ includes:
+ - getopt.h: contrib/tools/watchman/winbuild/getopt.h
+ - spawn.h: contrib/tools/watchman/winbuild/spawn.h
+ - sys/time.h: contrib/tools/watchman/winbuild/sys/time.h
+
+- source_filter: "^contrib/libs/libpq"
+ includes:
+ - dirent.h: contrib/libs/libpq/src/include/port/win32_msvc/dirent.h
+ - sys/wait.h: contrib/libs/libpq/src/include/port/win32/sys/wait.h
+ - win32.h: contrib/libs/libpq/src/include/port/win32.h
+
+- source_filter: "^contrib/libs/curl"
+ includes:
+ - nghttp2/nghttp2.h
+
+- includes:
+ - sys/queue.h: contrib/libs/libc_compat/include/windows/sys/queue.h
+ - sys/uio.h: contrib/libs/libc_compat/include/windows/sys/uio.h
diff --git a/build/sysincl/misc.yml b/build/sysincl/misc.yml
new file mode 100644
index 0000000000..e9e6095888
--- /dev/null
+++ b/build/sysincl/misc.yml
@@ -0,0 +1,468 @@
+- includes:
+ # Valgrind PEERDIR and ADDINCL are added only in --valgrind builds,
+ # but we should resolve headers anyway.
+ - valgrind/callgrind.h
+ - valgrind/memcheck.h
+ - valgrind/valgrind.h
+ # DB2_ODBC_CLI
+ - sqlcli1.h
+
+
+- includes:
+ - gelf.h: contrib/restricted/libelf/include/libelf/gelf.h
+ - libelf.h: contrib/restricted/libelf/include/libelf/libelf.h
+ - libelf/libelf.h: contrib/restricted/libelf/include/libelf/libelf.h
+ - libelf/sys_elf.h: contrib/restricted/libelf/include/libelf/sys_elf.h
+
+# We have lots of ADDINCLs to contrib/libs/libiconv all around the repo
+# so we need to add it to sysincl for consistent resolving.
+# We can go the other way here and remove iconv.h from all sysincl configs
+# and try to fix all places where we really need iconv.h from libc
+# Btw: seems that this ADDINCL should be made global and removed from projects
+# that use this header
+- includes:
+ - iconv.h: contrib/libs/libiconv/include/iconv.h
+
+- includes:
+ - cudnn.h: contrib/libs/nvidia/cudnn/cudnn.h
+
+# _cgo_export.h is generated into build dir of go package which uses cgo
+# and we are unable to resolve it correctly to whcih build dir to resolve
+# in the case when tests are also built for this package
+- includes:
+ - _cgo_export.h
+
+# Resolve jni.h from swig/Lib/java/javahead.swg when building non-java .swg
+# since they do not peerdir contrib/libs/jdk.
+# Resolve Python.h from swig/Lib/python/pyruntime.swg when building non-python .swg
+# since they do not peerdir contrib/libs/python.
+- source_filter: "[.]swg([.](h|c(c|pp|xx)?))?$"
+ includes:
+ - jni.h: contrib/libs/jdk/include/jni.h
+ - Python.h: contrib/libs/python/Include/Python.h
+- source_filter: "^contrib/libs/jdk/include/jni[.]h$"
+ includes:
+ - jni_md.h:
+ - contrib/libs/jdk/include/darwin/jni_md.h
+ - contrib/libs/jdk/include/linux/jni_md.h
+ - contrib/libs/jdk/include/win32/jni_md.h
+
+# libunistring has its own libc header wrappers that are added to ADDINCL and
+# need to be added here for consistensy between ADDINCL and sysincl resolving.
+# Btw: we don't parse include_next, so we might lose real dependency to musl,
+# but sysincl resolving will save us here, as it will resolve to both of them.
+- source_filter: "^contrib/libs/libunistring"
+ includes:
+ - alloca.h: contrib/libs/libunistring/alloca.h
+ - langinfo.h: contrib/libs/libunistring/langinfo.h
+ - limits.h: contrib/libs/libunistring/limits.h
+ - math.h: contrib/libs/libunistring/math.h
+ - minmax.h: contrib/libs/libunistring/minmax.h
+ - stdlib.h: contrib/libs/libunistring/stdlib.h
+ - string.h: contrib/libs/libunistring/string.h
+ - sys/types.h: contrib/libs/libunistring/sys/types.h
+ - unistd.h: contrib/libs/libunistring/unistd.h
+ - wchar.h: contrib/libs/libunistring/wchar.h
+ - wctype.h: contrib/libs/libunistring/wctype.h
+
+- source_filter: "^contrib/libs/libidn2/"
+ includes:
+ - error.h: contrib/libs/libidn2/gl/error.h
+ - unistd.h: contrib/libs/libunistring/include/unistd.h
+
+# Same as libunistring - lftp has own libc header wrappers/replacements.
+# However here we have GLOBAL ADDINCL to contrib/libs/lftp{,/trio,/lib}
+# that can poison resolving in PEERDIRing projects.
+# Fortunately lftp is used only in contrib/tools/lftp.
+# Probably we should add PEERDIR restriction rule to it.
+- source_filter: "^contrib/libs/lftp"
+ includes:
+ - alloca.h: contrib/libs/lftp/alloca.h
+ - error.h: contrib/libs/lftp/lib/error.h
+ - fnmatch.h: contrib/libs/lftp/lib/fnmatch.h
+ - regex.h: contrib/libs/lftp/lib/regex.h
+ - sys/socket.h: contrib/libs/lftp/lib/sys/socket.h
+ - sys/stat.h: contrib/libs/lftp/lib/sys/stat.h
+ - sys/time.h: contrib/libs/lftp/lib/sys/time.h
+
+# Another sysincl/addincl clash. Here we also have GLOBAL ADDINCL that will
+# produce sysincl/addincl mismatch configure errors when someone writes
+# #include <math.h> and enables USE_ARCADIA_LIBM. Now we have no instances of this.
+- source_filter: "^contrib/libs/libm/.*\\.c"
+ includes:
+ - complex.h: contrib/libs/libm/include/complex.h
+ - math.h: contrib/libs/libm/include/math.h
+
+# Some more sysincl/addincl clashes.
+- source_filter: "^contrib/tools/bison/(bison|gnulib|m4)/src"
+ includes:
+ - error.h: contrib/tools/bison/gnulib/src/error.h
+ - fcntl.h: contrib/tools/bison/gnulib/platform/posix/fcntl.h
+ - getopt.h: contrib/tools/bison/gnulib/platform/posix/getopt.h
+ - obstack.h: contrib/tools/bison/gnulib/src/obstack.h
+ - regex.h: contrib/tools/bison/gnulib/src/regex.h
+ - system.h
+ - unlocked-io.h: contrib/tools/bison/gnulib/src/unlocked-io.h
+- source_filter: "^contrib/tools/make"
+ includes:
+ - fnmatch.h: contrib/tools/make/glob/fnmatch.h
+ - glob.h: contrib/tools/make/glob/glob.h
+- source_filter: "^contrib/tools/tre"
+ includes:
+ - regex.h: contrib/tools/tre/lib/regex.h
+
+- source_filter: "^contrib/libs/cppkafka"
+ includes:
+ - error.h: contrib/libs/cppkafka/include/cppkafka/error.h
+
+- source_filter: "^contrib/libs/clang11-rt"
+ includes:
+ - xray/xray_interface.h: contrib/libs/clang11-rt/include/xray/xray_interface.h
+
+- source_filter: "^contrib/libs/clang12-rt"
+ includes:
+ - xray/xray_interface.h: contrib/libs/clang12-rt/include/xray/xray_interface.h
+
+- source_filter: "^contrib/libs/llvm"
+ includes:
+ - plugin-api.h # GNU linker plugin API.
+
+- source_filter: "^contrib/libs/musl"
+ includes:
+ - atomic.h: contrib/libs/musl/src/internal/atomic.h
+ - bits/fenv.h: contrib/libs/musl/arch/x86_64/bits/fenv.h
+
+- source_filter: "^contrib/libs/zbar"
+ includes:
+ - error.h: contrib/libs/zbar/zbar/error.h
+
+- source_filter: "^contrib/libs/curl"
+ includes:
+ - http.h: contrib/libs/curl/lib/http.h
+ - inet_ntop.h: contrib/libs/curl/lib/inet_ntop.h
+ - share.h: contrib/libs/curl/lib/share.h
+
+- source_filter: "^contrib/libs/zeromq"
+ includes:
+ - atomic.h: contrib/libs/zeromq/missing_includes/atomic.h
+ - Mstcpip.h: contrib/libs/zeromq/missing_includes/Mstcpip.h
+
+- source_filter: "^contrib/restricted/openal-soft"
+ includes:
+ - atomic.h: contrib/restricted/openal-soft/common/atomic.h
+
+- source_filter: "^contrib/libs/ffmpeg-3"
+ includes:
+ - fontconfig/fontconfig.h
+ - fribidi.h
+ - stdatomic.h: contrib/libs/ffmpeg-3.4.1/compat/atomics/win32/stdatomic.h
+
+- source_filter: "^contrib/libs/glog"
+ includes:
+ - port.h: contrib/libs/glog/missing_includes/port.h
+
+- source_filter: "^contrib/(deprecated/onednn|libs/intel/onednn)"
+ includes:
+ - mkl_cblas.h: contrib/libs/intel/mkl/include/mkl_cblas.h
+ - mkl_version.h: contrib/libs/intel/mkl/include/mkl_version.h
+ - mkl_vml_defines.h: contrib/libs/intel/mkl/include/mkl_vml_defines.h
+ - mkl_vml_functions.h: contrib/libs/intel/mkl/include/mkl_vml_functions.h
+
+- source_filter: "^contrib/libs/nsync"
+ includes:
+ - atomic.h: contrib/libs/nsync/platform/c++11/atomic.h
+
+- source_filter: "^contrib/python/numpy/py3"
+ includes:
+ - numpy/random.pxd
+
+- source_filter: "^contrib/tools/python/src/Objects/exceptions.c"
+ includes:
+ - errmap.h: contrib/tools/python/src/PC/errmap.h
+
+- source_filter: "^contrib/libs/(speex|tf)"
+ includes:
+ - mkl.h: contrib/libs/intel/mkl/include/mkl.h
+
+# deprecated contrib with ADDINCL to libintl
+- source_filter: "^contrib/(deprecated/glib/glib|libs/gdk-pixbuf)"
+ includes:
+ - libintl.h: contrib/deprecated/libintl/libintl.h
+
+- source_filter: "^contrib/libs/poco/Data/ODBC"
+ includes:
+ - sql.h: contrib/libs/unixodbc/include/sql.h
+ - sqlext.h: contrib/libs/unixodbc/include/sqlext.h
+ - sqltypes.h: contrib/libs/unixodbc/include/sqltypes.h
+ - sqlucode.h: contrib/libs/unixodbc/include/sqlucode.h
+
+- source_filter: "^contrib/libs/icu"
+ includes:
+ - util.h: contrib/libs/icu/common/util.h
+
+- source_filter: "^contrib/tools/yasm"
+ includes:
+ - util.h: contrib/tools/yasm/util.h
+
+- source_filter: "^contrib/libs/libgit2"
+ includes:
+ - util.h: contrib/libs/libgit2/src/util.h
+
+- source_filter: "^contrib/libs/nodejs_12"
+ includes:
+ - util.h: contrib/libs/nodejs_12/src/util.h
+
+- source_filter: "^contrib/libs/numa"
+ includes:
+ - util.h: contrib/libs/numa/internal/util.h
+
+- source_filter: "^contrib/libs/systemd"
+ includes:
+ - util.h: contrib/libs/systemd/src/basic/util.h
+
+- source_filter: "^contrib/libs/nvidia/nccl"
+ includes:
+ - socket.h: contrib/libs/nvidia/nccl/src/include/socket.h
+
+- source_filter: "^contrib/libs/tf/tensorflow"
+ includes:
+ - cuda.h: contrib/libs/tf/tensorflow/core/platform/cuda.h
+
+# unused legacy include in boost
+- source_filter: "^contrib/restricted/boost"
+ includes:
+ - atomic.h
+ - fstream.h
+ - ../include/fenv.h
+
+- source_filter: "^contrib/restricted/boost/boost/stacktrace/detail"
+ includes:
+ - backtrace.h: contrib/libs/backtrace/backtrace.h
+
+# windows sdk includes that we do not want to apply for whole arcadia
+- source_filter: "^contrib"
+ includes:
+ - process.h
+- source_filter: "^contrib/tools/tpce-benchmark"
+ includes:
+ - sql.h
+ - sqlext.h
+ - sqltypes.h
+ - sqlucode.h
+
+- source_filter: "^contrib/libs/libmemcached"
+ includes:
+ - sasl/sasl.h
+ - sasl/saslutil.h
+
+- source_filter: "^contrib/libs/apr"
+ includes:
+ - atomic.h
+
+- source_filter: "^contrib/libs/(apr|httpd|llvm)"
+ includes:
+ - uuid.h
+ - uuid/uuid.h
+
+- source_filter: "^contrib/libs/(kenlm|libxml|re2|sqlite3)"
+ includes:
+ - unicode/ucnv.h
+ - unicode/ucol.h
+ - unicode/uniset.h
+ - unicode/unistr.h
+ - unicode/ustring.h
+ - unicode/utf16.h
+ - unicode/utypes.h
+ - unicode/uversion.h
+
+- source_filter: "^contrib/deprecated/glib"
+ includes:
+ - configmake.h
+
+- source_filter: "^contrib/libs/ImageMagick"
+ includes:
+ - ltdl.h
+
+- source_filter: "^contrib/libs/authparser"
+ includes:
+ - settings.h
+
+- source_filter: "^contrib/libs/ceres-solver"
+ includes:
+ - tbb/tbb_stddef.h
+
+- source_filter: "^contrib/libs/deprecated"
+ includes:
+ - hdf5.h
+
+- source_filter: "^contrib/libs/freetype"
+ includes:
+ - hb-ot.h
+ - hb-ft.h
+ - hb.h
+
+- source_filter: "^contrib/libs/httpd"
+ includes:
+ - nginx.h
+ - ngx_config.h
+ - ngx_core.h
+ - ngx_http.h
+ - ngx_log.h
+
+- source_filter: "^contrib/libs/leptonica-1.70"
+ includes:
+ - gif_lib.h
+ - webp/decode.h
+ - webp/encode.h
+
+- source_filter: "^contrib/libs/libpcap"
+ includes:
+ - strerror.h
+
+- source_filter: "^contrib/libs/libxml"
+ includes:
+ - lzma.h
+ - win32config.h
+
+- source_filter: "^contrib/libs/mod_perl2"
+ includes:
+ - config.h
+
+- source_filter: "^contrib/libs/(apr|httpd|openssl)"
+ includes:
+ - netinet/sctp.h
+
+- source_filter: "^contrib/libs/subversion"
+ includes:
+ - magic.h
+ - xmlparse.h
+
+- source_filter: "^contrib/python/scipy"
+ includes:
+ - matrix.h
+
+- source_filter: "^contrib/python/uwsgi"
+ includes:
+ - libxml/parser.h
+ - libxml/tree.h
+ - uuid/uuid.h
+
+- source_filter: "^contrib/tools/python"
+ includes:
+ - ioctl.h
+ - utils.h
+
+- source_filter: "^(contrib/libs/cxxsupp/openmp|catboost/cuda/cuda_lib)"
+ includes:
+ - hwloc.h
+ - hwloc/cudart.h
+
+- source_filter: "^contrib/libs/(deprecated|tf)"
+ includes:
+ - cblas.h
+
+- source_filter: "^contrib/libs/(aws-sdk-cpp|c-ares|proj)"
+ includes:
+ - jni.h
+
+- source_filter: "^contrib/(libs/(ffmpeg-3|kenlm|kyotocabinet)|tools/ag)"
+ includes:
+ - lzma.h
+
+- source_filter: "^contrib/libs/(kyotocabinet|minilzo)"
+ includes:
+ - lzo/lzo1x.h
+
+- source_filter: "^contrib/libs/(gtest|libpng|opencv)"
+ includes:
+ - mem.h
+
+- source_filter: "^contrib/libs/(authparser|libcoro-perl|libev-perl|libevent-perl|uatraits)"
+ includes:
+ - patchlevel.h
+
+- source_filter: "^contrib/tools/watchman"
+ includes:
+ - pcre.h
+
+- source_filter: "^contrib/libs/(freetype|leptonica-1.70|libtheora|zbar)"
+ includes:
+ - png.h
+
+- source_filter: "^(contrib/restricted/boost/boost/mpi|catboost/cuda/cuda_lib/mpi)"
+ includes:
+ - mpi.h
+
+- source_filter: "^contrib/libs/libf2c"
+ includes:
+ - local.h
+
+- source_filter: "^contrib/libs/libpq"
+ includes:
+ - local.h
+
+- source_filter: "^contrib/libs/breakpad"
+ includes:
+ - stab.h
+
+- source_filter: "^contrib/tools/fluent-bit"
+ includes:
+ - backtrace.h: contrib/libs/backtrace/backtrace.h
+
+- source_filter: "^contrib/restricted/libelf"
+ includes:
+ - byteswap.h: contrib/restricted/libelf/lib/byteswap.h
+ - gelf.h: contrib/restricted/libelf/lib/gelf.h
+ - libelf.h: contrib/restricted/libelf/lib/libelf.h
+ - nlist.h: contrib/restricted/libelf/lib/nlist.h
+ - sys_elf.h: contrib/restricted/libelf/lib/sys_elf.h
+
+- source_filter: "^contrib/libs/dpdk/"
+ includes:
+ - process.h: contrib/libs/dpdk/drivers/bus/dpaa/include/process.h
+
+- source_filter: "^contrib/libs/dpdk_arm64/"
+ includes:
+ - process.h: contrib/libs/dpdk_arm64/drivers/bus/dpaa/include/process.h
+
+- source_filter: "^contrib/libs/usrsctp/"
+ includes:
+ - netinet/sctp_uio.h: contrib/libs/usrsctp/usrsctplib/netinet/sctp_uio.h
+
+- source_filter: "^contrib/libs/libsrtp/"
+ includes:
+ - alloc.h: contrib/libs/libsrtp/crypto/include/alloc.h
+ - err.h: contrib/libs/libsrtp/crypto/include/err.h
+ - stat.h: contrib/libs/libsrtp/crypto/include/stat.h
+
+- source_filter: "^contrib/restricted/openal-soft"
+ includes:
+ - threads.h: contrib/restricted/openal-soft/common/threads.h
+
+- source_filter: "^contrib/python/pymqi"
+ includes:
+ # IBM MQ
+ - cmqc.h
+ - cmqxc.h
+ - cmqcfc.h
+ - cmqbc.h
+
+- source_filter: "^contrib/libs/h3"
+ includes:
+ - alloc.h: contrib/libs/h3/h3lib/include/alloc.h
+- source_filter: "^cloud/iam/token_agent/daemon"
+ includes:
+ - contrib/libs/grpc/include/grpcpp/impl/codegen/server_context_impl.h
+
+- source_filter: "^contrib/libs/libyang"
+ includes:
+ - in.h: contrib/libs/libyang/libyang/in.h
+
+- source_filter: "^contrib/restricted/noc/frr"
+ includes:
+ - assert.h: contrib/restricted/noc/frr/lib/assert/assert.h
+ - bfd.h: contrib/restricted/noc/frr/lib/bfd.h
+ - getopt.h: contrib/restricted/noc/frr/lib/getopt.h
+ - filter.h: contrib/restricted/noc/frr/lib/filter.h
+ - memory.h: contrib/restricted/noc/frr/lib/memory.h
+ - thread.h: contrib/restricted/noc/frr/lib/thread.h
diff --git a/build/sysincl/nvidia.yml b/build/sysincl/nvidia.yml
new file mode 100644
index 0000000000..3d6fac79b6
--- /dev/null
+++ b/build/sysincl/nvidia.yml
@@ -0,0 +1,48 @@
+# build/platform/cuda (include/ and extras/CUPTI/include/)
+- includes:
+ - cooperative_groups.h
+ - cuComplex.h
+ # Though cub is provided as a part of CUDA HPC SDK,
+ # we would like to be updatable independently.
+ # Hence we are using it directly from Arcadia.
+ # This sysincl enforces such usage.
+ - cub/cub.cuh: contrib/libs/nvidia/cub/cub/cub.cuh
+ - cublas.h
+ - cublasLt.h
+ - cublas_v2.h
+ - cuda.h
+ - cuda_bf16.h
+ - cuda_fp16.h
+ - cuda_gl_interop.h
+ - cuda_runtime.h
+ - cuda_runtime_api.h
+ - cufft.h
+ - cupti.h
+ - curand.h
+ - curand_kernel.h
+ - curand_mtgp32_host.h
+ - curand_mtgp32dc_p_11213.h
+ - cusolverDn.h
+ - cusparse.h
+ - driver_types.h
+ - host_defines.h
+ - library_types.h
+ - math_constants.h
+ - npp.h
+ - nppi.h
+ - nvToolsExt.h
+ # Though thrust is provided as a part of CUDA HPC SDK,
+ # we would like to be updatable independently.
+ # Hence we are using it directly from Arcadia.
+ # This sysincl enforces such usage.
+ - thrust/iterator/iterator_traits.h: contrib/libs/nvidia/thrust/thrust/iterator/iterator_traits.h
+ - thrust/iterator/iterator_facade.h: contrib/libs/nvidia/thrust/thrust/iterator/iterator_facade.h
+ - thrust/system/cuda/detail/core/triple_chevron_launch.h: contrib/libs/nvidia/thrust/thrust/system/cuda/detail/core/triple_chevron_launch.h
+ - thrust/version.h: contrib/libs/nvidia/thrust/thrust/version.h
+ - vector_types.h
+# These headers should be provided by TensorRT.
+# Proper solution must be found in DTCC-171
+- source_filter: "^contrib/libs/tf-2.4/.*"
+ includes:
+ - NvInfer.h
+ - NvInferPlugin.h
diff --git a/build/sysincl/python.yml b/build/sysincl/python.yml
new file mode 100644
index 0000000000..32e8d7ff76
--- /dev/null
+++ b/build/sysincl/python.yml
@@ -0,0 +1,104 @@
+- source_filter: "^(?!(contrib/tools/python|library/python/runtime|library/python/symbols))"
+ includes:
+ - Python-ast.h
+ - Python.h
+ - abstract.h
+ - accu.h
+ - asdl.h
+ - bltinmodule.h
+ - boolobject.h
+ - bufferobject.h
+ - bytearrayobject.h
+ - bytes_methods.h
+ - bytesobject.h
+ - cStringIO.h
+ - cellobject.h
+ - ceval.h
+ - classobject.h
+ - cobject.h
+ - codecs.h
+ - compile.h
+ - complexobject.h
+ - config_platform.h
+ - datetime.h
+ - descrobject.h
+ - dictobject.h
+ - dtoa.h
+ - dynamic_annotations.h
+ - enumobject.h
+ - errcode.h
+ - fileobject.h
+ - floatobject.h
+ - frameobject.h
+ - funcobject.h
+ - genobject.h
+ - graminit.h
+ - grammar.h
+ - import.h
+ - intobject.h
+ - intrcheck.h
+ - iterobject.h
+ - listobject.h
+ - longintrepr.h
+ - longobject.h
+ - marshal.h
+ - memoryobject.h
+ - metagrammar.h
+ - methodobject.h
+ - modsupport.h
+ - moduleobject.h
+ - namespaceobject.h
+ - object.h
+ - objimpl.h
+ - odictobject.h
+ - opcode.h
+ - osdefs.h
+ - osmodule.h
+ - parsetok.h
+ - patchlevel.h
+ - pgen.h
+ - pgenheaders.h
+ - py_curses.h
+ - pyarena.h
+ - pyatomic.h
+ - pycapsule.h
+ - pyconfig.h
+ - pyctype.h
+ - pydebug.h
+ - pydtrace.h
+ - pyerrors.h
+ - pyexpat.h
+ - pyfpe.h
+ - pygetopt.h
+ - pyhash.h
+ - pylifecycle.h
+ - pymacconfig.h
+ - pymacro.h
+ - pymactoolbox.h
+ - pymath.h
+ - pymem.h
+ - pyport.h
+ - pystate.h
+ - pystrcmp.h
+ - pystrhex.h
+ - pystrtod.h
+ - pythonrun.h
+ - pythread.h
+ - pytime.h
+ - rangeobject.h
+ - setobject.h
+ - sliceobject.h
+ - stringobject.h
+ - structmember.h
+ - structseq.h
+ - symtable.h
+ - sysmodule.h
+ - timefuncs.h
+ - token.h
+ - traceback.h
+ - tupleobject.h
+ - typeslots.h
+ - ucnhash.h
+ - unicodeobject.h
+ - warnings.h
+ - weakrefobject.h
diff --git a/build/sysincl/stl-to-libcxx.yml b/build/sysincl/stl-to-libcxx.yml
new file mode 100644
index 0000000000..7d9600f345
--- /dev/null
+++ b/build/sysincl/stl-to-libcxx.yml
@@ -0,0 +1,157 @@
+# libc & stl common headers should be resolved to either
+# * system libc (e.g. nothing in our repo)
+# * system libc++ (e.g. nothing in our repo)
+# * libcxx
+# * musl
+# or some combination of them depending on the build flags.
+
+# We want musl to resolve itself without these sysincls, but its test must have them
+- source_filter: "^(?!(contrib/libs/libunistring|contrib/libs/musl|contrib/tools/yasm)).*|^contrib/libs/musl/tests"
+ includes:
+ - complex.h: contrib/libs/cxxsupp/libcxx/include/complex.h
+ - ctype.h: contrib/libs/cxxsupp/libcxx/include/ctype.h
+ - errno.h: contrib/libs/cxxsupp/libcxx/include/errno.h
+ - float.h: contrib/libs/cxxsupp/libcxx/include/float.h
+ - inttypes.h: contrib/libs/cxxsupp/libcxx/include/inttypes.h
+ - limits.h: contrib/libs/cxxsupp/libcxx/include/limits.h
+ - locale.h: contrib/libs/cxxsupp/libcxx/include/locale.h
+ - math.h: contrib/libs/cxxsupp/libcxx/include/math.h
+ - setjmp.h: contrib/libs/cxxsupp/libcxx/include/setjmp.h
+ - stdbool.h: contrib/libs/cxxsupp/libcxx/include/stdbool.h
+ - stddef.h: contrib/libs/cxxsupp/libcxx/include/stddef.h
+ - stdint.h: contrib/libs/cxxsupp/libcxx/include/stdint.h
+ - stdio.h: contrib/libs/cxxsupp/libcxx/include/stdio.h
+ - stdlib.h: contrib/libs/cxxsupp/libcxx/include/stdlib.h
+ - string.h: contrib/libs/cxxsupp/libcxx/include/string.h
+ - tgmath.h: contrib/libs/cxxsupp/libcxx/include/tgmath.h
+ - wchar.h: contrib/libs/cxxsupp/libcxx/include/wchar.h
+ - wctype.h: contrib/libs/cxxsupp/libcxx/include/wctype.h
+
+- includes:
+ - atomic.h:
+ - contrib/libs/cxxsupp/libcxxrt/atomic.h
+ - cxxabi.h:
+ - contrib/libs/cxxsupp/libcxx/include/cxxabi.h
+ - contrib/libs/cxxsupp/libcxxrt/cxxabi.h
+ - omp.h:
+ - contrib/libs/cxxsupp/openmp/omp.h
+ - unwind.h:
+ - contrib/libs/cxxsupp/libcxx/include/unwind.h
+ - contrib/libs/cxxsupp/libcxxrt/unwind.h
+ - contrib/libs/libunwind/include/unwind.h
+
+- source_filter: "^contrib/libs/cxxsupp/libcxxabi/"
+ includes:
+ - cxxabi.h: contrib/libs/cxxsupp/libcxxabi/include/cxxabi.h
+
+- includes:
+ - __config: contrib/libs/cxxsupp/libcxx/include/__config
+ - __undef_macros: contrib/libs/cxxsupp/libcxx/include/__undef_macros
+ - algorithm: contrib/libs/cxxsupp/libcxx/include/algorithm
+ - any: contrib/libs/cxxsupp/libcxx/include/any
+ - array: contrib/libs/cxxsupp/libcxx/include/array
+ - atomic: contrib/libs/cxxsupp/libcxx/include/atomic
+ - bit: contrib/libs/cxxsupp/libcxx/include/bit
+ - bitset: contrib/libs/cxxsupp/libcxx/include/bitset
+ - cassert: contrib/libs/cxxsupp/libcxx/include/cassert
+ - ccomplex: contrib/libs/cxxsupp/libcxx/include/ccomplex
+ - cctype: contrib/libs/cxxsupp/libcxx/include/cctype
+ - cerrno: contrib/libs/cxxsupp/libcxx/include/cerrno
+ - cfenv: contrib/libs/cxxsupp/libcxx/include/cfenv
+ - cfloat: contrib/libs/cxxsupp/libcxx/include/cfloat
+ - charconv: contrib/libs/cxxsupp/libcxx/include/charconv
+ - chrono: contrib/libs/cxxsupp/libcxx/include/chrono
+ - cinttypes: contrib/libs/cxxsupp/libcxx/include/cinttypes
+ - ciso646: contrib/libs/cxxsupp/libcxx/include/ciso646
+ - climits: contrib/libs/cxxsupp/libcxx/include/climits
+ - clocale: contrib/libs/cxxsupp/libcxx/include/clocale
+ - cmath: contrib/libs/cxxsupp/libcxx/include/cmath
+ - codecvt: contrib/libs/cxxsupp/libcxx/include/codecvt
+ - compare: contrib/libs/cxxsupp/libcxx/include/compare
+ - complex: contrib/libs/cxxsupp/libcxx/include/complex
+ - concepts: contrib/libs/cxxsupp/libcxx/include/concepts
+ - condition_variable: contrib/libs/cxxsupp/libcxx/include/condition_variable
+ - csetjmp: contrib/libs/cxxsupp/libcxx/include/csetjmp
+ - csignal: contrib/libs/cxxsupp/libcxx/include/csignal
+ - cstdarg: contrib/libs/cxxsupp/libcxx/include/cstdarg
+ - cstdbool: contrib/libs/cxxsupp/libcxx/include/cstdbool
+ - cstddef: contrib/libs/cxxsupp/libcxx/include/cstddef
+ - cstdint: contrib/libs/cxxsupp/libcxx/include/cstdint
+ - cstdio: contrib/libs/cxxsupp/libcxx/include/cstdio
+ - cstdlib: contrib/libs/cxxsupp/libcxx/include/cstdlib
+ - cstring: contrib/libs/cxxsupp/libcxx/include/cstring
+ - ctgmath: contrib/libs/cxxsupp/libcxx/include/ctgmath
+ - ctime: contrib/libs/cxxsupp/libcxx/include/ctime
+ - cwchar: contrib/libs/cxxsupp/libcxx/include/cwchar
+ - cwctype: contrib/libs/cxxsupp/libcxx/include/cwctype
+ - deque: contrib/libs/cxxsupp/libcxx/include/deque
+ - exception: contrib/libs/cxxsupp/libcxx/include/exception
+ - filesystem: contrib/libs/cxxsupp/libcxx/include/filesystem
+ - forward_list: contrib/libs/cxxsupp/libcxx/include/forward_list
+ - fstream: contrib/libs/cxxsupp/libcxx/include/fstream
+ - functional: contrib/libs/cxxsupp/libcxx/include/functional
+ - future: contrib/libs/cxxsupp/libcxx/include/future
+ - initializer_list: contrib/libs/cxxsupp/libcxx/include/initializer_list
+ - iomanip: contrib/libs/cxxsupp/libcxx/include/iomanip
+ - ios: contrib/libs/cxxsupp/libcxx/include/ios
+ - iosfwd: contrib/libs/cxxsupp/libcxx/include/iosfwd
+ - iostream: contrib/libs/cxxsupp/libcxx/include/iostream
+ - istream: contrib/libs/cxxsupp/libcxx/include/istream
+ - iterator: contrib/libs/cxxsupp/libcxx/include/iterator
+ - limits: contrib/libs/cxxsupp/libcxx/include/limits
+ - list: contrib/libs/cxxsupp/libcxx/include/list
+ - locale: contrib/libs/cxxsupp/libcxx/include/locale
+ - map: contrib/libs/cxxsupp/libcxx/include/map
+ - memory: contrib/libs/cxxsupp/libcxx/include/memory
+ - mutex: contrib/libs/cxxsupp/libcxx/include/mutex
+ - new: contrib/libs/cxxsupp/libcxx/include/new
+ - numeric: contrib/libs/cxxsupp/libcxx/include/numeric
+ - optional: contrib/libs/cxxsupp/libcxx/include/optional
+ - ostream: contrib/libs/cxxsupp/libcxx/include/ostream
+ - queue: contrib/libs/cxxsupp/libcxx/include/queue
+ - random: contrib/libs/cxxsupp/libcxx/include/random
+ - ratio: contrib/libs/cxxsupp/libcxx/include/ratio
+ - regex: contrib/libs/cxxsupp/libcxx/include/regex
+ - scoped_allocator: contrib/libs/cxxsupp/libcxx/include/scoped_allocator
+ - set: contrib/libs/cxxsupp/libcxx/include/set
+ - shared_mutex: contrib/libs/cxxsupp/libcxx/include/shared_mutex
+ - span: contrib/libs/cxxsupp/libcxx/include/span
+ - sstream: contrib/libs/cxxsupp/libcxx/include/sstream
+ - stack: contrib/libs/cxxsupp/libcxx/include/stack
+ - stdexcept: contrib/libs/cxxsupp/libcxx/include/stdexcept
+ - streambuf: contrib/libs/cxxsupp/libcxx/include/streambuf
+ - string: contrib/libs/cxxsupp/libcxx/include/string
+ - string_view: contrib/libs/cxxsupp/libcxx/include/string_view
+ - strstream: contrib/libs/cxxsupp/libcxx/include/strstream
+ - system_error: contrib/libs/cxxsupp/libcxx/include/system_error
+ - thread: contrib/libs/cxxsupp/libcxx/include/thread
+ - tuple: contrib/libs/cxxsupp/libcxx/include/tuple
+ - typeindex: contrib/libs/cxxsupp/libcxx/include/typeindex
+ - typeinfo: contrib/libs/cxxsupp/libcxx/include/typeinfo
+ - type_traits: contrib/libs/cxxsupp/libcxx/include/type_traits
+ - unordered_map: contrib/libs/cxxsupp/libcxx/include/unordered_map
+ - unordered_set: contrib/libs/cxxsupp/libcxx/include/unordered_set
+ - use_ansi.h: contrib/libs/cxxsupp/libcxx/include/use_ansi.h
+ - utility: contrib/libs/cxxsupp/libcxx/include/utility
+ - valarray: contrib/libs/cxxsupp/libcxx/include/valarray
+ - variant: contrib/libs/cxxsupp/libcxx/include/variant
+ - vector: contrib/libs/cxxsupp/libcxx/include/vector
+
+
+# Though these are headers provided by libcxx, we do not want to allow them to be included.
+# We are using non-existent filename to generate error instead, as there is no specific syntax for this case.
+- includes:
+ - ext/hash_map: DO_NOT_INCLUDE_NON_STANDARD_EXT_HASH_MAP
+ - ext/hash_set: DO_NOT_INCLUDE_NON_STANDARD_EXT_HASH_SET
+ - experimental/any: DO_NOT_INCLUDE_NON_STANDARD_EXPERIMENTAL_ANY
+ - experimental/chrono: DO_NOT_INCLUDE_NON_STANDARD_EXPERIMENTAL_CHRONO
+ - experimental/numeric: DO_NOT_INCLUDE_NON_STANDARD_EXPERIMENTAL_NUMERIC
+ - experimental/optional: DO_NOT_INCLUDE_NON_STANDARD_EXPERIMENTAL_OPTIONAL
+ - experimental/ratio: DO_NOT_INCLUDE_NON_STANDARD_EXPERIMENTAL_RATIO
+ - experimental/source_location: DO_NOT_INCLUDE_NON_STANDARD_EXPERIMENTAL_SOURCE_LOCATION
+ - experimental/string_view: DO_NOT_INCLUDE_NON_STANDARD_EXPERIMENTAL_STRING_VIEW
+ - experimental/system_error: DO_NOT_INCLUDE_NON_STANDARD_EXPERIMENTAL_SYSTEM_ERROR
+ - experimental/tuple: DO_NOT_INCLUDE_NON_STANDARD_EXPERIMENTAL_TUPLE
+
+ # TODO: there is no <corouine> in libc++. Disable this include upon its appearance
+ - experimental/coroutine: contrib/libs/cxxsupp/libcxx/include/experimental/coroutine
diff --git a/build/sysincl/stl-to-nothing.yml b/build/sysincl/stl-to-nothing.yml
new file mode 100644
index 0000000000..c7e27d1411
--- /dev/null
+++ b/build/sysincl/stl-to-nothing.yml
@@ -0,0 +1,143 @@
+# libc & stl common headers should be resolved to either
+# * system libc (e.g. nothing in our repo)
+# * system libc++ (e.g. nothing in our repo)
+# * libcxx
+# * musl
+# or some combination of them depending on the build flags.
+
+# We want musl to resolve itself without these sysincls, but its test must have them
+- source_filter: "^(?!contrib/libs/musl).*|^contrib/libs/musl/tests"
+ includes:
+ - complex.h
+ - ctype.h
+ - errno.h
+ - float.h
+ - inttypes.h
+ - limits.h
+ - locale.h
+ - math.h
+ - setjmp.h
+ - stdbool.h
+ - stddef.h
+ - stdint.h
+ - stdio.h
+ - stdlib.h
+ - string.h
+ - tgmath.h
+ - wchar.h
+ - wctype.h
+
+- includes:
+ - __config
+ - __undef_macros
+ - algorithm
+ - any
+ - array
+ - atomic
+ - bit
+ - bitset
+ - cassert
+ - ccomplex
+ - cctype
+ - cerrno
+ - cfenv
+ - cfloat
+ - charconv
+ - chrono
+ - cinttypes
+ - ciso646
+ - climits
+ - clocale
+ - cmath
+ - codecvt
+ - compare
+ - complex
+ - concepts
+ - condition_variable
+ - csetjmp
+ - csignal
+ - cstdarg
+ - cstdbool
+ - cstddef
+ - cstdint
+ - cstdio
+ - cstdlib
+ - cstring
+ - ctgmath
+ - ctime
+ - cwchar
+ - cwctype
+ - cxxabi.h
+ - deque
+ - exception
+ - filesystem
+ - forward_list
+ - fstream
+ - functional
+ - future
+ - initializer_list
+ - iomanip
+ - ios
+ - iosfwd
+ - iostream
+ - istream
+ - iterator
+ - limits
+ - list
+ - locale
+ - map
+ - memory
+ - mutex
+ - new
+ - numeric
+ - optional
+ - ostream
+ - queue
+ - random
+ - ratio
+ - regex
+ - scoped_allocator
+ - set
+ - shared_mutex
+ - span
+ - sstream
+ - stack
+ - stdexcept
+ - streambuf
+ - string
+ - string_view
+ - strstream
+ - system_error
+ - thread
+ - tuple
+ - typeindex
+ - typeinfo
+ - type_traits
+ - unordered_map
+ - unordered_set
+ - use_ansi.h
+ - utility
+ - valarray
+ - variant
+ - vector
+ - unwind.h:
+ - contrib/libs/libunwind/include/unwind.h
+
+
+# Though these are headers provided by libcxx, we do not want to allow them to be included.
+# We are using non-existent filename to generate error instead, as there is no specific syntax for this case.
+- includes:
+ - ext/hash_map: DO_NOT_INCLUDE_NON_STANDARD_EXT_HASH_MAP
+ - ext/hash_set: DO_NOT_INCLUDE_NON_STANDARD_EXT_HASH_SET
+ - experimental/any: DO_NOT_INCLUDE_NON_STANDARD_EXPERIMENTAL_ANY
+ - experimental/chrono: DO_NOT_INCLUDE_NON_STANDARD_EXPERIMENTAL_CHRONO
+ - experimental/numeric: DO_NOT_INCLUDE_NON_STANDARD_EXPERIMENTAL_NUMERIC
+ - experimental/optional: DO_NOT_INCLUDE_NON_STANDARD_EXPERIMENTAL_OPTIONAL
+ - experimental/ratio: DO_NOT_INCLUDE_NON_STANDARD_EXPERIMENTAL_RATIO
+ - experimental/source_location: DO_NOT_INCLUDE_NON_STANDARD_EXPERIMENTAL_SOURCE_LOCATION
+ - experimental/string_view: DO_NOT_INCLUDE_NON_STANDARD_EXPERIMENTAL_STRING_VIEW
+ - experimental/system_error: DO_NOT_INCLUDE_NON_STANDARD_EXPERIMENTAL_SYSTEM_ERROR
+ - experimental/tuple: DO_NOT_INCLUDE_NON_STANDARD_EXPERIMENTAL_TUPLE
+
+ # TODO: there is no <corouine> in system stl. Disable this include upon its appearance
+ - experimental/coroutine
diff --git a/build/sysincl/swig-to-nothing.yml b/build/sysincl/swig-to-nothing.yml
new file mode 100644
index 0000000000..1d3f987371
--- /dev/null
+++ b/build/sysincl/swig-to-nothing.yml
@@ -0,0 +1,235 @@
+- includes:
+# (cd $S/contrib/tools/swig/Lib; find * '(' -not -path '*/*' -or -path 'typemaps/*' ')' -and '(' -name '*.i' -or -name '*.swg' ')' ) | awk '{print " - "$0}'
+ - allkw.swg
+ - attribute.i
+ - carrays.i
+ - cdata.i
+ - cmalloc.i
+ - constraints.i
+ - cpointer.i
+ - cstring.i
+ - cwstring.i
+ - director_common.swg
+ - exception.i
+ - intrusive_ptr.i
+ - inttypes.i
+ - math.i
+ - pointer.i
+ - runtime.swg
+ - shared_ptr.i
+ - std_except.i
+ - stdint.i
+ - stl.i
+ - swigarch.i
+ - swigerrors.swg
+ - swigfragments.swg
+ - swiginit.swg
+ - swiglabels.swg
+ - swigrun.i
+ - swigrun.swg
+ - swig.swg
+ - swigwarnings.swg
+ - swigwarn.swg
+ - typemaps/attribute.swg
+ - typemaps/carrays.swg
+ - typemaps/cdata.swg
+ - typemaps/cmalloc.swg
+ - typemaps/cpointer.swg
+ - typemaps/cstring.swg
+ - typemaps/cstrings.swg
+ - typemaps/cwstring.swg
+ - typemaps/enumint.swg
+ - typemaps/exception.swg
+ - typemaps/factory.swg
+ - typemaps/fragments.swg
+ - typemaps/implicit.swg
+ - typemaps/inoutlist.swg
+ - typemaps/misctypes.swg
+ - typemaps/primtypes.swg
+ - typemaps/ptrtypes.swg
+ - typemaps/std_except.swg
+ - typemaps/std_string.swg
+ - typemaps/std_strings.swg
+ - typemaps/std_wstring.swg
+ - typemaps/string.swg
+ - typemaps/strings.swg
+ - typemaps/swigmacros.swg
+ - typemaps/swigobject.swg
+ - typemaps/swigtype.swg
+ - typemaps/swigtypemaps.swg
+ - typemaps/typemaps.swg
+ - typemaps/valtypes.swg
+ - typemaps/void.swg
+ - typemaps/wstring.swg
+ - wchar.i
+ - windows.i
+# (cd $S/contrib/tools/swig/Lib/python; find * '(' -not -path '*/*' -or -path 'typemaps/*' ')' -and '(' -name '*.i' -or -name '*.swg' ')' ) | awk '{print " - "$0}'
+ - argcargv.i
+ - attribute.i
+ - boost_shared_ptr.i
+ - builtin.swg
+ - carrays.i
+ - ccomplex.i
+ - cdata.i
+ - cmalloc.i
+ - complex.i
+ - cpointer.i
+ - cstring.i
+ - cwstring.i
+ - defarg.swg
+ - director.swg
+ - embed.i
+ - exception.i
+ - factory.i
+ - file.i
+ - implicit.i
+ - pyabc.i
+ - pyapi.swg
+ - pybackward.swg
+ - pybuffer.i
+ - pyclasses.swg
+ - pycomplex.swg
+ - pycontainer.swg
+ - pydocs.swg
+ - pyerrors.swg
+ - pyfragments.swg
+ - pyhead.swg
+ - pyinit.swg
+ - pyiterators.swg
+ - pymacros.swg
+ - pyname_compat.i
+ - pyopers.swg
+ - pyprimtypes.swg
+ - pyrun.swg
+ - pyruntime.swg
+ - pystdcommon.swg
+ - pystrings.swg
+ - pythonkw.swg
+ - python.swg
+ - pythreads.swg
+ - pytuplehlp.swg
+ - pytypemaps.swg
+ - pyuserdir.swg
+ - pywstrings.swg
+ - std_alloc.i
+ - std_array.i
+ - std_auto_ptr.i
+ - std_basic_string.i
+ - std_carray.i
+ - std_char_traits.i
+ - std_common.i
+ - std_complex.i
+ - std_container.i
+ - std_deque.i
+ - std_except.i
+ - std_ios.i
+ - std_iostream.i
+ - std_list.i
+ - std_map.i
+ - std_multimap.i
+ - std_multiset.i
+ - std_pair.i
+ - std_set.i
+ - std_shared_ptr.i
+ - std_sstream.i
+ - std_streambuf.i
+ - std_string.i
+ - std_unordered_map.i
+ - std_unordered_multimap.i
+ - std_unordered_multiset.i
+ - std_unordered_set.i
+ - std_vectora.i
+ - std_vector.i
+ - std_wios.i
+ - std_wiostream.i
+ - std_wsstream.i
+ - std_wstreambuf.i
+ - std_wstring.i
+ - stl.i
+ - typemaps.i
+ - wchar.i
+# (cd $S/contrib/tools/swig/Lib/java; find * '(' -not -path '*/*' -or -path 'typemaps/*' ')' -and '(' -name '*.i' -or -name '*.swg' ')' ) | awk '{print " - "$0}'
+ - arrays_java.i
+ - boost_intrusive_ptr.i
+ - boost_shared_ptr.i
+ - director.swg
+ - enumsimple.swg
+ - enums.swg
+ - enumtypesafe.swg
+ - enumtypeunsafe.swg
+ - javahead.swg
+ - javakw.swg
+ - java.swg
+ - std_array.i
+ - std_auto_ptr.i
+ - std_common.i
+ - std_deque.i
+ - std_except.i
+ - std_list.i
+ - std_map.i
+ - std_pair.i
+ - std_set.i
+ - std_shared_ptr.i
+ - std_string.i
+ - std_unordered_map.i
+ - std_unordered_set.i
+ - std_vector.i
+ - std_wstring.i
+ - stl.i
+ - swiginterface.i
+ - typemaps.i
+ - various.i
+# (cd $S/contrib/tools/swig/Lib/go; find * '(' -not -path '*/*' -or -path 'typemaps/*' ')' -and '(' -name '*.i' -or -name '*.swg' ')' ) | awk '{print " - "$0}'
+ - cdata.i
+ - director.swg
+ - exception.i
+ - gokw.swg
+ - goruntime.swg
+ - gostring.swg
+ - go.swg
+ - std_common.i
+ - std_deque.i
+ - std_except.i
+ - std_list.i
+ - std_map.i
+ - std_pair.i
+ - std_string.i
+ - std_vector.i
+ - stl.i
+ - typemaps.i
+# (cd $S/contrib/tools/swig/Lib/perl5; find * '(' -not -path '*/*' -or -path 'typemaps/*' ')' -and '(' -name '*.i' -or -name '*.swg' ')' ) | awk '{print " - "$0}'
+ - attribute.i
+ - carrays.i
+ - cdata.i
+ - cmalloc.i
+ - cpointer.i
+ - cstring.i
+ - director.swg
+ - exception.i
+ - factory.i
+ - perl5.swg
+ - perlerrors.swg
+ - perlfragments.swg
+ - perlhead.swg
+ - perlinit.swg
+ - perlkw.swg
+ - perlmacros.swg
+ - perlmain.i
+ - perlopers.swg
+ - perlprimtypes.swg
+ - perlrun.swg
+ - perlruntime.swg
+ - perlstrings.swg
+ - perltypemaps.swg
+ - perluserdir.swg
+ - reference.i
+ - std_common.i
+ - std_deque.i
+ - std_except.i
+ - std_list.i
+ - std_map.i
+ - std_pair.i
+ - std_string.i
+ - std_vector.i
+ - stl.i
+ - typemaps.i
diff --git a/build/sysincl/swig.yml b/build/sysincl/swig.yml
new file mode 100644
index 0000000000..9931a15e3c
--- /dev/null
+++ b/build/sysincl/swig.yml
@@ -0,0 +1,292 @@
+# Generated by devtools/yamaker.
+- includes:
+ - argcargv.i:
+ - contrib/tools/swig/Lib/python/argcargv.i
+ - arrays_java.i:
+ - contrib/tools/swig/Lib/java/arrays_java.i
+ - attribute.i:
+ - contrib/tools/swig/Lib/attribute.i
+ - contrib/tools/swig/Lib/perl5/attribute.i
+ - contrib/tools/swig/Lib/python/attribute.i
+ - boost_intrusive_ptr.i:
+ - contrib/tools/swig/Lib/java/boost_intrusive_ptr.i
+ - boost_shared_ptr.i:
+ - contrib/tools/swig/Lib/java/boost_shared_ptr.i
+ - contrib/tools/swig/Lib/python/boost_shared_ptr.i
+ - builtin.swg:
+ - contrib/tools/swig/Lib/python/builtin.swg
+ - carrays.i:
+ - contrib/tools/swig/Lib/carrays.i
+ - contrib/tools/swig/Lib/perl5/carrays.i
+ - contrib/tools/swig/Lib/python/carrays.i
+ - ccomplex.i:
+ - contrib/tools/swig/Lib/python/ccomplex.i
+ - cdata.i:
+ - contrib/tools/swig/Lib/cdata.i
+ - contrib/tools/swig/Lib/go/cdata.i
+ - contrib/tools/swig/Lib/perl5/cdata.i
+ - contrib/tools/swig/Lib/python/cdata.i
+ - cmalloc.i:
+ - contrib/tools/swig/Lib/cmalloc.i
+ - contrib/tools/swig/Lib/perl5/cmalloc.i
+ - contrib/tools/swig/Lib/python/cmalloc.i
+ - complex.i:
+ - contrib/tools/swig/Lib/python/complex.i
+ - cpointer.i:
+ - contrib/tools/swig/Lib/cpointer.i
+ - contrib/tools/swig/Lib/perl5/cpointer.i
+ - contrib/tools/swig/Lib/python/cpointer.i
+ - cstring.i:
+ - contrib/tools/swig/Lib/cstring.i
+ - contrib/tools/swig/Lib/perl5/cstring.i
+ - contrib/tools/swig/Lib/python/cstring.i
+ - cwstring.i:
+ - contrib/tools/swig/Lib/cwstring.i
+ - contrib/tools/swig/Lib/python/cwstring.i
+ - defarg.swg:
+ - contrib/tools/swig/Lib/python/defarg.swg
+ - director.swg:
+ - contrib/tools/swig/Lib/go/director.swg
+ - contrib/tools/swig/Lib/java/director.swg
+ - contrib/tools/swig/Lib/perl5/director.swg
+ - contrib/tools/swig/Lib/python/director.swg
+ - embed.i:
+ - contrib/tools/swig/Lib/python/embed.i
+ - enums.swg:
+ - contrib/tools/swig/Lib/java/enums.swg
+ - enumsimple.swg:
+ - contrib/tools/swig/Lib/java/enumsimple.swg
+ - enumtypesafe.swg:
+ - contrib/tools/swig/Lib/java/enumtypesafe.swg
+ - enumtypeunsafe.swg:
+ - contrib/tools/swig/Lib/java/enumtypeunsafe.swg
+ - exception.i:
+ - contrib/tools/swig/Lib/exception.i
+ - contrib/tools/swig/Lib/go/exception.i
+ - contrib/tools/swig/Lib/perl5/exception.i
+ - contrib/tools/swig/Lib/python/exception.i
+ - factory.i:
+ - contrib/tools/swig/Lib/perl5/factory.i
+ - contrib/tools/swig/Lib/python/factory.i
+ - file.i:
+ - contrib/tools/swig/Lib/python/file.i
+ - go.swg:
+ - contrib/tools/swig/Lib/go/go.swg
+ - gokw.swg:
+ - contrib/tools/swig/Lib/go/gokw.swg
+ - goruntime.swg:
+ - contrib/tools/swig/Lib/go/goruntime.swg
+ - gostring.swg:
+ - contrib/tools/swig/Lib/go/gostring.swg
+ - implicit.i:
+ - contrib/tools/swig/Lib/python/implicit.i
+ - java.swg:
+ - contrib/tools/swig/Lib/java/java.swg
+ - javahead.swg:
+ - contrib/tools/swig/Lib/java/javahead.swg
+ - javakw.swg:
+ - contrib/tools/swig/Lib/java/javakw.swg
+ - perl5.swg:
+ - contrib/tools/swig/Lib/perl5/perl5.swg
+ - perlerrors.swg:
+ - contrib/tools/swig/Lib/perl5/perlerrors.swg
+ - perlfragments.swg:
+ - contrib/tools/swig/Lib/perl5/perlfragments.swg
+ - perlhead.swg:
+ - contrib/tools/swig/Lib/perl5/perlhead.swg
+ - perlinit.swg:
+ - contrib/tools/swig/Lib/perl5/perlinit.swg
+ - perlkw.swg:
+ - contrib/tools/swig/Lib/perl5/perlkw.swg
+ - perlmacros.swg:
+ - contrib/tools/swig/Lib/perl5/perlmacros.swg
+ - perlmain.i:
+ - contrib/tools/swig/Lib/perl5/perlmain.i
+ - perlopers.swg:
+ - contrib/tools/swig/Lib/perl5/perlopers.swg
+ - perlprimtypes.swg:
+ - contrib/tools/swig/Lib/perl5/perlprimtypes.swg
+ - perlrun.swg:
+ - contrib/tools/swig/Lib/perl5/perlrun.swg
+ - perlruntime.swg:
+ - contrib/tools/swig/Lib/perl5/perlruntime.swg
+ - perlstrings.swg:
+ - contrib/tools/swig/Lib/perl5/perlstrings.swg
+ - perltypemaps.swg:
+ - contrib/tools/swig/Lib/perl5/perltypemaps.swg
+ - perluserdir.swg:
+ - contrib/tools/swig/Lib/perl5/perluserdir.swg
+ - pyabc.i:
+ - contrib/tools/swig/Lib/python/pyabc.i
+ - pyapi.swg:
+ - contrib/tools/swig/Lib/python/pyapi.swg
+ - pybackward.swg:
+ - contrib/tools/swig/Lib/python/pybackward.swg
+ - pybuffer.i:
+ - contrib/tools/swig/Lib/python/pybuffer.i
+ - pyclasses.swg:
+ - contrib/tools/swig/Lib/python/pyclasses.swg
+ - pycomplex.swg:
+ - contrib/tools/swig/Lib/python/pycomplex.swg
+ - pycontainer.swg:
+ - contrib/tools/swig/Lib/python/pycontainer.swg
+ - pydocs.swg:
+ - contrib/tools/swig/Lib/python/pydocs.swg
+ - pyerrors.swg:
+ - contrib/tools/swig/Lib/python/pyerrors.swg
+ - pyfragments.swg:
+ - contrib/tools/swig/Lib/python/pyfragments.swg
+ - pyhead.swg:
+ - contrib/tools/swig/Lib/python/pyhead.swg
+ - pyinit.swg:
+ - contrib/tools/swig/Lib/python/pyinit.swg
+ - pyiterators.swg:
+ - contrib/tools/swig/Lib/python/pyiterators.swg
+ - pymacros.swg:
+ - contrib/tools/swig/Lib/python/pymacros.swg
+ - pyname_compat.i:
+ - contrib/tools/swig/Lib/python/pyname_compat.i
+ - pyopers.swg:
+ - contrib/tools/swig/Lib/python/pyopers.swg
+ - pyprimtypes.swg:
+ - contrib/tools/swig/Lib/python/pyprimtypes.swg
+ - pyrun.swg:
+ - contrib/tools/swig/Lib/python/pyrun.swg
+ - pyruntime.swg:
+ - contrib/tools/swig/Lib/python/pyruntime.swg
+ - pystdcommon.swg:
+ - contrib/tools/swig/Lib/python/pystdcommon.swg
+ - pystrings.swg:
+ - contrib/tools/swig/Lib/python/pystrings.swg
+ - python.swg:
+ - contrib/tools/swig/Lib/python/python.swg
+ - pythonkw.swg:
+ - contrib/tools/swig/Lib/python/pythonkw.swg
+ - pythreads.swg:
+ - contrib/tools/swig/Lib/python/pythreads.swg
+ - pytuplehlp.swg:
+ - contrib/tools/swig/Lib/python/pytuplehlp.swg
+ - pytypemaps.swg:
+ - contrib/tools/swig/Lib/python/pytypemaps.swg
+ - pyuserdir.swg:
+ - contrib/tools/swig/Lib/python/pyuserdir.swg
+ - pywstrings.swg:
+ - contrib/tools/swig/Lib/python/pywstrings.swg
+ - reference.i:
+ - contrib/tools/swig/Lib/perl5/reference.i
+ - std_alloc.i:
+ - contrib/tools/swig/Lib/python/std_alloc.i
+ - std_array.i:
+ - contrib/tools/swig/Lib/java/std_array.i
+ - contrib/tools/swig/Lib/python/std_array.i
+ - std_auto_ptr.i:
+ - contrib/tools/swig/Lib/java/std_auto_ptr.i
+ - contrib/tools/swig/Lib/python/std_auto_ptr.i
+ - std_basic_string.i:
+ - contrib/tools/swig/Lib/python/std_basic_string.i
+ - std_carray.i:
+ - contrib/tools/swig/Lib/python/std_carray.i
+ - std_char_traits.i:
+ - contrib/tools/swig/Lib/python/std_char_traits.i
+ - std_common.i:
+ - contrib/tools/swig/Lib/go/std_common.i
+ - contrib/tools/swig/Lib/java/std_common.i
+ - contrib/tools/swig/Lib/perl5/std_common.i
+ - contrib/tools/swig/Lib/python/std_common.i
+ - std_complex.i:
+ - contrib/tools/swig/Lib/python/std_complex.i
+ - std_container.i:
+ - contrib/tools/swig/Lib/python/std_container.i
+ - std_deque.i:
+ - contrib/tools/swig/Lib/go/std_deque.i
+ - contrib/tools/swig/Lib/java/std_deque.i
+ - contrib/tools/swig/Lib/perl5/std_deque.i
+ - contrib/tools/swig/Lib/python/std_deque.i
+ - std_except.i:
+ - contrib/tools/swig/Lib/go/std_except.i
+ - contrib/tools/swig/Lib/java/std_except.i
+ - contrib/tools/swig/Lib/perl5/std_except.i
+ - contrib/tools/swig/Lib/python/std_except.i
+ - std_ios.i:
+ - contrib/tools/swig/Lib/python/std_ios.i
+ - std_iostream.i:
+ - contrib/tools/swig/Lib/python/std_iostream.i
+ - std_list.i:
+ - contrib/tools/swig/Lib/go/std_list.i
+ - contrib/tools/swig/Lib/java/std_list.i
+ - contrib/tools/swig/Lib/perl5/std_list.i
+ - contrib/tools/swig/Lib/python/std_list.i
+ - std_map.i:
+ - contrib/tools/swig/Lib/go/std_map.i
+ - contrib/tools/swig/Lib/java/std_map.i
+ - contrib/tools/swig/Lib/perl5/std_map.i
+ - contrib/tools/swig/Lib/python/std_map.i
+ - std_multimap.i:
+ - contrib/tools/swig/Lib/python/std_multimap.i
+ - std_multiset.i:
+ - contrib/tools/swig/Lib/python/std_multiset.i
+ - std_pair.i:
+ - contrib/tools/swig/Lib/go/std_pair.i
+ - contrib/tools/swig/Lib/java/std_pair.i
+ - contrib/tools/swig/Lib/perl5/std_pair.i
+ - contrib/tools/swig/Lib/python/std_pair.i
+ - std_set.i:
+ - contrib/tools/swig/Lib/java/std_set.i
+ - contrib/tools/swig/Lib/python/std_set.i
+ - std_shared_ptr.i:
+ - contrib/tools/swig/Lib/java/std_shared_ptr.i
+ - contrib/tools/swig/Lib/python/std_shared_ptr.i
+ - std_sstream.i:
+ - contrib/tools/swig/Lib/python/std_sstream.i
+ - std_streambuf.i:
+ - contrib/tools/swig/Lib/python/std_streambuf.i
+ - std_string.i:
+ - contrib/tools/swig/Lib/go/std_string.i
+ - contrib/tools/swig/Lib/java/std_string.i
+ - contrib/tools/swig/Lib/perl5/std_string.i
+ - contrib/tools/swig/Lib/python/std_string.i
+ - std_unordered_map.i:
+ - contrib/tools/swig/Lib/java/std_unordered_map.i
+ - contrib/tools/swig/Lib/python/std_unordered_map.i
+ - std_unordered_multimap.i:
+ - contrib/tools/swig/Lib/python/std_unordered_multimap.i
+ - std_unordered_multiset.i:
+ - contrib/tools/swig/Lib/python/std_unordered_multiset.i
+ - std_unordered_set.i:
+ - contrib/tools/swig/Lib/java/std_unordered_set.i
+ - contrib/tools/swig/Lib/python/std_unordered_set.i
+ - std_vector.i:
+ - contrib/tools/swig/Lib/go/std_vector.i
+ - contrib/tools/swig/Lib/java/std_vector.i
+ - contrib/tools/swig/Lib/perl5/std_vector.i
+ - contrib/tools/swig/Lib/python/std_vector.i
+ - std_vectora.i:
+ - contrib/tools/swig/Lib/python/std_vectora.i
+ - std_wios.i:
+ - contrib/tools/swig/Lib/python/std_wios.i
+ - std_wiostream.i:
+ - contrib/tools/swig/Lib/python/std_wiostream.i
+ - std_wsstream.i:
+ - contrib/tools/swig/Lib/python/std_wsstream.i
+ - std_wstreambuf.i:
+ - contrib/tools/swig/Lib/python/std_wstreambuf.i
+ - std_wstring.i:
+ - contrib/tools/swig/Lib/java/std_wstring.i
+ - contrib/tools/swig/Lib/python/std_wstring.i
+ - stl.i:
+ - contrib/tools/swig/Lib/go/stl.i
+ - contrib/tools/swig/Lib/java/stl.i
+ - contrib/tools/swig/Lib/perl5/stl.i
+ - contrib/tools/swig/Lib/python/stl.i
+ - swiginterface.i:
+ - contrib/tools/swig/Lib/java/swiginterface.i
+ - typemaps.i:
+ - contrib/tools/swig/Lib/go/typemaps.i
+ - contrib/tools/swig/Lib/java/typemaps.i
+ - contrib/tools/swig/Lib/perl5/typemaps.i
+ - contrib/tools/swig/Lib/python/typemaps.i
+ - various.i:
+ - contrib/tools/swig/Lib/java/various.i
+ - wchar.i:
+ - contrib/tools/swig/Lib/python/wchar.i
+ - contrib/tools/swig/Lib/wchar.i
diff --git a/build/sysincl/system-jdk.yml b/build/sysincl/system-jdk.yml
new file mode 100644
index 0000000000..d894941ad4
--- /dev/null
+++ b/build/sysincl/system-jdk.yml
@@ -0,0 +1,2 @@
+- includes:
+ - jni.h \ No newline at end of file
diff --git a/build/sysincl/unsorted.yml b/build/sysincl/unsorted.yml
new file mode 100644
index 0000000000..a889b923a0
--- /dev/null
+++ b/build/sysincl/unsorted.yml
@@ -0,0 +1,986 @@
+- source_filter: "^contrib(?!/restricted/gstreamer/gst/parse)"
+ includes:
+ - port.h
+ - types.h
+ - stat.h
+
+- source_filter: ".*contrib.*"
+ includes:
+ - stat.h
+ - libutf8.h
+ #if defined(_OS_QNX) && CONTRIB
+ - devctl.h
+ #endif
+ - CrashReporterClient.h
+ - Eigen/Array
+ - Errors.h
+ - ICSupport.h
+ - LPdir.h
+ - LzFindMt.h
+ - MD5.h
+ - SIOUX.h
+ - TFileSpec.h
+ - TLS.h
+ - XMP.incl_cpp
+ - XMPSDK.hpp
+ - _mingw.h
+ - abi_mutex.h
+ - afxcmn.h
+ - afxdao.h
+ - afxdb.h
+ - afxdisp.h
+ - afxext.h
+ - afxodlgs.h
+ - afxole.h
+ - afxwin.h
+ - alpha/builtins.h
+ - apr_iconv.h
+ - atheos/atomic.h
+ - atheos/semaphore.h
+ - atheos/threads.h
+ - atomic_ops.h
+ - auth-client-parser/parser.h
+ - bluetooth/bluetooth.h
+ - bluetooth/hci.h
+ - bluetooth/l2cap.h
+ - bluetooth/rfcomm.h
+ - bluetooth/sco.h
+ - bstring.h
+ - builtins.h
+ - c_asm.h
+ - config-mac.h
+ - console.h
+ - could_not_find_Perl_patchlevel.h
+ - cpml.h
+ - crtl.h
+ - cthreads.h
+ - ctime.h
+ - db_provider.h
+ - dbmalloc.h
+ - dir.h
+ - dither.h
+ - dl.h
+ - doc/doc_dynamic.h
+ - doc/doc_nan.h
+ - doc/doc_printf.h
+ - doc/doc_register.h
+ - doc/doc_scanf.h
+ - doc/doc_static.h
+ - dvidef.h
+ - fastmath.h
+ - fcntl--.h
+ - fftw3.h
+ - file.h
+ - flags.h
+ - floatingpoint.h
+ - fp.h
+ - fp_class.h
+ - fsio.h
+ - fwriteerror.h
+ - gdbm.h
+ - ghostscript/iapi.h
+ - ghostscript/ierrors.h
+ - glibtop.h
+ - glibtop/close.h
+ - glibtop/open.h
+ - glibtop/parameter.h
+ - glibtop/sysdeps.h
+ - glibtop/union.h
+ - glibtop/xmalloc.h
+ - gmp.h
+ - gnutls/x509.h
+ - hp-timing.h
+ - httpd_wrap.h
+ - i86.h
+ - ieeedef.h
+ - in.h
+ - inet.h
+ - intl.h
+ - iperlsys.h
+ - ipl.h
+ - ipl/ipl.h
+ - ipp.h
+ - ippcp.h
+ - kfuncs.h
+ - l12_integer_tables.h
+ - l3_integer_tables.h
+ - lcms.h
+ - libavcodec/aacps_tables.h
+ - libavcodec/cbrt_tables.h
+ - libavcodec/dv_tables.h
+ - libavcodec/motionpixels_tables.h
+ - libavcodec/mpegaudio_tables.h
+ - libavcodec/pcm_tables.h
+ - libavcodec/qdm2_tables.h
+ - libavcodec/sinewin_tables.h
+ - libio/iolibio.h
+ - libio/libioP.h
+ - libs/regex/test/config_info/regex_config_info.cpp
+ - locale/coll-lookup.h
+ - locale/elem-hash.h
+ - locale/localeinfo.h
+ - locale/weight.h
+ - locale/weightwc.h
+ - lqr.h
+ - lwp/lwp.h
+ - lwp/stackdep.h
+ - m68881.h
+ - mach/cthreads.h
+ - mathimf.h
+ - matrixos.h
+ - mfx/mfxvideo.h
+ - mingw.h
+ - mips64/sysarch.h
+ - ms/uplink.h
+ - msl_utility
+ - namdef.h
+ - ncurses/curses.h
+ - ncurses/term.h
+ - ndir.h
+ - net/netdb.h
+ - net/socket.h
+ - net/uio.h
+ - nks/dirio.h
+ - nks/plat.h
+ - nks/thread.h
+ - nonblocking.h
+ - note.h
+ - opcdef.h
+ - openssl/applink.c
+ - os2def.h
+ - oslib/osfscontrol.h
+ - paper.h
+ - pcre_printint.src
+ - pire/config.h
+ - pngusr.h
+ - probes_mysql_dtrace.h
+ - pth.h
+ - relocatable.h
+ - rtl.h
+ - semLib.h
+ - shlib-compat.h
+ - sigsegv.h
+ - sockLib.h
+ - socket.h
+ - socketshr.h
+ - socklib.h
+ - socks.h
+ - strdef.h
+ - streams/un.h
+ - stropts
+ - swill.h
+ - sysLib.h
+ - taskLib.h
+ - tcp.h
+ - tdep-ia64/dwarf-config.h
+ - thread.h
+ - thread_plan9.h
+ - tickLib.h
+ - ttdef.h
+ - type_traits.h
+ - udplite.h
+ - ulocks.h
+ - unchecked.h
+ - unixlib.h
+ - unixstuff.h
+ - validator/validator.h
+ - vasnwprintf.h
+ - vld.h
+ - win32lib.h
+ - wincecompat.h
+ - wprintf-parse.h
+ - wsockcompat.h
+ - xdelta3-python.h
+ - xml/xmlparse.h
+ - xmlparse/xmlparse.h
+ - xmltok/xmlparse.h
+ - yca/yca.h
+ - zzip-1.h
+ - zzip-2.h
+ - zzip-3.h
+ - zzip-4.h
+ - zzip-5.h
+ #if CONTRIB && defined(_HAVE_LIBIDSA)
+ - idsa.h
+ #endif
+ - ../lib/memdebug.h
+ - ../../VC/include/math.h
+ - ../../VC/include/cfloat
+ - ../extra/yassl/taocrypt/include/sha.hpp
+ - prof.h
+ - ll_alloc_hook.c
+ - cpptl/config.h
+ - cpptl/conststring.h
+ - cpptl/forwards.h
+ - cpptl/smallmap.h
+ - forwards.h
+ - json_valueiterator.inl
+ - value.h
+ - pthread/mit/sys/timers.h
+ - sljit/sljitLir.c
+ - pcre_printint.c
+ #ifdef defined(emacs) && CONTRIB && TRASH
+ - blockinput.h
+ #endif
+ #if defined(__atmos__) && CONTRIB
+ - kernel.h
+ #endif
+ #if defined(_LIBC) && CONTRIB && TRASH
+ - not-cancel.h
+ - local-setxid.h
+ - vasprintf.h
+ #endif
+
+- case_sensitive: false
+ includes:
+ #if defined(WINDOWS) && CONTRIB && TRASH
+ - ../include/locale.h
+ - ../include/signal.h
+ - ../include/sys/stat.h
+ - ../include/fcntl.h
+ - ../include/math.h
+ - vcruntime_exception.h
+ - vcruntime_new.h
+ - vcruntime_typeinfo.h
+ #endif
+ - PowrProf.h
+ - BaseTsd.h
+ - iphlpapi.h
+
+- source_filter: "^(?!contrib/python/line_profiler/)"
+ includes:
+ - timers.h
+
+- includes:
+ - cpu-features.h
+ - cuda/include/cuComplex.h
+ - cuda/include/cublas_v2.h
+ - cuda/include/cuda.h
+ - cuda/include/cudnn.h
+ - cuda/include/cufft.h
+ - cuda/include/curand.h
+ - cpuid.h
+ - nan.h
+ - omp.h
+ - stdatomic.h
+ - unlocked-io.h
+ - cygwin/version.h
+ - zircon/syscalls.h
+ - zircon/types.h
+ - zircon/process.h
+ - sys/linux-syscalls.h
+ - tr1/memory
+ - android/log.h
+ - ompt.h
+ # vvvvv ____ because in [geobase/perl/dynamic] does not work ignoring via "// Y_IGNORE"
+ - geobase6/service_getter.hpp
+ - geobase6/timezone_getter.hpp
+ # ^^^^^ ----
+ #if defined(__FreeBSD__)
+ - bluetooth.h
+ - bsdxml.h
+ - devstat.h
+ - ieeefp.h
+ - jail.h
+ - kvm.h
+ - libutil.h
+ - machine/atomic.h
+ - machine/cpu.h
+ - machine/fpu.h
+ - malloc_np.h
+ - netinet/sctp_uio.h
+ - netinet/ip_options.h
+ - netinet/sctp_kdtrace.h
+ - netinet/sctp_lock_bsd.h
+ - netinet/sctp_lock_empty.h
+ - netinet/sctp_os_bsd.h
+ - netinet6/in6_pcb.h
+ - netinet6/ip6_var.h
+ - netinet6/ip6protosw.h
+ - netinet6/scope6_var.h
+ - netipsec/ipsec.h
+ - netipsec/ipsec6.h
+ - netipsec/key.h
+ - opie.h
+ - osreldate.h
+ - opt_sctp.h
+ - pthread_np.h
+ - ripemd.h
+ - sha.h
+ - sha256.h
+ - sha512.h
+ - sys/cpuctl.h
+ - sys/cpuset.h
+ - sys/disklabel.h
+ - sys/endian.h
+ - sys/eventhandler.h
+ - sys/exec.h
+ - sys/extattr.h
+ - sys/filedesc.h
+ - sys/gsb_crc32.h
+ - sys/jail.h
+ - sys/ktrace.h
+ - sys/machine.h
+ - sys/module.h
+ - sys/mpctl.h
+ - sys/mutex.h
+ - sys/rwlock.h
+ - sys/semaphore.h
+ - sys/smp.h
+ - sys/stdint.h
+ - sys/systm.h
+ - sys/thr.h
+ - sys/timespec.h
+ - sys/umtx.h
+ - sys/uuid.h
+ - ucred.h
+ - varargs.h
+ - vm/vm_param.h
+ #endif
+ #if defined(__GNUC__)
+ - varargs.h
+ - stdfix.h
+ - mm_malloc.h
+ - quadmath.h
+ #endif
+ #if defined(_MSC_VER)
+ - comdef.h
+ - comutil.h
+ - concrt.h
+ - crtdefs.h
+ - crtversion.h
+ - eh.h
+ - excpt.h
+ - hash_map
+ - hash_set
+ - ppl.h
+ - ppltasks.h
+ - rtcapi.h
+ - vadefs.h
+ - varargs.h
+ - xlocinfo.h
+ - xstddef
+ - xutility
+ - ymath.h
+ - crtassem.h
+ #endif
+ #if defined(_unix_) && TODO
+ - bits/types/mbstate_t.h
+ - sys/atomic.h
+ - sys/atomic_op.h
+ - sys/bsdskt.h
+ - sys/bsdtty.h
+ - sys/builtin.h
+ - sys/cygwin.h
+ - sys/dcmd_blk.h
+ - sys/devpoll.h
+ - sys/fmutex.h
+ - sys/int_types.h
+ - sys/loadavg.h
+ - sys/localedef.h
+ - sys/machlock.h
+ - sys/mkdev.h
+ - sys/modem.h
+ - sys/ndir.h
+ - sys/port_impl.h
+ - sys/processor.h
+ - sys/pstat.h
+ - sys/system_properties.h
+ - sys/termio.h
+ - sys/timeval.h
+ - machine/bswap.h
+ - machine/sys/inline.h
+ #endif
+ #if defined(_PERL_)
+ - EXTERN.h
+ - perl.h
+ - XSUB.h
+ #endif
+ #if defined(_darwin_)
+ - AEObjects.h
+ - AEPackObject.h
+ - AERegistry.h
+ - AppleEvents.h
+ - Files.h
+ - Gestalt.h
+ - ImageCompression.h
+ - Palettes.h
+ - PictUtils.h
+ - Processes.h
+ - QDOffscreen.h
+ - QuickDraw.h
+ - TextUtils.h
+ - Types.h
+ - sys/_types/_mbstate_t.h
+ #endif
+ #if defined(_OS2_)
+ - os2.h
+ #endif
+ #if defined(_arm_)
+ - arm/limits.h
+ #endif
+ #if defined(_VMS_) && TODO
+ - atrdef.h
+ - dcdef.h
+ - descrip.h
+ - dvsdef.h
+ - fab.h
+ - fibdef.h
+ - gen64def.h
+ - iledef.h
+ - iodef.h
+ - lib$routines.h
+ - libfildef.h
+ - libfisdef.h
+ - lnmdef.h
+ - nam.h
+ - rms.h
+ - rmsdef.h
+ - ssdef.h
+ - starlet.h
+ - str$routines.h
+ - stsdef.h
+ - syidef.h
+ - times.h
+ - unixio.h
+ - tcpSocketVaxRoutines.h
+ #endif
+ #if defined(_SOLARIS_) && TODO
+ - synch.h
+ - sys/byteorder.h
+ #endif
+ #if defined(__MSL__) && TODO && WTF
+ - unix.h
+ #endif
+ #if defined(__sgi)
+ - sgidefs.h
+ #endif
+ #if defined(__BEOS__)
+ - ByteOrder.h
+ - OS.h
+ - support/SupportDefs.h
+ - kernel/OS.h
+ - kernel/image.h
+ #endif
+ #if defined(_sun_)
+ - procfs.h
+ #endif
+ #if defined(__sun)
+ - sys/port.h
+ #endif
+ #if defined(__sun__)
+ - sys/isa_defs.h
+ #endif
+ #if defined(__X11__)
+ - X11/XKBlib.h
+ - X11/keysym.h
+ - X11/extensions/shape.h
+ - X11/extensions/XShm.h
+ - X11/cursorfont.h
+ - X11/Xutil.h
+ - X11/Xresource.h
+ - X11/Xproto.h
+ - X11/Xos.h
+ - X11/Xlocale.h
+ - X11/Xlib.h
+ - X11/Xatom.h
+ - X11/Intrinsic.h
+ #endif
+ #if defined(HAVE_DMALLOC)
+ - dmalloc.h
+ #endif
+ #if defined(HAVE_ALTIVEC)
+ - altivec.h
+ #endif
+ #if defined(__vxWorks__)
+ - vxCpuLib.h
+ - vxWorks.h
+ - sockLib.h
+ - hostLib.h
+ - ioLib.h
+ - iosLib.h
+ - resolvLib.h
+ - rtpLib.h
+ - pipeDrv.h
+ - selectLib.h
+ #endif
+ #if defined(_LIBC) && TRASH
+ - ../locale/localeinfo.h
+ - ../locale/elem-hash.h
+ - ../locale/coll-lookup.h
+ #endif
+ #if defined(_LINUX_ANDROID)
+ - android/api-level.h
+ - android/ndk-version.h
+ #endif
+ #if defined(__HP_aCC)
+ - acxx_demangle.h
+ #endif
+ #if defined(HAVE_CONFIG_H) && TODO
+ - config_auto.h
+ #endif
+ #if defined(_TRASH_) && TODO
+ - openssl/fips.h
+ - tr1/unordered_map
+ - tr1/unordered_set
+ - tr1/type_traits
+ - ext/atomicity.h
+ - bits/c++config.h
+ - bits/atomicity.h
+ - gcrypt.h
+ - gnutls/gnutls.h
+ - gdwmfapi.h
+ - winmmap.h
+ - sf_unistd.h
+ #endif
+ #if defined(__TURBOC__) || defined(__BORLANDC__)
+ - alloc.h
+ #endif
+ #if defined (__DECC) || defined (__DECCXX)
+ - machine/builtins.h
+ #endif
+ #if defined(USE_PERL) && TODO
+ - perliol.h
+ #endif
+ #if defined(__NetBSD__)
+ - lwp.h
+ - perfuse.h
+ #endif
+ #if V8_OS_QNX
+ - sys/syspage.h
+ #endif
+ #if V8_OS_AIX
+ - sys/systemcfg.h
+ - sys/thread.h
+ #endif
+ - mbarrier.h
+ - iostream.h
+ - streambuf.h
+ - ostream.h
+ - slist
+ - nacl/nacl_random.h
+ - jemalloc/jemalloc.h
+ - tr1/tuple
+ - sys/inttypes.h
+ - lockdep.h
+ - memfault.h
+ - memcheck.h
+ - msvc.h
+ - sqlite3userauth.h
+ - linenoise.h
+ - sunmath.h
+ - sys/fpu.h
+ - win32.h
+ - bsd/stdlib.h
+ - bsd/unistd.h
+ - sys/videoio.h
+ - libv4l2.h
+ - soundcard.h
+ - ../ucrt/fcntl.h
+ - ../ucrt/locale.h
+ - ../ucrt/math.h
+ - ../ucrt/signal.h
+ - ../ucrt/sys/stat.h
+ #if defined (CUDA)
+ - math_constants.h
+ #endif
+ #if defined(BUILDING_LIBCURL)
+ - amitcp/socketbasetags.h
+ - clib.h
+ - exec/execbase.h
+ - exec/types.h
+ - extra/strdup.h
+ - extra/stricmp.h
+ - fabdef.h
+ - floss.h
+ - gnutls/crypto.h
+ - gskssl.h
+ - gss.h
+ - hasht.h
+ - ldap_ssl.h
+ - librtmp/rtmp.h
+ - lwip/init.h
+ - lwip/netdb.h
+ - lwip/sockets.h
+ - nettle/des.h
+ - nettle/md4.h
+ - nettle/md5.h
+ - pk11pub.h
+ - proto/dos.h
+ - proto/exec.h
+ - qsoasync.h
+ - stabs.h
+ - tpf/sysapi.h
+ #endif
+ - asm/page.h
+ - asm/sgidefs.h
+ - wrl\client.h
+ - wrl\event.h
+ - wrl\wrappers\corewrappers.h
+ - wrl\ftm.h
+ - bits/char_traits.h
+ - bits/stl_algobase.h
+ - bits/stl_move.h
+ - bits/stl_pair.h
+ - bits/stl_function.h
+ - bits/move.h
+ - ndir.h
+ - ext/rope
+ - sunmedia_types.h
+ - clidef.h
+ - credef.h
+ - dos/dos.h
+ - lbrdef.h
+ - lbr$routines.h
+ - libclidef.h
+ - libguile.h
+ - mhddef.h
+ - pathstuff.h
+ - perror.h
+ - processes.h
+ - sub_proc.h
+ - w32err.h
+ - procinfo.h
+ #if defined(__HAIKU__)
+ - FindDirectory.h
+ - StorageDefs.h
+ #endif
+ - fpxcp.h
+ - fptrap.h
+ - fortran.h
+ - agg_allocator.h
+ - SIOUX.h
+ - sys/siginfo.h
+ #ifdef HAVE_LIBGIMLI_H
+ - libgimli.h
+ #endif
+ #if MATLAB_MEX_FILE
+ - mex.h
+ #else
+ - lzmalib.h
+ # ICU
+ - uconfig_local.h
+ - ucln_local_hook.c
+ - unistrm.h
+ - udbgutil.h
+ - dll.h
+ - ascii_a.h
+ - qusec.h
+ - qusrjobi.h
+ - qliept.h
+ - mih/testptr.h
+ - sys/neutrino.h
+ - cics.h
+ - tr1/cmath
+ - tr1/complex
+ - tbb/scalable_allocator.h
+ - libmemcached/dtrace_probes.h
+ # unknown
+ - win_stdint.h
+ - probes.h
+ - thread.h
+ # mongoc-driver unused includes
+ - tls.h
+ #if metrika then skip bad includes from metrika
+ - boost/thread/detail/lock.hpp
+ #endif metrika
+ - xti.h
+ # libgit2 unused includes
+ - proto/timer.h
+ - mbsupport.h
+ # end of libgit2 unused includes
+ # xray includes
+ - xray/xray_interface.h
+ - attr/xattr.h
+ - fshelp.h
+ - mlib_image.h
+ - selinux/selinux.h
+ - sys/mntctl.h
+ - sys/mnttab.h
+ - sys/systeminfo.h
+ - sys/vfstab.h
+ - sys/vmount.h
+ - CL/sycl.hpp
+ # libpcap files
+ - os-proto.h
+ - pc.h
+ - pharlap.h
+ - msdos/pm_drvr/lock.h
+ - TcApi.h
+ - net/pfvar.h
+ - net/if_pflog.h
+ - netdnet/dnetdb.h
+ - sys/ethernet.h
+ - sys/stream.h
+ - netlink/genl/genl.h
+ - netlink/genl/family.h
+ - netlink/genl/ctrl.h
+ - netlink/msg.h
+ - netlink/attr.h
+ # end libpcap files
+
+# These includes are not used in autocheck builds, but might be necessary for
+# some external builds with exotic settings
+
+- case_sensitive: false
+ includes:
+ - bemapiset.h
+ - cor.h
+ - fusion.h
+ - IPHlpApi.h
+ - metahost.h
+ #if defined(WINDOWS) && defined (_USE_MFC_)
+ - afx.h
+ #endif
+ #if defined(WINDOWS) && CONTRIB && TRASH
+ - ../include/stdint.h
+ #endif
+
+- source_filter: ".*contrib.*"
+ includes:
+ #if defined (__OpenBSD__) && CONTRIB
+ - spinlock.h
+ #endif
+ #if CONTRIB && TODO
+ - MSTcpIP.h
+ - MacSocket.h
+ - WinIoCtl.h
+ - WinPDFCore.h
+ - Winsock2.h
+ - Xm/XmAll.h
+ - aep.h
+ - atalla.h
+ - crypto/cryptodev.h
+ - cswift.h
+ - cxcore.h
+ - efndef
+ - exiv2/types.hpp
+ - hw_4758_cca.h
+ - hw_ubsec.h
+ - hwcryptohook.h
+ - jpidef.h
+ - lckdef.h
+ - libdtdef.h
+ - novsock2.h
+ - openssl/fips_rand.h
+ - openssl/fipssyms.h
+ - openssl/jpake.h
+ - rld_interface.h
+ - screen.h
+ - sureware.h
+ - t_ctype.h
+ - tr1/unordered_map.hpp
+ - typedefs.h
+ - winmain.h
+ - wintext.h
+ - yandex/http/curl_wrapper.hpp
+ - yandex/threads/boost_threaded.hpp
+ - yasm-plugin.h
+ #endif
+ #if CONTRIB && TRASH
+ - macconfig.h
+ - amigaconfig.h
+ - json_batchallocator.h
+ - json_internalarray.inl
+ - json_internalmap.inl
+ - mysql/mysql_version.h
+ - libiberty.h
+ #endif
+
+- includes:
+ - Aclapi.h
+ - tr1/functional
+ - time64.h
+ - extern.h
+ #if defined(__FreeBSD__)
+ - _ctype.h
+ - alias.h
+ - calendar.h
+ - fetch.h
+ - gelf.h
+ - gnuregex.h
+ - kafs.h
+ - login_cap.h
+ - machine/_inttypes.h
+ - machine/_stdint.h
+ - machine/asm.h
+ - machine/in_cksum.h
+ - machine/sigframe.h
+ - machine/sysarch.h
+ - machine/trap.h
+ - md2.h
+ - md4.h
+ - mp.h
+ - pcap-int.h
+ - sys/_iovec.h
+ - sys/_null.h
+ - sys/_pthreadtypes.h
+ - sys/_sigset.h
+ - sys/_timeval.h
+ - sys/devicestat.h
+ - sys/fnv_hash.h
+ - sys/limits.h
+ - sys/priv.h
+ - sys/sched.h
+ - sys/sema.h
+ - sys/stack.h
+ - sys/timers.h
+ - sys/tree.h
+ - tcpd.h
+ - ypclnt.h
+ #endif
+ #if defined (__linux__)
+ - asm/fpu.h
+ - i386/fpu_control.h
+ - zlibdefs.h
+ #endif
+ #if defined(_MSC_VER)
+ - agents.h
+ - allocators
+ - amp.h
+ - collection.h
+ - ConcurrencySal.h
+ - concurrent_priority_queue.h
+ - concurrent_queue.h
+ - concurrent_unordered_map.h
+ - concurrent_unordered_set.h
+ - concurrent_vector.h
+ - vcruntime_new_debug.h
+ - dvec.h
+ - setjmpex.h
+ - srv.h
+ - typeinfo.h
+ - xcomplex
+ - xdebug
+ - xhash
+ - xiosbase
+ - xkeycheck.h
+ - xlocale
+ - xlocinfo
+ - xlocnum
+ - xmemory
+ - xmemory0
+ - xstring
+ - xtr1common
+ - xtree
+ - yvals.h
+ #endif
+ #if defined(_unix_) && TODO
+ - sys/feature_tests.h
+ #endif
+ #if defined(_darwin_)
+ - libkern/version.h
+ - System/pthread_machdep.h
+ #endif
+ #if defined(_VMS_) && TODO
+ - chfdef.h
+ - libdef.h
+ #endif
+ #if defined(__sgi)
+ - sigfpe.h
+ #endif
+ #if defined(__MWERKS__)
+ - nwfileio.h
+ - nwthread.h
+ #endif
+ #if defined(_TRASH_) && TODO
+ - ext/slist
+ - google/profiler.h
+ #endif
+ #if defined(__QNXNTO__)
+ - sys/cpuinline.h
+ #endif
+ #if V8_OS_QNX
+ - backtrace.h
+ #endif
+ - yabs_mx_calc_table.h
+ - net/errno.h
+ - sys/mode.h
+ - nwstdio.h
+ - os2ish.h
+ - vmsish.h
+ - ./plan9/plan9ish.h
+ - ./vos/vosish.h
+ - vos/vosish.h
+ - symbian/symbianish.h
+ - haiku/haikuish.h
+ - nw5thread.h
+ - os2thread.h
+ - netware.h
+ - perldtrace.h
+ - win32thread.h
+ - wince.h
+ - symbian/symbian_proto.h
+ - xconfig.h
+ - bsd/ctypes.h
+ - objc/NXCType.h
+ - appkit/NXCType.h
+ - sfio.h
+ - vmesa/vmesaish.h
+ - sys\stat.h
+ - mpeix/mpeixish.h
+ - epocish.h
+ - beos/beosish.h
+ - WinNT.h
+ - ../../VC/include/stdio.h
+ - ../ucrt/stdio.h
+ #if defined(BUILDING_LIBCURL)
+ - axTLS/ssl.h
+ - certdb.h
+ - cert.h
+ - cyassl/error.h
+ - cyassl/openssl/ssl.h
+ - cyassl/ssl.h
+ - nspr.h
+ - polarssl/certs.h
+ - polarssl/ctr_drbg.h
+ - polarssl/entropy.h
+ - polarssl/error.h
+ - polarssl/havege.h
+ - polarssl/net.h
+ - polarssl/ssl.h
+ - polarssl/version.h
+ - polarssl/x509.h
+ - prerror.h
+ - prio.h
+ - prtypes.h
+ - qsossl.h
+ - secerr.h
+ - secitem.h
+ - secmod.h
+ - secport.h
+ - spnegohelp.h
+ - sslerr.h
+ - sslproto.h
+ #endif
+ - Activation.h
+ - android/native_window.h
+ - Windows.System.Threading.h
+ #if defined(__MINGW32__) || defined(_MSC_VER)
+ - inet_net_pton.h
+ - inet_ntop.h
+ #endif
+ #if EV_USE_IOCP
+ - ev_iocp.c
+ #endif
+ - zend_exceptions.h
+ #if MATLAB_MEX_FILE
+ # unknown
+ - GL/glx.h
+ - CL/va_ext.h
+ - sys/sysconf.h
+ - ivx.hpp
+ - clAmdBlas.h
+ - clAmdFft.h
+ - va/va.h
+ #if metrika then skip bad includes from metrika
+ - yandex/lbs/LBSLocator.hpp
+ #endif metrika
+ # libpcap files
+ - sys/sysconfig.h
+ - sys/device.h
+ - sys/cfgodm.h
+ - cf.h
+ - zone.h
+ - netpacket/if_packet.h
+ # end libpcap files
diff --git a/build/sysincl/valgrind.yml b/build/sysincl/valgrind.yml
new file mode 100644
index 0000000000..de9c6b9f5d
--- /dev/null
+++ b/build/sysincl/valgrind.yml
@@ -0,0 +1,4 @@
+- includes:
+ - valgrind/callgrind.h: contrib/libs/valgrind/valgrind/callgrind.h
+ - valgrind/memcheck.h: contrib/libs/valgrind/valgrind/memcheck.h
+ - valgrind/valgrind.h: contrib/libs/valgrind/valgrind/valgrind.h
diff --git a/build/sysincl/windows.yml b/build/sysincl/windows.yml
new file mode 100644
index 0000000000..26ae7b5bfa
--- /dev/null
+++ b/build/sysincl/windows.yml
@@ -0,0 +1,316 @@
+- case_sensitive: false
+ includes:
+ - accctrl.h
+ - aclapi.h
+ - activation.h
+ - activscp.h
+ - adhoc.h
+ - apiset.h
+ - apisetcconv.h
+ - atltime.h
+ - audioclient.h
+ - authz.h
+ - basetyps.h
+ - bcrypt.h
+ - bits.h
+ - capi.h
+ - cet.h
+ - cfg.h
+ - comdef.h
+ - commctrl.h
+ - commdlg.h
+ - common.ver
+ - compressapi.h
+ - concurrencysal.h
+ - conio.h
+ - consoleapi.h
+ - corecrt.h
+ - corecrt_terminate.h
+ - cpl.h
+ - crtdbg.h
+ - cryptuiapi.h
+ - d2d1.h
+ - d2d1_2.h
+ - d3d10.h
+ - d3d10_1.h
+ - d3d11.h
+ - d3d11_1.h
+ - d3d9.h
+ - d3dcompiler.h
+ - datetimeapi.h
+ - dbgeng.h
+ - dbghelp.h
+ - dbt.h
+ - dcomp.h
+ - debugapi.h
+ - devguid.h
+ - direct.h
+ - dispex.h
+ - dos.h
+ - downloadmgr.h
+ - driverspecs.h
+ - dshow.h
+ - dsound.h
+ - dsparse.h
+ - dv.h
+ - dvdmedia.h
+ - dwrite.h
+ - dxgi.h
+ - dxgi1_2.h
+ - dxgi1_3.h
+ - dxgidebug.h
+ - dxprogrammablecapture.h
+ - dxva.h
+ - dxva2api.h
+ - effects.h
+ - encdec.h
+ - errhandlingapi.h
+ - eventtoken.h
+ - evntprov.h
+ - evntrace.h
+ - exdisp.h
+ - exdispid.h
+ - fci.h
+ - fibersapi.h
+ - fileapi.h
+ - filter.h
+ - fltuser.h
+ - fltuserstructures.h
+ - fttypes.h
+ - fwpmu.h
+ - gb18030.h
+ - gdiplus.h
+ - gdiplusimagecodec.h
+ - gl/gl.h
+ - gl/glu.h
+ - guiddef.h
+ - handleapi.h
+ - heapapi.h
+ - htmlhelp.h
+ - http.h
+ - imagehlp.h
+ - ime_cmodes.h
+ - imm.h
+ - in6addr.h
+ - inaddr.h
+ - initguid.h
+ - inspectable.h
+ - instance.h
+ - interlockedapi.h
+ - intsafe.h
+ - io.h
+ - ioapiset.h
+ - ipexport.h
+ - ipifcons.h
+ - iptypes.h
+ - iwscapi.h
+ - jobapi.h
+ - journal.h
+ - kbd.h
+ - kernelspecs.h
+ - ksmedia.h
+ - ktmtypes.h
+ - libloaderapi.h
+ - lm.h
+ - lmcons.h
+ - lmerr.h
+ - lmstats.h
+ - mbctype.h
+ - mbstring.h
+ - mcx.h
+ - memoryapi.h
+ - mfapi.h
+ - mi.h
+ - minmax.h
+ - minwinbase.h
+ - minwindef.h
+ - mlang.h
+ - mmdeviceapi.h
+ - mmsystem.h
+ - mq.h
+ - mshtmdid.h
+ - mshtmhst.h
+ - mshtml.h
+ - msi.h
+ - msidefs.h
+ - msiquery.h
+ - msp.h
+ - msputils.h
+ - mstcpip.h
+ - mswsock.h
+ - mtx.h
+ - namedpipeapi.h
+ - namespaceapi.h
+ - netioapi.h
+ - new.h
+ - npapi.h
+ - ntdddisk.h
+ - ntddk.h
+ - ntddndis.h
+ - ntdef.h
+ - ntsecapi.h
+ - ntstatus.h
+ - ntverp.h
+ - oaidl.idl
+ - objbase.h
+ - objectarray.h
+ - objidl.h
+ - objsafe.h
+ - ocidl.h
+ - ocidl.idl
+ - odbcss.h
+ - ole.h
+ - ole2.h
+ - oleacc.h
+ - oleauto.h
+ - olectl.h
+ - packon.h
+ - packoff.h
+ - pathcch.h
+ - p2p.h
+ - pdh.h
+ - pdhmsg.h
+ - perflib.h
+ - persist.h
+ - poppack.h
+ - powerbase.h
+ - process.h
+ - processenv.h
+ - processthreadsapi.h
+ - processtopologyapi.h
+ - profileapi.h
+ - provider.h
+ - psapi.h
+ - pshpack1.h
+ - pshpack2.h
+ - pshpack4.h
+ - pshpack8.h
+ - qos.h
+ - ratings.h
+ - realtimeapiset.h
+ - reason.h
+ - richedit.h
+ - roapi.h
+ - robuffer.h
+ - rpc.h
+ - rpcdce.h
+ - rpcndr.h
+ - safeint.h
+ - sal.h
+ - sapi.h
+ - schannel.h
+ - schedule.h
+ - schnlsp.h
+ - scsi.h
+ - sddl.h
+ - sdkddkver.h
+ - sdv_driverspecs.h
+ - security.h
+ - securityappcontainer.h
+ - securitybaseapi.h
+ - sensors.h
+ - sfc.h
+ - share.h
+ - shellapi.h
+ - shlguid.h
+ - shlobj.h
+ - shlwapi.h
+ - specstrings.h
+ - specstrings_strict.h
+ - specstrings_undef.h
+ - spellcheck.h
+ - sperror.h
+ - sspi.h
+ - stralign.h
+ - stringapiset.h
+ - strsafe.h
+ - suppress.h
+ - synchapi.h
+ - sys/locking.h
+ - sys/utime.h
+ - sysinfoapi.h
+ - systemtopologyapi.h
+ - tbs.h
+ - tchar.h
+ - tdi.h
+ - threadpoolapiset.h
+ - threadpoollegacyapiset.h
+ - timezoneapi.h
+ - tlhelp32.h
+ - traffic.h
+ - tune.h
+ - tvout.h
+ - unknwn.h
+ - unknwn.idl
+ - upnp.h
+ - urlmon.h
+ - urlmon.idl
+ - usb.h
+ - userenv.h
+ - usp10.h
+ - utilapiset.h
+ - uxtheme.h
+ - verrsrc.h
+ - versionhelpers.h
+ - vfw.h
+ - wbemidl.h
+ - websocket.h
+ - winapifamily.h
+ - winbase.h
+ - winber.h
+ - wincon.h
+ - wincrypt.h
+ - windef.h
+ - windns.h
+ - windows.applicationmodel.core.h
+ - windows.graphics.display.h
+ - windows.h
+ - windows.storage.h
+ - windows.storage.streams.h
+ - windows.system.threading.h
+ - windows.ui.xaml.h
+ - windows.ui.xaml.media.dxinterop.h
+ - windowsx.h
+ - winerror.h
+ - wingdi.h
+ - winhttp.h
+ - wininet.h
+ - winioctl.h
+ - winldap.h
+ - winnetwk.h
+ - winnls.h
+ - winnt.h
+ - winperf.h
+ - winreg.h
+ - winres.h
+ - winresrc.h
+ - winsdkver.h
+ - winsock.h
+ - winsock2.h
+ - winstring.h
+ - winsvc.h
+ - winternl.h
+ - winuser.h
+ - winver.h
+ - winwlx.h
+ - wnnc.h
+ - wow64apiset.h
+ - wrl.h
+ - wrl/async.h
+ - wrl/client.h
+ - wrl/event.h
+ - wrl/ftm.h
+ - wrl/implements.h
+ - wrl/wrappers/corewrappers.h
+ - ws2bth.h
+ - ws2def.h
+ - ws2ipdef.h
+ - ws2spi.h
+ - ws2tcpip.h
+ - wscapi.h
+ - wspiapi.h
+ - wtsapi32.h
+ - wtypes.h
+ - xa.h
+ - xaudio2.h
+ - xmllite.h