X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/813fb2f63a553c957e917ede5f119b021d6ce391..0a7de7458d150b5d4dffc935ba399be265ef0a1a:/config/MASTER diff --git a/config/MASTER b/config/MASTER index cdacdd750..a4b109d11 100644 --- a/config/MASTER +++ b/config/MASTER @@ -1,7 +1,7 @@ # # Mach Operating System # Copyright (c) 1986 Carnegie-Mellon University -# Copyright 2001-2014 Apple Inc. +# Copyright 2001-2018 Apple Inc. # # All rights reserved. The CMU software License Agreement # specifies the terms and conditions for use and redistribution. @@ -72,20 +72,13 @@ options NO_DIRECT_RPC # for untyped mig servers # options LOOP # loopback support # options VLAN # # options BOND # # +options IF_FAKE # # options AH_ALL_CRYPTO # AH all crypto algs # options IPCOMP_ZLIB # IP compression using zlib # options PF # Packet Filter # -options PF_ALTQ # PF ALTQ (Alternate Queueing) # options PF_ECN # PF use ECN marking # options PFLOG # PF log interface # -options PKTSCHED_CBQ # CBQ packet scheduler # -options PKTSCHED_HFSC # H-FSC packet scheduler # -options PKTSCHED_PRIQ # PRIQ packet scheduler # -options PKTSCHED_FAIRQ # FAIRQ packet scheduler # options MEASURE_BW # interface bandwidth measurement # -options CLASSQ_BLUE # BLUE queueing algorithm # -options CLASSQ_RED # RED queueing algorithm # -options CLASSQ_RIO # RIO queueing algorithm # options DUMMYNET # dummynet support # options TRAFFIC_MGT # traffic management support # options MULTICAST # Internet Protocol Class-D $ @@ -123,6 +116,7 @@ options CONFIG_IMAGEBOOT # local image boot # options CONFIG_MBUF_JUMBO # jumbo cluster pool # options CONFIG_WORKQUEUE # +options CONFIG_WORKLOOP_DEBUG # # # 4.4 filesystems @@ -148,6 +142,7 @@ options CONFIG_TRIGGERS # trigger vnodes # options CONFIG_EXT_RESOLVER # e.g. memberd # options CONFIG_SEARCHFS # searchfs syscall support # options CONFIG_MNT_SUID # allow suid binaries # +options CONFIG_MNT_ROOTSNAP # allow rooting from snapshot # # # NFS support @@ -179,6 +174,8 @@ options CRYPTO # options CRYPTO_SHA2 # options ENCRYPTED_SWAP # +options CONFIG_IMG4 # + options ZLIB # inflate/deflate support # options IF_BRIDGE # @@ -193,7 +190,6 @@ options CONFIG_KN_HASHSIZE=20 # # # configurable vfs related resources # CONFIG_VNODES - used to pre allocate vnode related resources -# CONFIG_VNODE_FREE_MIN - mininmum number of free vnodes # CONFIG_NC_HASH - name cache hash table allocation # CONFIG_VFS_NAMES - name strings # @@ -208,12 +204,6 @@ options CONFIG_VNODES=263168 # options CONFIG_VNODES=10240 # options CONFIG_VNODES=750 # -options CONFIG_VNODE_FREE_MIN=500 # -options CONFIG_VNODE_FREE_MIN=300 # -options CONFIG_VNODE_FREE_MIN=200 # -options CONFIG_VNODE_FREE_MIN=100 # -options CONFIG_VNODE_FREE_MIN=75 # - options CONFIG_NC_HASH=5120 # options CONFIG_NC_HASH=4096 # options CONFIG_NC_HASH=2048 # @@ -295,8 +285,12 @@ options CONFIG_MFCTBLSIZ=16 # # # configurable kernel message buffer size # -options CONFIG_MSG_BSIZE=4096 # -options CONFIG_MSG_BSIZE=16384 # +options CONFIG_MSG_BSIZE_REL=4096 # +options CONFIG_MSG_BSIZE_DEV=4096 # +options CONFIG_MSG_BSIZE_REL=16384 # +options CONFIG_MSG_BSIZE_DEV=131072 # +options CONFIG_MSG_BSIZE=CONFIG_MSG_BSIZE_REL # +options CONFIG_MSG_BSIZE=CONFIG_MSG_BSIZE_DEV # # # maximum size of the per-process Mach IPC table @@ -304,21 +298,19 @@ options CONFIG_MSG_BSIZE=16384 # options CONFIG_IPC_TABLE_ENTRIES_STEPS=64 # 137898 entries # options CONFIG_IPC_TABLE_ENTRIES_STEPS=256 # 300714 entries # - # # configurable kernel - use these options to strip strings from panic # and printf calls. -# no_panic_str - saves around 50K of kernel footprint. # no_printf_str - saves around 45K of kernel footprint. # -options CONFIG_NO_PANIC_STRINGS # options CONFIG_NO_PRINTF_STRINGS # options CONFIG_NO_KPRINTF_STRINGS # # -# use finer-grained lock groups for the proc subsystem +# configurable kernel - general switch to say we are building for an +# embedded device # -options CONFIG_FINE_LOCK_GROUPS # +options CONFIG_EMBEDDED # # support dynamic signing of code @@ -339,6 +331,9 @@ options CONFIG_CODE_DECRYPTION # # options CONFIG_PROTECT # +#allow write-protection of key page +options CONFIG_KEYPAGE_WP # + # # enable per-process memory priority tracking # @@ -384,6 +379,11 @@ options CONFIG_SECLUDED_MEMORY # options CONFIG_BACKGROUND_QUEUE # +# +# Ledger features +# +options CONFIG_LEDGER_INTERVAL_MAX # + # # I/O Scheduling # @@ -399,7 +399,8 @@ options CONFIG_IO_ACCOUNTING # # For now debug is enabled wherever inheritance is # options IMPORTANCE_INHERITANCE # -options IMPORTANCE_DEBUG # +options IMPORTANCE_TRACE # +options IMPORTANCE_DEBUG # options CONFIG_TELEMETRY # @@ -415,6 +416,11 @@ options CONFIG_ECC_LOGGING # # options CONFIG_COREDUMP # +# +# Vnode guards +# +options CONFIG_VNGUARD # + # # Ethernet (ARP) # @@ -460,11 +466,13 @@ pseudo-device random 1 init random_init pseudo-device dtrace 1 init dtrace_init # pseudo-device helper 1 init helper_init # pseudo-device lockstat 1 init lockstat_init # +pseudo-device lockprof 1 init lockprof_init # pseudo-device sdt 1 init sdt_init # pseudo-device systrace 1 init systrace_init # pseudo-device fbt 1 init fbt_init # pseudo-device profile_prvd 1 init profile_init # + # # IOKit configuration options # @@ -483,6 +491,7 @@ options NO_KERNEL_HID # # options LIBKERNCPP # C++ implementation # +options CONFIG_BLOCKS # Blocks runtime # options CONFIG_KXLD # kxld/runtime linking of kexts # options CONFIG_KEC_FIPS # Kernel External Components for FIPS compliance (KEC_FIPS) # @@ -525,7 +534,6 @@ options CONFIG_AUDIT # Kernel auditing # # forcibly suspending tasks when the demand exceeds supply. This # option should be on. # -options MACH_RT options TASK_SWAPPER # # @@ -561,7 +569,7 @@ options MACH_MP_DEBUG # # # operations on each element. # options ZONE_DEBUG # # - +options CONFIG_ZCACHE #Enable per-cpu caching for zones # options CONFIG_ZLEAKS # Live zone leak debugging # # @@ -603,10 +611,13 @@ options NO_KDEBUG # no kernel tracing # # options CONFIG_DTRACE # # +options LOCK_STATS # # + # kernel performance tracing options KPERF # options KPC # + options PGO # # MACH_COUNTERS enables code that handles various counters in the system. @@ -653,9 +664,10 @@ options CONFIG_TASK_MAX=1024 # options CONFIG_TASK_MAX=768 # options CONFIG_TASK_MAX=512 # -options CONFIG_ZONE_MAP_MIN=12582912 # -options CONFIG_ZONE_MAP_MIN=6291456 # -options CONFIG_ZONE_MAP_MIN=1048576 # +# +# Minimum zone map size: 115 MB +# +options CONFIG_ZONE_MAP_MIN=120586240 # # Sizes must be a power of two for the zhash to # be able to just mask off bits instead of mod @@ -716,12 +728,6 @@ options OS_REASON_DEBUG # # options CONFIG_ATM # -# -# Kernel Voucher Attr Manager for BANK -# -options CONFIG_BANK # - - # Group related tasks together into coalitions options CONFIG_COALITIONS # @@ -741,3 +747,22 @@ options VIDEO_CONSOLE # uni-directional output over framebuffer # Syscall options # options CONFIG_REQUIRES_U32_MUNGING # incoming U32 argument structures must be munged to match U64 # + +# +# copyout() instrumentation +# +options COPYOUT_SHIM # Shim for copyout memory analysis via kext # + +# +# Enable hardware correlation of mach absolute time +# across intel/arm boundary +options CONFIG_MACH_BRIDGE_SEND_TIME # # +options CONFIG_MACH_BRIDGE_RECV_TIME # # + +# +# Telemetry for 32-bit process launch +# +options CONFIG_32BIT_TELEMETRY # # + +options CONFIG_QUIESCE_COUNTER # Support for _COMM_PAGE_CPU_QUIESCENT_COUNTER # +