*************************************************************** *************************************************************** 1847 file changed, 28484 insertions(+), 30289 deletions(-) *************************************************************** *************************************************************** ========platform/art between android-8.0.0_r17..android-8.0.0_r23========= Android.mk | 11 +- benchmark/Android.bp | 2 +- build/Android.bp | 6 - build/Android.common_path.mk | 5 + build/Android.gtest.mk | 19 +- build/art.go | 34 + cmdline/cmdline.h | 2 +- cmdline/cmdline_parser.h | 2 +- cmdline/cmdline_parser_test.cc | 3 +- cmdline/cmdline_types.h | 2 + compiler/Android.bp | 4 + compiler/common_compiler_test.cc | 2 +- compiler/compiled_method.h | 48 +- compiler/compiled_method_test.cc | 108 +- compiler/compiler.h | 4 +- compiler/debug/elf_debug_info_writer.h | 4 +- compiler/debug/elf_debug_loc_writer.h | 2 +- compiler/debug/elf_debug_writer.cc | 1 + compiler/debug/elf_debug_writer.h | 2 +- compiler/dex/dex_to_dex_compiler.cc | 2 +- compiler/dex/inline_method_analyser.cc | 7 +- compiler/dex/verification_results.cc | 12 +- compiler/dex/verified_method.cc | 13 +- compiler/dex/verified_method.h | 6 +- compiler/driver/compiled_method_storage.cc | 2 +- compiler/driver/compiled_method_storage_test.cc | 4 +- compiler/driver/compiler_driver-inl.h | 8 +- compiler/driver/compiler_driver.cc | 351 +++-- compiler/driver/compiler_driver.h | 49 +- compiler/driver/compiler_driver_test.cc | 20 +- compiler/driver/compiler_options.cc | 2 +- compiler/driver/compiler_options.h | 6 +- compiler/elf_writer_quick.cc | 2 +- compiler/image_test.cc | 483 +------ compiler/image_test.h | 497 +++++++ .../{compiled_class.h => image_write_read_test.cc} | 31 +- compiler/image_writer.h | 7 +- compiler/intrinsics_list.h | 6 +- compiler/jit/jit_compiler.cc | 5 +- compiler/linker/arm/relative_patcher_arm_base.cc | 50 +- compiler/linker/arm/relative_patcher_arm_base.h | 63 +- compiler/linker/arm/relative_patcher_thumb2.cc | 316 ++++- compiler/linker/arm/relative_patcher_thumb2.h | 90 +- .../linker/arm/relative_patcher_thumb2_test.cc | 915 +++++++++++- compiler/linker/arm64/relative_patcher_arm64.cc | 182 +-- compiler/linker/arm64/relative_patcher_arm64.h | 39 +- .../linker/arm64/relative_patcher_arm64_test.cc | 227 ++- .../linker/mips/relative_patcher_mips32r6_test.cc | 19 +- compiler/linker/mips/relative_patcher_mips_test.cc | 27 +- .../linker/mips64/relative_patcher_mips64_test.cc | 19 +- compiler/linker/multi_oat_relative_patcher.h | 2 +- compiler/linker/multi_oat_relative_patcher_test.cc | 2 +- compiler/linker/relative_patcher_test.h | 10 +- compiler/linker/x86/relative_patcher_x86_test.cc | 13 +- .../linker/x86_64/relative_patcher_x86_64_test.cc | 13 +- compiler/oat_writer.cc | 79 +- compiler/oat_writer.h | 2 +- compiler/optimizing/block_builder.cc | 20 +- compiler/optimizing/bounds_check_elimination.cc | 4 +- .../optimizing/bounds_check_elimination_test.cc | 2 +- compiler/optimizing/code_generator.cc | 25 +- compiler/optimizing/code_generator.h | 10 +- compiler/optimizing/code_generator_arm.cc | 1327 +++++++++++++----- compiler/optimizing/code_generator_arm.h | 79 +- compiler/optimizing/code_generator_arm64.cc | 428 +++--- compiler/optimizing/code_generator_arm64.h | 71 +- compiler/optimizing/code_generator_arm_vixl.cc | 1452 +++++++++++++++----- compiler/optimizing/code_generator_arm_vixl.h | 88 +- compiler/optimizing/code_generator_mips.cc | 761 ++++++---- compiler/optimizing/code_generator_mips.h | 33 +- compiler/optimizing/code_generator_mips64.cc | 309 ++--- compiler/optimizing/code_generator_mips64.h | 41 +- compiler/optimizing/code_generator_vector_arm64.cc | 173 ++- .../optimizing/code_generator_vector_mips64.cc | 642 ++++++++- compiler/optimizing/code_generator_vector_x86.cc | 149 +- .../optimizing/code_generator_vector_x86_64.cc | 153 ++- compiler/optimizing/code_generator_x86.cc | 161 +-- compiler/optimizing/code_generator_x86.h | 13 +- compiler/optimizing/code_generator_x86_64.cc | 106 +- compiler/optimizing/code_generator_x86_64.h | 19 +- compiler/optimizing/code_sinking.cc | 19 +- compiler/optimizing/codegen_test.cc | 30 +- compiler/optimizing/codegen_test_utils.h | 2 +- compiler/optimizing/graph_checker.cc | 22 +- compiler/optimizing/graph_visualizer.cc | 8 + compiler/optimizing/gvn.cc | 4 +- compiler/optimizing/inliner.cc | 21 +- compiler/optimizing/instruction_builder.cc | 132 +- compiler/optimizing/instruction_builder.h | 24 +- compiler/optimizing/instruction_simplifier.cc | 21 +- compiler/optimizing/instruction_simplifier.h | 14 +- .../optimizing/instruction_simplifier_arm64.cc | 13 + compiler/optimizing/instruction_simplifier_arm64.h | 2 + .../optimizing/instruction_simplifier_shared.cc | 58 + .../optimizing/instruction_simplifier_shared.h | 1 + compiler/optimizing/intrinsics.cc | 4 +- compiler/optimizing/intrinsics_arm.cc | 102 +- compiler/optimizing/intrinsics_arm64.cc | 97 +- compiler/optimizing/intrinsics_arm64.h | 3 +- compiler/optimizing/intrinsics_arm_vixl.cc | 108 +- compiler/optimizing/intrinsics_mips.cc | 250 ++-- compiler/optimizing/intrinsics_mips.h | 1 + compiler/optimizing/intrinsics_mips64.cc | 177 ++- compiler/optimizing/intrinsics_mips64.h | 1 + compiler/optimizing/intrinsics_x86.cc | 83 +- compiler/optimizing/intrinsics_x86_64.cc | 87 +- compiler/optimizing/load_store_analysis.cc | 51 + compiler/optimizing/load_store_analysis.h | 518 +++++++ compiler/optimizing/load_store_analysis_test.cc | 187 +++ compiler/optimizing/load_store_elimination.cc | 507 +------ compiler/optimizing/load_store_elimination.h | 9 +- compiler/optimizing/loop_optimization.cc | 312 ++++- compiler/optimizing/loop_optimization.h | 8 +- compiler/optimizing/nodes.cc | 128 +- compiler/optimizing/nodes.h | 249 +++- compiler/optimizing/nodes_shared.h | 43 + compiler/optimizing/nodes_vector.h | 29 +- compiler/optimizing/optimizing_compiler.cc | 35 +- compiler/optimizing/pc_relative_fixups_mips.cc | 15 +- compiler/optimizing/pc_relative_fixups_x86.cc | 4 +- .../optimizing/prepare_for_register_allocation.cc | 39 + .../optimizing/prepare_for_register_allocation.h | 1 + .../optimizing/register_allocator_graph_color.cc | 5 +- compiler/optimizing/scheduler.cc | 40 +- compiler/optimizing/scheduler.h | 5 +- compiler/optimizing/scheduler_arm.cc | 827 +++++++++++ compiler/optimizing/scheduler_arm.h | 163 +++ compiler/optimizing/scheduler_arm64.cc | 151 ++ compiler/optimizing/scheduler_arm64.h | 79 +- compiler/optimizing/scheduler_test.cc | 260 ++-- compiler/optimizing/sharpening.cc | 57 +- compiler/optimizing/sharpening.h | 4 +- compiler/utils/arm/assembler_arm.h | 3 + compiler/utils/arm/assembler_thumb2.cc | 153 ++- compiler/utils/arm/assembler_thumb2.h | 41 +- .../utils/assembler_thumb_test_expected.cc.inc | 4 +- compiler/utils/dedupe_set_test.cc | 2 +- compiler/utils/label.h | 12 +- compiler/utils/managed_register.h | 12 +- compiler/utils/mips64/assembler_mips64.cc | 219 +++ compiler/utils/mips64/assembler_mips64.h | 76 +- compiler/utils/mips64/assembler_mips64_test.cc | 354 ++++- compiler/utils/swap_space.cc | 2 +- compiler/utils/swap_space.h | 2 +- compiler/utils/x86/assembler_x86.cc | 133 ++ compiler/utils/x86/assembler_x86.h | 19 + compiler/utils/x86/assembler_x86_test.cc | 64 + compiler/utils/x86_64/assembler_x86_64.cc | 150 ++ compiler/utils/x86_64/assembler_x86_64.h | 19 + compiler/utils/x86_64/assembler_x86_64_test.cc | 64 + compiler/verifier_deps_test.cc | 2 +- dex2oat/dex2oat.cc | 33 +- dex2oat/dex2oat_test.cc | 9 +- dex2oat/include/dex2oat_return_codes.h | 7 +- dexdump/dexdump_main.cc | 2 +- dexlayout/Android.bp | 18 +- dexlayout/dex_ir.cc | 4 +- dexlayout/dexdiag.cc | 79 +- dexlayout/dexdiag_test.cc | 152 ++ dexlayout/dexlayout.cc | 6 +- dexlayout/dexlayout.h | 3 +- dexlayout/dexlayout_main.cc | 14 +- dexlayout/dexlayout_test.cc | 155 ++- dexlist/dexlist.cc | 2 +- dexoptanalyzer/Android.bp | 2 +- dexoptanalyzer/dexoptanalyzer.cc | 4 +- disassembler/Android.bp | 2 +- disassembler/disassembler_mips.cc | 6 + disassembler/disassembler_x86.cc | 66 +- imgdiag/Android.bp | 2 +- imgdiag/imgdiag_test.cc | 1 + oatdump/Android.bp | 5 +- oatdump/oatdump.cc | 40 +- oatdump/oatdump_image_test.cc | 43 + oatdump/oatdump_test.cc | 225 +-- oatdump/oatdump_test.h | 229 +++ patchoat/Android.bp | 2 +- patchoat/patchoat.cc | 12 +- profman/Android.bp | 2 +- profman/profile_assistant_test.cc | 144 +- profman/profman.cc | 120 +- runtime/Android.bp | 4 +- runtime/arch/arch_test.cc | 14 + runtime/arch/arm/asm_support_arm.h | 30 + runtime/arch/arm/context_arm.cc | 2 +- runtime/arch/arm/entrypoints_init_arm.cc | 61 +- runtime/arch/arm/fault_handler_arm.cc | 2 +- runtime/arch/arm/quick_entrypoints_arm.S | 287 +++- runtime/arch/arm64/context_arm64.cc | 2 +- runtime/arch/arm64/entrypoints_init_arm64.cc | 64 +- runtime/arch/arm64/fault_handler_arm64.cc | 2 +- runtime/arch/arm64/quick_entrypoints_arm64.S | 4 +- runtime/arch/context-inl.h | 55 + runtime/arch/context.cc | 35 +- runtime/arch/context.h | 1 - runtime/arch/instruction_set.cc | 24 +- runtime/arch/instruction_set.h | 72 +- runtime/arch/instruction_set_features.cc | 143 +- runtime/arch/memcmp16.cc | 2 +- runtime/arch/memcmp16.h | 2 +- runtime/arch/mips/entrypoints_init_mips.cc | 48 +- runtime/arch/mips/fault_handler_mips.cc | 2 +- runtime/arch/mips/instruction_set_features_mips.cc | 63 +- runtime/arch/mips/instruction_set_features_mips.h | 12 +- .../mips/instruction_set_features_mips_test.cc | 98 +- runtime/arch/mips/quick_entrypoints_mips.S | 172 ++- runtime/arch/mips64/entrypoints_init_mips64.cc | 44 +- runtime/arch/mips64/fault_handler_mips64.cc | 2 +- runtime/arch/mips64/quick_entrypoints_mips64.S | 157 ++- runtime/arch/x86/entrypoints_init_x86.cc | 18 +- runtime/arch/x86/fault_handler_x86.cc | 2 +- runtime/arch/x86/quick_entrypoints_x86.S | 4 +- runtime/arch/x86/thread_x86.cc | 2 +- runtime/arch/x86_64/entrypoints_init_x86_64.cc | 34 +- runtime/arch/x86_64/quick_entrypoints_x86_64.S | 8 +- runtime/arch/x86_64/thread_x86_64.cc | 2 +- runtime/art_field-inl.h | 7 +- runtime/art_field.h | 4 +- runtime/art_method-inl.h | 4 +- runtime/art_method.h | 20 +- runtime/asm_support.h | 2 + runtime/atomic.cc | 2 +- runtime/barrier_test.cc | 2 +- runtime/base/arena_allocator-inl.h | 34 + runtime/base/arena_allocator.cc | 25 +- runtime/base/arena_allocator.h | 2 +- runtime/base/arena_allocator_test.cc | 51 +- runtime/base/casts.h | 4 +- runtime/base/dumpable-inl.h | 2 +- runtime/base/histogram-inl.h | 2 +- runtime/base/logging.cc | 4 +- runtime/base/mutex-inl.h | 33 + runtime/base/mutex.h | 38 +- runtime/base/mutex_test.cc | 4 +- runtime/base/safe_copy_test.cc | 60 +- runtime/base/scoped_arena_allocator.cc | 4 +- runtime/base/timing_logger.cc | 4 +- runtime/base/unix_file/fd_file.cc | 1 + runtime/base/unix_file/fd_file_test.cc | 14 + runtime/cha.cc | 61 +- runtime/cha.h | 10 +- runtime/cha_test.cc | 64 +- runtime/check_reference_map_visitor.h | 1 + runtime/class_linker.cc | 218 ++- runtime/class_linker.h | 38 +- runtime/class_linker_test.cc | 2 +- runtime/class_table-inl.h | 2 + runtime/class_table.cc | 2 +- runtime/class_table.h | 5 +- runtime/common_dex_operations.h | 12 +- runtime/common_runtime_test.cc | 2 +- runtime/common_runtime_test.h | 19 +- runtime/debugger.cc | 132 +- runtime/dex_cache_resolved_classes.h | 11 +- runtime/dex_file.cc | 18 +- runtime/dex_file.h | 1 - runtime/dex_file_annotations.cc | 2 +- runtime/dex_file_test.cc | 4 +- runtime/dex_file_tracking_registrar.cc | 52 + runtime/dex_file_tracking_registrar.h | 32 + runtime/dex_file_verifier_test.cc | 6 +- runtime/dex_instruction.cc | 83 +- runtime/dex_instruction.h | 97 +- runtime/dex_instruction_list.h | 514 +++---- runtime/dex_instruction_visitor.h | 72 - runtime/dex_instruction_visitor_test.cc | 69 - runtime/dex_method_iterator_test.cc | 2 +- runtime/elf_file.cc | 4 +- runtime/entrypoints/jni/jni_entrypoints.cc | 7 +- runtime/entrypoints/quick/callee_save_frame.h | 9 +- .../quick/quick_default_init_entrypoints.h | 2 +- .../quick/quick_dexcache_entrypoints.cc | 13 +- runtime/entrypoints/quick/quick_entrypoints_list.h | 32 +- .../quick/quick_instrumentation_entrypoints.cc | 2 +- .../quick/quick_trampoline_entrypoints.cc | 3 +- runtime/fault_handler.cc | 2 +- runtime/gc/accounting/bitmap.h | 1 - runtime/gc/accounting/card_table.cc | 2 + runtime/gc/accounting/card_table.h | 11 +- runtime/gc/accounting/heap_bitmap.h | 1 - runtime/gc/accounting/mod_union_table.cc | 8 +- runtime/gc/accounting/mod_union_table_test.cc | 2 +- runtime/gc/accounting/remembered_set.h | 1 - runtime/gc/accounting/space_bitmap.h | 4 +- runtime/gc/allocation_listener.h | 3 +- runtime/gc/allocation_record.cc | 1 + runtime/gc/allocation_record.h | 4 +- runtime/gc/allocator/rosalloc.cc | 2 +- runtime/gc/collector/concurrent_copying-inl.h | 6 +- runtime/gc/collector/concurrent_copying.cc | 216 ++- runtime/gc/collector/concurrent_copying.h | 26 +- runtime/gc/collector/garbage_collector.cc | 3 +- runtime/gc/collector/garbage_collector.h | 81 +- runtime/gc/collector/immune_spaces_test.cc | 4 +- runtime/gc/collector/iteration.h | 100 ++ runtime/gc/collector/mark_compact.cc | 4 +- runtime/gc/collector/mark_compact.h | 1 - runtime/gc/collector/mark_sweep.cc | 4 +- runtime/gc/collector/mark_sweep.h | 1 - runtime/gc/collector/object_byte_pair.h | 44 + runtime/gc/collector/partial_mark_sweep.cc | 2 +- runtime/gc/collector/semi_space.cc | 1 + runtime/gc/collector/semi_space.h | 1 - runtime/gc/collector/sticky_mark_sweep.cc | 8 +- runtime/gc/gc_cause.cc | 3 +- runtime/gc/gc_cause.h | 10 +- runtime/gc/heap-inl.h | 1 + runtime/gc/heap.cc | 84 +- runtime/gc/heap.h | 40 +- runtime/gc/heap_verification_test.cc | 39 +- runtime/gc/reference_processor-inl.h | 2 + runtime/gc/reference_processor.cc | 1 + runtime/gc/reference_processor.h | 2 +- runtime/gc/reference_queue.cc | 1 + runtime/gc/reference_queue.h | 4 +- runtime/gc/scoped_gc_critical_section.cc | 2 +- runtime/gc/space/bump_pointer_space-inl.h | 12 +- runtime/gc/space/bump_pointer_space.cc | 8 + runtime/gc/space/bump_pointer_space.h | 9 +- runtime/gc/space/dlmalloc_space.cc | 1 + runtime/gc/space/image_space.cc | 4 +- runtime/gc/space/image_space.h | 2 +- runtime/gc/space/large_object_space.cc | 9 +- runtime/gc/space/region_space-inl.h | 27 +- runtime/gc/space/region_space.cc | 15 + runtime/gc/space/region_space.h | 10 +- runtime/gc/space/rosalloc_space-inl.h | 36 +- runtime/gc/space/rosalloc_space.cc | 34 + runtime/gc/space/space.cc | 3 +- runtime/gc/space/space.h | 3 +- runtime/gc/space/zygote_space.cc | 4 +- runtime/gc/task_processor_test.cc | 2 +- runtime/gc/verification.cc | 54 +- runtime/gc/verification.h | 11 +- runtime/generated/asm_support_gen.h | 4 +- runtime/handle_scope-inl.h | 2 +- runtime/handle_scope.h | 2 +- runtime/hprof/hprof.cc | 331 +++-- runtime/image.cc | 2 +- runtime/imtable_test.cc | 2 +- runtime/indirect_reference_table-inl.h | 4 +- runtime/indirect_reference_table.cc | 55 + runtime/indirect_reference_table.h | 8 +- runtime/instrumentation_test.cc | 2 +- runtime/intern_table.cc | 2 + runtime/intern_table.h | 3 +- runtime/intern_table_test.cc | 1 + runtime/interpreter/interpreter.cc | 13 +- runtime/interpreter/interpreter_common.cc | 42 +- runtime/interpreter/interpreter_common.h | 3 +- runtime/interpreter/interpreter_intrinsics.cc | 1 + runtime/interpreter/mterp/mips/op_double_to_int.S | 20 +- runtime/interpreter/mterp/mips/op_double_to_long.S | 15 +- runtime/interpreter/mterp/mips/op_float_to_int.S | 19 +- runtime/interpreter/mterp/mips/op_float_to_long.S | 14 +- .../interpreter/mterp/mips64/op_double_to_int.S | 22 +- .../interpreter/mterp/mips64/op_double_to_long.S | 22 +- runtime/interpreter/mterp/mips64/op_float_to_int.S | 22 +- .../interpreter/mterp/mips64/op_float_to_long.S | 22 +- runtime/interpreter/mterp/out/mterp_mips.S | 68 +- runtime/interpreter/mterp/out/mterp_mips64.S | 161 ++- runtime/interpreter/unstarted_runtime.cc | 4 +- runtime/invoke_type.h | 2 +- runtime/java_vm_ext.cc | 82 +- runtime/java_vm_ext.h | 1 + runtime/jdwp/jdwp_adb.cc | 2 +- runtime/jdwp/jdwp_handler.cc | 2 +- runtime/jit/debugger_interface.cc | 4 +- runtime/jit/jit.cc | 18 +- runtime/jit/jit.h | 2 - runtime/jit/jit_code_cache.cc | 41 +- runtime/jit/jit_code_cache.h | 3 +- runtime/jit/profile_compilation_info.cc | 552 ++++++-- runtime/jit/profile_compilation_info.h | 178 ++- runtime/jit/profile_compilation_info_test.cc | 89 +- runtime/jit/profile_saver.cc | 115 +- runtime/jit/profiling_info.h | 4 +- runtime/jni_env_ext.cc | 6 +- runtime/jni_env_ext.h | 1 - runtime/jni_internal.cc | 55 +- runtime/jni_internal.h | 9 - runtime/jni_internal_test.cc | 25 +- runtime/linear_alloc.cc | 2 +- runtime/managed_stack-inl.h | 48 + runtime/managed_stack.cc | 57 + runtime/managed_stack.h | 107 ++ runtime/mem_map_test.cc | 2 + runtime/method_handles.cc | 25 +- runtime/method_handles.h | 3 +- runtime/mirror/accessible_object.h | 1 - runtime/mirror/array.h | 1 - runtime/mirror/class-inl.h | 5 +- runtime/mirror/class.h | 1 - runtime/mirror/class_ext.h | 1 - runtime/mirror/class_loader-inl.h | 2 - runtime/mirror/class_loader.h | 4 + runtime/mirror/dex_cache.cc | 1 + runtime/mirror/executable.h | 1 - runtime/mirror/field-inl.h | 1 - runtime/mirror/field.h | 1 - runtime/mirror/object-inl.h | 3 +- runtime/mirror/object-refvisitor-inl.h | 2 + runtime/mirror/object_test.cc | 2 +- runtime/mirror/reference-inl.h | 8 + runtime/mirror/reference.h | 10 +- runtime/mirror/stack_trace_element.cc | 1 + runtime/mirror/stack_trace_element.h | 1 - runtime/mirror/string.cc | 2 + runtime/mirror/string.h | 1 - runtime/mirror/throwable.cc | 14 + runtime/mirror/throwable.h | 17 +- runtime/modifiers.h | 16 +- runtime/monitor.cc | 21 +- runtime/monitor.h | 9 +- runtime/monitor_android.cc | 130 +- runtime/monitor_linux.cc | 2 +- runtime/monitor_pool.cc | 2 +- runtime/monitor_pool_test.cc | 2 +- runtime/native/dalvik_system_DexFile.cc | 2 + runtime/native/dalvik_system_VMDebug.cc | 3 + runtime/native/dalvik_system_VMRuntime.cc | 2 + runtime/native/dalvik_system_VMStack.cc | 3 + runtime/native/dalvik_system_ZygoteHooks.cc | 5 +- runtime/native/java_lang_Class.cc | 3 + runtime/native/java_lang_Object.cc | 3 + runtime/native/java_lang_String.cc | 3 + runtime/native/java_lang_StringFactory.cc | 3 + runtime/native/java_lang_System.cc | 3 + runtime/native/java_lang_Thread.cc | 3 + runtime/native/java_lang_Throwable.cc | 3 + runtime/native/java_lang_VMClassLoader.cc | 20 +- runtime/native/java_lang_Void.cc | 3 + .../native/java_lang_invoke_MethodHandleImpl.cc | 3 + runtime/native/java_lang_ref_FinalizerReference.cc | 3 + runtime/native/java_lang_ref_Reference.cc | 3 + runtime/native/java_lang_reflect_Array.cc | 5 +- runtime/native/java_lang_reflect_Constructor.cc | 3 + runtime/native/java_lang_reflect_Executable.cc | 2 + runtime/native/java_lang_reflect_Field.cc | 2 + runtime/native/java_lang_reflect_Method.cc | 3 + runtime/native/java_lang_reflect_Parameter.cc | 2 + runtime/native/java_lang_reflect_Proxy.cc | 3 + .../java_util_concurrent_atomic_AtomicLong.cc | 3 + runtime/native/libcore_util_CharsetUtils.cc | 9 +- runtime/native/native_util.h | 45 + .../org_apache_harmony_dalvik_ddmc_DdmServer.cc | 3 + ...org_apache_harmony_dalvik_ddmc_DdmVmInternal.cc | 4 + runtime/native/sun_misc_Unsafe.cc | 14 +- runtime/native_stack_dump.cc | 2 +- runtime/non_debuggable_classes.cc | 2 +- runtime/oat.h | 3 +- runtime/oat_file.h | 5 +- runtime/oat_file_assistant_test.cc | 2 +- runtime/oat_file_manager.cc | 13 +- runtime/oat_quick_method_header.h | 1 + runtime/obj_ptr-inl.h | 2 +- runtime/openjdkjvmti/OpenjdkJvmTi.cc | 2 +- runtime/openjdkjvmti/events.cc | 2 +- runtime/openjdkjvmti/jvmti_weak_table.h | 25 +- runtime/openjdkjvmti/ti_class.cc | 35 +- runtime/openjdkjvmti/ti_dump.cc | 2 +- runtime/openjdkjvmti/ti_field.cc | 2 +- runtime/openjdkjvmti/ti_heap.cc | 1 + runtime/openjdkjvmti/ti_jni.cc | 2 +- runtime/openjdkjvmti/ti_method.cc | 2 +- runtime/openjdkjvmti/ti_monitor.cc | 2 +- runtime/openjdkjvmti/ti_object.cc | 2 +- runtime/openjdkjvmti/ti_phase.cc | 2 +- runtime/openjdkjvmti/ti_properties.cc | 2 +- runtime/openjdkjvmti/ti_redefine.cc | 36 +- runtime/openjdkjvmti/ti_search.cc | 2 +- runtime/openjdkjvmti/ti_stack.cc | 2 +- runtime/openjdkjvmti/ti_thread.cc | 2 +- runtime/openjdkjvmti/ti_thread.h | 2 +- runtime/openjdkjvmti/ti_threadgroup.cc | 2 +- runtime/parsed_options.cc | 3 + runtime/read_barrier-inl.h | 1 + runtime/reference_table.h | 1 - runtime/reference_table_test.cc | 2 +- runtime/runtime-inl.h | 2 - runtime/runtime.cc | 72 +- runtime/runtime.h | 26 +- runtime/runtime_android.cc | 6 +- runtime/runtime_callbacks_test.cc | 3 + runtime/runtime_common.cc | 65 +- runtime/runtime_common.h | 3 +- runtime/runtime_linux.cc | 8 +- runtime/runtime_options.def | 1 + runtime/safe_map.h | 6 + runtime/scoped_thread_state_change-inl.h | 1 + runtime/signal_catcher.cc | 66 +- runtime/signal_catcher.h | 18 +- runtime/stack.cc | 29 +- runtime/stack.h | 80 -- runtime/string_reference.h | 2 +- runtime/thread-current-inl.h | 47 + runtime/thread-inl.h | 42 +- runtime/thread.cc | 96 +- runtime/thread.h | 58 +- runtime/thread_list.cc | 40 +- runtime/thread_list.h | 16 +- runtime/thread_pool.cc | 3 +- runtime/ti/agent.h | 3 +- runtime/trace.cc | 1 + runtime/transaction.cc | 2 + runtime/transaction.h | 3 +- {compiler/utils => runtime}/type_reference.h | 10 +- runtime/verifier/method_verifier.cc | 89 +- runtime/verifier/method_verifier.h | 7 + runtime/verifier/reg_type-inl.h | 103 +- runtime/verifier/reg_type.h | 141 +- runtime/verifier/reg_type_cache-inl.h | 37 + runtime/verifier/reg_type_cache.h | 76 +- runtime/verifier/reg_type_test.cc | 2 +- runtime/verifier/verifier_deps.h | 3 +- runtime/verify_object.h | 1 - runtime/well_known_classes.cc | 2 +- sigchainlib/Android.bp | 6 + test/003-omnibus-opcodes/src/Main.java | 2 +- test/008-exceptions/src/Main.java | 12 +- test/023-many-interfaces/src/ManyInterfaces.java | 6 +- test/024-illegal-access/src/Main.java | 10 +- test/030-bad-finalizer/src/Main.java | 4 +- test/031-class-attributes/src/ClassAttrs.java | 10 +- test/032-concrete-sub/src/ConcreteSub.java | 2 +- test/032-concrete-sub/src/Main.java | 2 +- test/036-finalizer/src/Main.java | 2 +- test/042-new-instance/src/Main.java | 60 +- test/044-proxy/src/BasicTest.java | 12 +- test/044-proxy/src/Clash.java | 4 +- test/044-proxy/src/Clash2.java | 2 +- test/044-proxy/src/Clash3.java | 2 +- test/044-proxy/src/Clash4.java | 2 +- test/044-proxy/src/ConstructorProxy.java | 2 +- test/044-proxy/src/WrappedThrow.java | 32 +- test/045-reflect-array/src/Main.java | 4 +- test/046-reflect/src/Main.java | 28 +- test/048-reflect-v8/src/DefaultDeclared.java | 2 +- test/050-sync-test/src/Main.java | 8 +- test/050-sync-test/src/ThreadDeathHandler.java | 4 +- test/051-thread/src/Main.java | 2 +- test/053-wait-some/src/Main.java | 4 +- test/054-uncaught/src/Main.java | 4 +- test/054-uncaught/src/ThreadDeathHandler.java | 4 +- test/059-finalizer-throw/src/Main.java | 4 +- test/064-field-access/src/Main.java | 32 +- test/065-mismatched-implements/src/Main.java | 2 +- test/066-mismatched-super/src/Main.java | 2 +- test/068-classloader/src/Main.java | 76 +- test/069-field-type/src/Main.java | 2 +- test/070-nio-buffer/src/Main.java | 6 +- test/073-mismatched-field/src/Main.java | 2 +- test/074-gc-thrash/src/Main.java | 16 +- test/075-verification-error/src/Main.java | 18 +- test/077-method-override/src/Main.java | 8 +- test/079-phantom/src/Main.java | 2 +- test/084-class-init/src/Main.java | 14 +- test/086-null-super/src/Main.java | 8 +- test/087-gc-after-link/src/Main.java | 8 +- test/088-monitor-verification/src/Main.java | 2 +- test/092-locale/src/Main.java | 16 +- test/095-switch-MAX_INT/src/Main.java | 2 +- test/098-ddmc/src/Main.java | 60 +- test/100-reflect2/src/Main.java | 4 +- test/101-fibonacci/src/Main.java | 2 +- test/109-suspend-check/src/Main.java | 2 +- test/114-ParallelGC/src/Main.java | 2 +- test/115-native-bridge/check | 20 + test/120-hashcode/src/Main.java | 2 +- test/121-modifiers/info.txt | 2 +- test/130-hprof/src/Main.java | 6 +- test/1337-gc-coverage/gc_coverage.cc | 2 +- test/135-MirandaDispatch/src/Main.java | 2 +- .../136-daemon-jni-shutdown/daemon_jni_shutdown.cc | 2 +- test/137-cfi/cfi.cc | 1 + test/138-duplicate-classes-check/src/Main.java | 2 +- test/138-duplicate-classes-check2/src/Main.java | 2 +- test/141-class-unload/jni_unload.cc | 2 +- test/141-class-unload/src/Main.java | 2 +- test/142-classloader2/src/Main.java | 2 +- test/146-bad-interface/src/Main.java | 2 +- test/148-multithread-gc-annotations/gc_coverage.cc | 2 +- test/155-java-set-resolved-type/src/Main.java | 2 +- .../src/Main.java | 2 +- test/158-app-image-class-table/src/Main.java | 2 +- test/159-app-image-fields/src/Main.java | 2 +- test/1910-transform-with-default/expected.txt | 4 + test/1910-transform-with-default/info.txt | 4 + test/1910-transform-with-default/run | 17 + test/1910-transform-with-default/src/Main.java | 21 + .../src/art/Redefinition.java | 91 ++ .../src/art/Test1910.java | 84 ++ test/301-abstract-protected/src/Main.java | 2 +- test/409-materialized-condition/src/Main.java | 87 ++ test/476-checker-ctor-memory-barrier/src/Main.java | 212 ++- test/487-checker-inline-calls/src/Main.java | 2 +- .../src/Main.java | 6 +- .../src/Main.java | 2 +- .../src/Main.java | 2 +- test/497-inlining-and-class-loader/src/Main.java | 2 +- .../src/Main.java | 6 +- test/527-checker-array-access-simd/expected.txt | 0 test/527-checker-array-access-simd/info.txt | 1 + test/527-checker-array-access-simd/src/Main.java | 223 +++ test/529-checker-unresolved/src/Main.java | 14 +- test/530-checker-lse-ctor-fences/expected.txt | 0 test/530-checker-lse-ctor-fences/info.txt | 1 + test/530-checker-lse-ctor-fences/src/Main.java | 191 +++ test/530-checker-lse2/src/Main.java | 16 + test/551-checker-shifter-operand/build | 2 +- test/551-checker-shifter-operand/src/Main.java | 131 +- test/552-checker-sharpening/src/Main.java | 84 +- test/563-checker-fakestring/smali/TestCase.smali | 11 +- test/569-checker-pattern-replacement/src/Main.java | 107 +- test/570-checker-osr/osr.cc | 1 + .../src/DeoptimizationController.java | 4 +- test/570-checker-select/src/Main.java | 71 + test/595-profile-saving/profile-saving.cc | 1 + test/596-app-images/app_images.cc | 6 + test/596-app-images/src/Main.java | 124 +- test/596-monitor-inflation/monitor_inflation.cc | 2 +- test/597-deopt-new-string/deopt.cc | 1 + test/602-deoptimizeable/src/Main.java | 4 +- test/617-clinit-oome/src/Main.java | 2 +- test/618-checker-induction/src/Main.java | 14 + test/623-checker-loop-regressions/src/Main.java | 80 +- .../src/RacyMisbehavingHelper.java | 2 +- test/638-no-line-number/src/Main.java | 4 +- test/639-checker-code-sinking/src/Main.java | 6 +- test/640-checker-boolean-simd/src/Main.java | 24 + test/640-checker-byte-simd/src/Main.java | 52 +- test/640-checker-char-simd/src/Main.java | 52 +- test/640-checker-double-simd/src/Main.java | 44 +- test/640-checker-float-simd/src/Main.java | 42 + test/640-checker-int-simd/src/Main.java | 156 ++- test/640-checker-long-simd/src/Main.java | 154 ++- test/640-checker-short-simd/src/Main.java | 52 +- test/645-checker-abs-simd/src/Main.java | 178 ++- test/646-checker-hadd-alt-byte/src/Main.java | 44 + test/646-checker-hadd-alt-char/src/Main.java | 44 + test/646-checker-hadd-alt-short/src/Main.java | 44 + test/646-checker-hadd-byte/src/Main.java | 44 + test/646-checker-hadd-char/src/Main.java | 44 + test/646-checker-hadd-short/src/Main.java | 201 +++ test/648-many-direct-methods/build | 25 + test/648-many-direct-methods/expected.txt | 1 + test/648-many-direct-methods/info.txt | 2 + .../util-src/generate_java.py | 137 ++ test/650-checker-inline-access-thunks/expected.txt | 1 + test/650-checker-inline-access-thunks/info.txt | 1 + .../650-checker-inline-access-thunks/src/Main.java | 60 + test/651-checker-byte-simd-minmax/expected.txt | 1 + test/651-checker-byte-simd-minmax/info.txt | 1 + test/651-checker-byte-simd-minmax/src/Main.java | 158 +++ test/651-checker-char-simd-minmax/expected.txt | 1 + test/651-checker-char-simd-minmax/info.txt | 1 + test/651-checker-char-simd-minmax/src/Main.java | 108 ++ test/651-checker-double-simd-minmax/expected.txt | 1 + test/651-checker-double-simd-minmax/info.txt | 1 + test/651-checker-double-simd-minmax/src/Main.java | 126 ++ test/651-checker-float-simd-minmax/expected.txt | 1 + test/651-checker-float-simd-minmax/info.txt | 1 + test/651-checker-float-simd-minmax/src/Main.java | 126 ++ test/651-checker-int-simd-minmax/expected.txt | 1 + test/651-checker-int-simd-minmax/info.txt | 1 + test/651-checker-int-simd-minmax/src/Main.java | 106 ++ test/651-checker-long-simd-minmax/expected.txt | 1 + test/651-checker-long-simd-minmax/info.txt | 1 + test/651-checker-long-simd-minmax/src/Main.java | 108 ++ test/651-checker-short-simd-minmax/expected.txt | 1 + test/651-checker-short-simd-minmax/info.txt | 1 + test/651-checker-short-simd-minmax/src/Main.java | 172 +++ test/659-unpadded-array/expected.txt | 0 test/659-unpadded-array/info.txt | 3 + test/659-unpadded-array/src-art/Main.java | 52 + .../src/DeoptimizationController.java | 4 +- test/906-iterate-heap/expected.txt | 5 +- test/906-iterate-heap/iterate_heap.cc | 10 + test/906-iterate-heap/src/art/Test906.java | 29 +- test/909-attach-agent/src/Main.java | 6 +- test/913-heaps/expected.txt | 2 - test/913-heaps/heaps.cc | 9 + test/913-heaps/src/art/Test913.java | 25 +- test/916-obsolete-jit/src/Main.java | 2 +- test/921-hello-failure/expected.txt | 3 + test/921-hello-failure/src/Iface4.java | 23 + test/921-hello-failure/src/Main.java | 1 + test/921-hello-failure/src/Transform5.java | 21 + test/921-hello-failure/src/Undefault.java | 64 + test/934-load-transform/src/Main.java | 2 +- test/935-non-retransformable/src/Main.java | 2 +- test/938-load-transform-bcp/src-ex/TestMain.java | 2 +- test/938-load-transform-bcp/src/Main.java | 2 +- test/941-recurive-obsolete-jit/src/Main.java | 2 +- test/943-private-recursive-jit/src/Main.java | 2 +- test/947-reflect-method/src/art/Test947.java | 2 +- test/953-invoke-polymorphic-compiler/src/Main.java | 34 +- test/972-default-imt-collision/src/Main.java | 2 +- test/972-iface-super-multidex/src/Main.java | 10 +- test/973-default-multidex/src/Main.java | 2 +- .../source_transform.cc | 2 +- test/988-redefine-use-after-free/expected.txt | 0 test/988-redefine-use-after-free/info.txt | 13 + test/988-redefine-use-after-free/run | 17 + .../src-ex/DexCacheSmash.java | 155 +++ .../src-ex/art/Redefinition.java | 91 ++ test/988-redefine-use-after-free/src/Main.java | 54 + test/Android.bp | 22 +- test/Android.run-test-jvmti-java-library.mk | 4 + test/ManyMethods/ManyMethods.java | 105 ++ test/common/runtime_state.cc | 2 +- test/common/stack_inspect.cc | 2 +- test/etc/default-build | 10 +- test/etc/run-test-jar | 41 +- test/knownfailures.json | 124 +- test/run-test | 8 +- test/testrunner/env.py | 3 + test/testrunner/testrunner.py | 25 +- tools/add_package_property.sh | 29 + tools/ahat/README.txt | 6 + tools/ahat/src/DocString.java | 17 + tools/ahat/src/DominatedList.java | 2 +- tools/ahat/src/HeapTable.java | 20 +- tools/ahat/src/ObjectHandler.java | 68 +- tools/ahat/src/ObjectsHandler.java | 11 +- tools/ahat/src/OverviewHandler.java | 50 +- tools/ahat/src/SiteHandler.java | 13 +- tools/ahat/src/SitePrinter.java | 2 +- tools/ahat/src/SizeTable.java | 106 ++ tools/ahat/src/heapdump/AhatClassInstance.java | 56 +- tools/ahat/src/heapdump/AhatHeap.java | 8 +- tools/ahat/src/heapdump/AhatInstance.java | 77 +- .../ahat/src/heapdump/AhatPlaceHolderClassObj.java | 12 +- .../ahat/src/heapdump/AhatPlaceHolderInstance.java | 12 +- tools/ahat/src/heapdump/AhatSnapshot.java | 17 +- tools/ahat/src/heapdump/Perflib.java | 91 ++ tools/ahat/src/heapdump/Site.java | 38 +- tools/ahat/src/heapdump/Size.java | 89 ++ tools/ahat/src/heapdump/Sort.java | 21 +- tools/ahat/src/manifest.txt | 2 +- tools/ahat/test-dump/Main.java | 6 + tools/ahat/test/InstanceTest.java | 5 +- tools/ahat/test/NativeAllocationTest.java | 37 + tools/ahat/test/Tests.java | 1 + tools/asan.sh | 21 + tools/cpp-define-generator/constant_card_table.def | 25 + tools/cpp-define-generator/offsets_all.def | 1 + tools/dexfuzz/src/dexfuzz/DexFuzz.java | 9 +- tools/dexfuzz/src/dexfuzz/Options.java | 4 + tools/jfuzz/run_dex_fuzz_test.py | 11 +- tools/jfuzz/run_jfuzz_test.py | 16 +- tools/jfuzz/run_jfuzz_test_nightly.py | 10 +- tools/setup-buildbot-device.sh | 8 +- 753 files changed, 24379 insertions(+), 8145 deletions(-) 165ba42d5 ART: Make Touch's stack array smaller under ASAN 2dc01ce7f ART: Change main-thread thread paging scheme 4ca02b5b0 ART: Make Touch's stack array smaller under ASAN a79db76ce ART: Change main-thread thread paging scheme c638989e3 Only update declared methods during class redefinition. 854b3503a ART: Make Touch's stack array smaller under ASAN afb2b33f8 ART: Change main-thread thread paging scheme 0436bb29e Fix region space when used with SetLengthToUsableSizeVisitor. 098ae7f0c ART: Change StringTable to unordered_set 5b92a70d9 ART: Change StringTable for RecentAllocations d412d7b98 ART: Presize output vector in RecentAllocations d236626aa ART: Add VLOGs to GetRecentAllocations f9f9593b0 ART: Improve Dbg::GetRecentAllocations 588d2fbd9 Temporarily always enable dexlayout output verification. a77f3c91a ARM64: Restore FP registers in read barrier thunk. 4b4c0f1c0 Interpreter: Save and restore object result register. d983346b2 Handle spurious wakeups in VerifyClass 1fb4a7b5d [DO NOT MERGE] Disable non-functional test in oc-dev. e27c2136d Dump heap reference adjacent memory for logging corruption 0f2531be0 Restore profile saver priority in GC critical section 2ed6cce6f Only look for method optimization annotations in the bootstrap class loader. 87a619f43 Make waiting for blocking GC more intuitive a5385510c Fix the stack at the beginning of the Generic JNI trampoline. 860626e1a Fix braino when handling branches fallthrough in arm backend. 0ffbe5f14 ART: Refactor abort code bcd163d55 Check that classes are resolved in GetMethodsVisitor 28b5c5820 Dump startup and post startup methods for --dump-only 7c928f0f9 Combine madvise for clearing region space 48fde370a ART: Restrict dex2oat watchdog dumping to host f0fc4c6c9 ARM64: SIMD instruction scheduling. aa5684df4 MIPS32: Add MSA instruction set feature option 508fdf3eb ART: Small class-inl.h cleanup 2ff3b9750 ART: More header cleanups 5d08fcc21 ART: More header cleanups 201e297b8 Don't treat proxy methods as compilable 57cf00bde ART: Remove old object_callbacks.h includes 8f987427c Fixed installation time regression when compile. 43ee054a3 ART: Use dex2oat watchdog in host run-test cd607315e ART: Add thread dump to dex2oat watchdog 5544e721c ART: Replace some '\n' with std::endl 3e0036320 ART: Increase stack overflow guard for x86 sanitization d2c03b558 ART: Add method names to lock-contention samples 6e92fb33d Pass through inputs beyond arguments in invoke. 73dd3a2ce ART: Disable test 137 for ASAN 98e36939c ART: Disable test 071-dexfile-map-clean for ASAN 177701a6f ART: Add custom check script to run-test 115 fa6b0345a ART: Disable test 202 for ASAN 46e75d00e Avoid holding mutator lock while calling dlsym e59cb8164 ART: Rework monitor_android to use liblog helpers 07f062146 Fix redefinition related use-after-free bug ea650f3bc Move profiles to use bitmaps for startup methods 0bb4031b9 Added DexFileAsanRegistrar and necessary additions fdd513d6c Move to release CAS for updating object fields ae4c845b2 Revert "Change thread suspend timeout to be fatal for non-debug" f6c66c334 Tests: never use System.err 8523ea11a Fixed bug in relying on precise FP in periodic sequence. 4ee8e291a Revert^3 "ART: Reference.getReferent intrinsic for x86 and x86_64" d254f5c0d Revert "ART: Reference.getReferent intrinsic for arm and arm64" b486a98aa ART: Introduce thread-current-inl.h 847e6ce98 Rename kDexCacheViaMethod to kRuntimeCall for HLoadClass/String. ec32f6402 Delay allocating environment locations. 72a75f7d6 Fix build failure in scheduler_arm with ART_USE_OLD_ARM_BACKEND=1 c6fe427cc ART: Refactor HandleUnexpectedSignalCommon 39b98113c ART: Move source owner data to LogContentionEvent ecfa103ca Added DexFileAsanRegistrar and necessary additions 513061a79 ART: Clean up thread.h and thread_list.h c137cb03a Bump oat version 888310802 ART: Allow unlimited PushLocalFrame 0ece10df5 ART: Add IRT table size limit and overflow checks 7d9f425ed Revert "test" 20acb0c7c ART: Remove special RegisterNatives code 87583b3de ART: Move RegisterNatives helper 08556886a Handle gracefully profiles with invalid classes or methods 1a87c1f34 Fix race between System.out.println & System.err.println in 087-gc-after-link f044c229e Add access flag for previously warm methods 04de4fe1a sigchain: properly block signal when we forward. 3e08ab5eb test 655c6fd9f ART: Increase stack overflow guard for sanitization 762ef842d Fixed Literal String intern mismatch. e0f02b785 signal_catcher: track tombstoned API changes. d49012909 ART: Clean up heap headers 88ca8ba34 Relax an assert in AssertPcIsWithinQuickCode() 00286db78 Reset JIT method counters to 0 instead of 1 when clearing. f0446e9c7 ART: Misc header cleanups 2af99028f ART: More header cleanup - class_linker.h d482e73fe ART: More header cleanup - runtime.h a14100ccf ART: More header cleanup - jni_internal.h 6368170ee ART: Add comments to dex2oat return codes bf1cb77aa ART: Use templates for VerifyInstruction 29e814295 ART: Add some UNLIKELY in the verifier 8ea4eec91 ART: Mark some functions as always-inline deae7db58 ART: Add missing namespace comments 8d01c3708 ART: Remove unique_ptr release warnings 4b3d690c3 Fix OOME handling in VMClassLoader.getBootClassPathEntries(). 19680d365 MIPS64: ART Vectorizer 6079dca30 MIPS32R2: Fix MethodLoadKind::kBootImageLinkTimePcRelative d00e02b76 Fix dexlayout fixed point test cc1045038 Simplify CHA dependency tracking data structure. 2419cb78c MIPS: Drop unnecessary code for R6 in interpreter (NAN2008) a4acabf6b Update ahat version number to 1.2. dbddc22f5 Refactor profiles to use TypeReference instead of ClassReference 5ea841371 Stop interpreter from accessing code items of compiled code. e6f87cc95 Fix compiler crash due to inline caches and improve docs e71d68784 Fully support static encoded fields. 7b497ee08 Ensure libopenjdk{,jvm,jvmti}d gets built with build-art target e16c3bf54 Remove segfault. 3ee4bff4e Show RegisteredNativeAllocation sizes in ahat. 5232be6bc ART: Remove RegisterNativeMethods special-casing 352b17af5 Flush data cache after updating the JIT table. bc9f10ce5 ART: Move overflow gap definition to art.go 705543e43 ART: Clean up instruction_set.h 0dd7e852c ART: Add simple failure list to tail of testrunner output 01f7743b1 ART: Fix some pedantic warnings 75e4b2af3 Use HeapGrowthMultiplier for native allocaitons 5115efb33 ART: Fix soong defaults order af44e6c5c Do not deopt when using AOT inline caches 61b68fdfb ART: Make run-test-jvmti-java only depend on core 304c8a5df Support for narrow operands in "dangerous" operations. b9bec2e38 Record types when the interpreter executes intrinsics. 8405cc235 knownfailures: Remove trailing semicolon. 4c0fe0240 Don't show sizes with sample paths. 73d4665c7 ART: Remove 987-stack-dumping from known failures. 19d7d50c0 ARM64: Fix IsAdrpPatch(). fd522533b ARM: Specify if some branches go to far targets eb7103374 ART: Use file descriptors handed out by tombstoned for traces. 798ba16bd Use DeletableArenaObject for DexFileData f20729914 optimizing: Fix a potential nullptr dereference a39fd9800 Record inline caches only for the strictly hot methods 9231690d5 Revert "Support for narrow operands in "dangerous" operations." cc3171ab3 Use arena allocation for profiles 28b6e7e67 Deal with ASAN alloc-dealloc mismatch in class transformation code. 3a2c55cf8 ART: Add class instance fields in hprof dumps 4df31208f testing: Allow adb sync to succeed when vendor is full 6597946d2 Use PC-relative pointer to boot image methods. e952792fd ahat: better handle bitmaps without pixel info available. c2d199beb Kill logd first thing. eda7d3d7e FdFile: fix operator=(FdFile&&) 5601d4e18 Revert "Revert "ARM: Improve the code generated for HCondition with a constant input"" 96f4c3cd9 Use DumpObjectInfo in CheckPreconditionsForAllocObject b93d5b1f3 Go to suspended before waiting for GC to complete. 89b858430 ART: Disable sanitization for sigchainlib 76c766580 heap: Tolerate rosalloc allocation races in the heap visitor c239a2bb9 Create load store analysis pass 5f2a2fcdb ART: Reserve sentinel early 3bada4be0 Avoid binding const references to temporaries. 02ef64033 Added a fixed point test in dexlayout 636e870d5 Support for narrow operands in "dangerous" operations. 66aae3b21 Move some profman messages from LOG(ERROR) to LOG(WARNING) 4ce0c765c Send holder to Mark in ConcurrentCopying::Process for GC verification 5f80500bb Made idiom recognition more robust. 79d8fa7c5 optimizing: Build HConstructorFence for HNewArray/HNewInstance nodes ef65271c5 Revert "Stop interpreter from accessing code items of compiled code." 5f07820bd Use StringBssEntry for testing PC-relative patching. 39100372d Use GC critical section for profile saver dcab19095 Do not cache profiles in the ProfileSaver. 2058b1d1a Make dexdump2 more forgiving on closing not-live register. 367b9d869 Also return vdex file from DexFile.getDexFileOutputPath d9dc62add Add some additional jvmti-stress skips a07394a0f Enable dex diff check on debug builds. 00916b9eb X86: Fix LoadString/Class for non-PIC boot image. 5840839a8 ART: Disable detect_leaks in run-tests ed81c1d33 ART: Disable alloc_dealloc_mismatch in run-tests b31a8e74d ART: Add RUN_TEST_ASAN_OPTIONS 2fad527dd Ignore --compile-pic option for JIT. 42ae05ad5 ART: Improve RegType::IsAssignableFrom ad63fe5f3 MIPS: Improve object lock/unlock. daacc5ed7 Quiet run for nightly fuzzing (and some minor edits) 178dce792 Stop interpreter from accessing code items of compiled code. 0897e1c40 ART: Let JIT tasks finish under sanitization 74979b1a7 ART: Add UNLIKELY in verifier b3937e311 ART: Collect instruction flags in a struct 764d454d1 Remove LoadString/Class kind kBootImageLinkTimeAddress. da1da8a78 Revert "Revert "RegisterNativeAllocation: Avoid case of double blocking gc."" 602b1c142 Revert "RegisterNativeAllocation: Avoid case of double blocking gc." 8df0f36b4 RegisterNativeAllocation: Avoid case of double blocking gc. 39e673811 ART: Fix iterator invalidation 5629d2ded ART: Move JIT code cache sentinel to sentinel fault page 2ac67d526 ART: Reserve sentinel fault page 365719c23 No need to lock when calling Thread.interrupted. 3738e98cb Fix determinism for app images 6b2018f4b sigchain: limit use of SetHandlingSignal. c8e93c736 Min/max SIMDization support. 118951601 ART: Cache AoT state in verifier ae08cc2c2 ART: Split out old instruction flags e05cc6625 ART: Add experimental constexpr 6fb693a39 ART: Delete dex_instruction_visitor 121f1482c ART: Add arena tracking mode fd4d0d3eb sigchain: always call InitializeSignalChain on startup. 4b8a96be8 Revert "Revert "Profile compression: Replace method index with difference with the last method_index"" 4d198e08d Revert "Revert "Compress profile files"" 26699c6b6 ART: Refactor VerifiedMethod 13056a172 Revert "Revert "Use IsMarked instead of Mark for profiling info."" f4e23a8a6 MIPS: Drop unnecessary code for R6 (NAN2008) bb84610d2 ART: Remove CompiledClass 1cf1fe295 Revert "Compress profile files" 509d42402 Revert "Profile compression: Replace method index with difference with the last method_index" 24bd3f9d6 Clear odex/vdex/art file before running run-test d59f564f9 Profile compression: Replace method index with difference with the last method_index 4f0a15a85 Compress profile files 6ca115b5f Use a sentinel when clearing JIT table entries. 3afefba4b Revert "Use IsMarked instead of Mark for profiling info." 7d157fcaa Clean up some uses of "auto". e1811ed6b ARM64: Share address computation across SIMD LDRs/STRs. 383701123 MIPS64: Add ilvr.df MSA instructions 2abb686dd Add test for getError() of NativeBridge. a30183dfe Use IsMarked instead of Mark for profiling info. cdae15f67 Remove 597-deopt-new-string from blacklist. 093a6fbca Fix page accounting for multidex 2665bc815 Add explicit default copy constructor 6e6444508 ART: Make GC Pause Listener more precise b59d5fbcd ARM/ARM64: Clean up relative patchers. 3082661d2 Revert "ARM: Improve the code generated for HCondition with a constant input" 81cc43e7d Fix braino in enum use. cf7127b4a ART: Fix null dereference for JSR45 4e92c3ce7 Add runtime reasons for deopt. 2eb25e451 ART: Add IterateThroughHeapExt f787fd3bc ART: Refactor IterateThroughHeap 8fd2694aa Testrunner: Fix concurrecy for --target 50e20d546 Moved knowledge on masking shift operands to simplifier. 88abba2b0 ARM/AOT: Allow 16-bit LDR for Baker read barrier loads. 7050f9d4e Disable test 640-checker-integer-valueof in PIC mode 36930eca8 Be defensive in dex2oat when updating the vdex in-place. e523aba99 Add test for access thunk inlining. 9c48ee5ba Lower flock LOG(FATAL) to LOG(WARNING) df674c450 Do not fsync profiles on close 95c466dd3 ART: Fix GetErrorName. b4949f536 Testrunner: Fix --gdb issue b404f349d ARM: Improve the code generated for HCondition with a constant input 89112da43 Extra test on coupled induction. d8b6a5307 MIPS64: Saves 128-bit vector registers along SuspendCheckSlowPath f97769196 Bump oat version after compiler filter name changes. 8b5d9b614 Resolve the tracked locations in profile saver f7caf682c Instruction scheduling for ARM. 326c1a28c Check static field initial value types match in dex file verifier. ff48700df Improve the implementation of UnsafeCASObject with Baker read barriers. 0a51fc304 Refactor Baker CC read barrier link-time thunk generation. eee1c0ec2 ARM: Link-time generated thunks for Baker CC read barrier. f4a67fd8d ART: Disable parts of tests under sanitization 357c66dcc Revert "Revert "Ensure dex file are extracted and verified at load time"" d73aba4f0 ART: Add Heap JVMTI extension API 592f80293 Dexdiag returns error when no maps found 5daee9064 Add dexlayout support for call sites and method handles. 4ae432df0 optimizing: Fix undefined behavior in graph checker e39e702b7 ARM/VIXL: Remove obsolete DeduplicateDexCacheAddressLiteral(). 741d426f2 Handle safe mode in PackageManager. a3cb13279 MIPS: Check for forwarding address in READ_BARRIER_MARK_REG. a164ec5b3 ART: Fix test 912 e8857fe33 ART: Change alloc-space begin for x86 ASAN a9a4f5f30 Fix CHECK for is_using_read_barrier_entrypoints 9bfc6bb1f Revert "Ensure dex file are extracted and verified at load time" 55232f13e Add dexdiag_test e22445fba Fixed bug due to not updating TC information (with regression test) d2510c92e Ensure dex file are extracted and verified at load time 952b23505 Improve the documentation of an ARM64 parallel move resolver corner case. 07f01dfa2 inliner: Do not assume that the outermost_graph has an art method 806843aa2 Increase profile saver minimum save period to 40 seconds 7acddd830 Don't use free list LOS for --force-determinism. 3768adec2 Revert "Revert "Add concurrent card graying for immune spaces"" 8275fbacc runtime: Properly unload partially loaded image spaces c4bed16da ART: Change shutdown order 14fc9db5c Update smali/baksmali command syntax for v2.2.0 c12253611 Fix length of descriptor field when reading debug info. 1352f13e7 Split image_test and oatdump_test. d01745ef8 optimizing: constructor fence redundancy elimination - remove dmb after LSE d81047086 ART: Additional verifier flags for invoke-custom f5bea5e9a Document some dex2oat command line options. 5fa822dd1 Revive ART run-test 648-many-direct-methods for non-debug mode. 6c3af1660 Use dex2oat instead of dex2oatd in non-debug run-tests. c83dd7bfd Revert "Add concurrent card graying for immune spaces" 65ffd8ef0 Bug fix on shift that exceeds "lane width". ef496d9a0 Add basic heap corruption detection ConcurrentCopying::Copy d58bc3212 Allow same-length integral type mixing in SIMD. 612ff540c Increase GC card size to 1024 88d329a69 Add concurrent card graying for immune spaces c61c07611 MIPS: Change remaining entrypoints to save everything. b4be87198 StringReference comparator operator is missing const 5633ce718 MIPS: java.lang.Integer.valueOf intrinsic. 8cf00fab1 ART: Change dchecked_integral_cast logging a3856d0d8 Add concurrent card graying for immune spaces c8e3520f5 ART: Don't let dex2oat compile image space 88307edcd Fix up code warning and errors 5c525746c oat_file_manager: Avoid global collision check. 472821b21 Enable string "array get" vectorization. 468473954 Honor --force-determinism for vdex. 095d6a6be Fix unquickening in the presence of duplicate methods. de66d035c Relax 030-bad-finalizer test b166f4134 Only log a few types of GC causes for the blocking cases fbc4f118a If a profile is passed, we should always pass output-vdex and input-vdex. fa67602fd Add test gcstress 968 to knownfailures.json 3d5059362 Do not reference test 648-many-direct-methods in test/knownfailures.json. 4e868fa7b Make vdex and dexlayout compatible. 3923703e7 SignalCatcher: Minor tweaks to log message. eed8ca459 Remove ART run-test 648-many-direct-methods. fd80b1783 ART: Blacklist dex2oat test under sanitization 08c277cec ART: Fix leaks in oat symbolizer 08ae77f11 ART: Free resources in dexlayout 2ae2ddae1 ART: Destroy temporary holder in dex_ir 39f44b745 ART: Shut down runtime in dexoptanalyzer b8cc17545 ART: Shut down runtime in patchoat eac4f2813 ART: Fix UnstartedRuntime unique_ptr braino afdcbcb56 Remove some hardcoded cases of kCardShift a62b453e6 Use stack allocated context for VisitRoots d212d5b4d Allow dexlayout to handle duplicate code items. 72155d2f0 fix a null pointer dereference d7a3a673e Disable ART run-test 648-many-direct-methods with "no-image". d77156a5e Disable test 648 on speed-profile. 77d8a1c35 Revert^2 "ART: Support for SourceDebugExtension" db14fcf45 Pack booleans in the already existing bit field. 996f75eed Improve accounting of native roots in hprof 3cf6a70e7 Ignore an additional thread in test 911 9e6571eed test: Blacklist 987-stack-trace-dumping for javac/dx 66d691de2 ARM64: Link-time generated thunks for ArrayGet Baker CC read barrier. 08e9eed8f Allow stripped APK to be compiled with a vdex. 56891d9bd Disable ART run-test 648-many-direct-methods with AOT. 84695aef8 ART: Support per PID stack trace files. c98181648 Lower profiler saver thread priority. 8889a8974 testrunner: Forward --build-with-javac-dx to run-test 36a282b87 Layout codeitems based on profile data ec0885ea5 Add more cts tests 6d7abbd23 ART: More header cleanup - method_verifier.h 0dfc315a0 ART: More header cleanup - mem_map.h 291ce17ad ART: More header cleanup - CC 68dda8f20 Disable some heap verification test cases for memory tool 6680e3394 Handle classes with a huge number of direct methods. 21b0c29e6 Remove unneeded shims and jni binding code 6530cab77 Revert "ART: Support for SourceDebugExtension" 9aef9924c Handle null WellKnownClasses::java_lang_Object b81e9e90e Improve deterministic boot image compilation with CC collector. 3a842f5ad ART: Add method verifier check for call site id 80248d7ba MIPS64: Add add_a.df, ave_s/u.df and aver_s/u.df MSA instructions 23caed84e Lower profiler saver thread priority. 49cda06d5 Rename and obsolete compiler filter names. 70a45017d ART: Support for SourceDebugExtension bc6085c61 Fix bug in vectorization of charAt, with regression test 8cf2bc89e Lower daemons priority to 124 (art). 6d482aa01 MIPS32: Implement branchless HCondition for longs ========platform/bionic between android-8.0.0_r17..android-8.0.0_r23========= android-changes-for-ndk-developers.md | 10 + libc/Android.bp | 159 +++--- libc/NOTICE | 85 ++- libc/SYSCALLS.TXT | 12 +- libc/arch-arm/bionic/atexit_legacy.c | 4 +- libc/arch-arm/cortex-a15/bionic/__strcat_chk.S | 4 + libc/arch-arm/cortex-a15/bionic/__strcpy_chk.S | 4 + libc/arch-arm/cortex-a15/bionic/memcpy.S | 4 + libc/arch-arm/cortex-a15/bionic/memset.S | 4 + libc/arch-arm/cortex-a15/bionic/strcmp.S | 4 + libc/arch-arm/cortex-a53/bionic/__strcat_chk.S | 4 + libc/arch-arm/cortex-a53/bionic/__strcpy_chk.S | 4 + libc/arch-arm/cortex-a53/bionic/memcpy.S | 4 + libc/arch-arm/cortex-a7/bionic/__strcat_chk.S | 4 + libc/arch-arm/cortex-a7/bionic/__strcpy_chk.S | 4 + libc/arch-arm/cortex-a7/bionic/memcpy.S | 4 + libc/arch-arm/cortex-a7/bionic/memset.S | 4 + libc/arch-arm/denver/bionic/__strcat_chk.S | 4 + libc/arch-arm/denver/bionic/__strcpy_chk.S | 4 + libc/arch-arm/denver/bionic/memcpy.S | 4 + libc/arch-arm/krait/bionic/__strcat_chk.S | 4 + libc/arch-arm/krait/bionic/__strcpy_chk.S | 4 + libc/arch-arm/kryo/bionic/memcpy.S | 138 +++++ libc/arch-arm64/bionic/crtbegin.c | 70 --- libc/arch-arm64/generic/bionic/memchr.S | 55 +- libc/arch-arm64/generic/bionic/strchr.S | 3 +- libc/arch-common/bionic/crtbegin.c | 38 +- libc/arch-common/bionic/crtbegin_so.c | 3 - libc/arch-mips/bionic/cacheflush.cpp | 5 +- .../{clock_gettime.S => __clock_gettime.S} | 4 +- .../syscalls/{gettimeofday.S => __gettimeofday.S} | 4 +- .../{clock_gettime.S => __clock_gettime.S} | 5 +- .../syscalls/{gettimeofday.S => __gettimeofday.S} | 5 +- libc/arch-x86/bionic/__set_tls.cpp | 6 +- libc/async_safe/Android.bp | 16 + libc/async_safe/async_safe_log.cpp | 576 +++++++++++++++++++ .../include/async_safe/log.h} | 43 +- libc/bionic/NetdClient.cpp | 5 +- libc/bionic/__cxa_pure_virtual.cpp | 4 +- libc/bionic/__libc_current_sigrtmax.cpp | 2 + libc/bionic/__libc_current_sigrtmin.cpp | 2 + libc/bionic/__stack_chk_fail.cpp | 5 +- libc/bionic/abort.cpp | 25 +- libc/bionic/assert.cpp | 8 +- libc/bionic/bionic_arc4random.cpp | 8 +- libc/bionic/bionic_systrace.cpp | 47 +- libc/bionic/clone.cpp | 1 + libc/bionic/exec.cpp | 12 +- libc/bionic/fork.cpp | 1 - libc/bionic/fortify.cpp | 13 +- libc/bionic/gettid.cpp | 1 + libc/bionic/grp_pwd.cpp | 1 - libc/bionic/icu.cpp | 10 +- libc/bionic/libc_init_common.cpp | 16 +- libc/bionic/libc_logging.cpp | 630 --------------------- libc/bionic/malloc_common.cpp | 6 +- libc/bionic/memmem.cpp | 2 +- libc/bionic/ndk_cruft.cpp | 6 +- libc/bionic/new.cpp | 6 +- libc/bionic/open.cpp | 2 +- libc/bionic/pthread_attr.cpp | 13 +- libc/bionic/pthread_create.cpp | 27 +- libc/bionic/pthread_internal.cpp | 7 +- libc/bionic/setjmp_cookie.cpp | 9 +- libc/bionic/strerror_r.cpp | 5 +- libc/bionic/syslog.cpp | 6 +- libc/bionic/system_properties.cpp | 104 ++-- libc/bionic/vdso.cpp | 9 - libc/dns/include/resolv_netid.h | 6 +- libc/dns/include/resolv_params.h | 11 + libc/dns/include/resolv_private.h | 15 +- libc/dns/net/getaddrinfo.c | 3 +- libc/dns/net/gethnamaddr.c | 105 ++-- libc/dns/net/getnameinfo.c | 5 +- libc/dns/resolv/res_cache.c | 17 +- libc/dns/resolv/res_init.c | 13 +- libc/dns/resolv/res_send.c | 32 +- libc/dns/resolv/res_state.c | 4 +- libc/dns/resolv/res_stats.c | 16 +- libc/include/android/legacy_signal_inlines.h | 19 + .../bits/auxvec.h} | 36 +- .../elf_machdep.h => include/bits/elf_arm.h} | 45 +- .../elf_machdep.h => include/bits/elf_arm64.h} | 16 - .../elf_machdep.h => include/bits/elf_mips.h} | 25 - .../elf_machdep.h => include/bits/elf_x86.h} | 28 +- .../elf_machdep.h => include/bits/elf_x86_64.h} | 46 +- libc/include/bits/posix_limits.h | 2 +- libc/include/elf.h | 14 +- libc/include/link.h | 3 +- libc/include/malloc.h | 8 +- libc/include/math.h | 14 + libc/include/string.h | 145 +++-- libc/include/sys/auxv.h | 4 +- libc/include/sys/cdefs.h | 10 +- libc/include/sys/epoll.h | 16 + libc/include/sys/inotify.h | 13 + libc/include/sys/mman.h | 24 +- libc/include/sys/sem.h | 10 +- libc/include/sys/types.h | 2 - libc/kernel/android/scsi/{ => scsi}/scsi.h | 14 - libc/kernel/android/scsi/{ => scsi}/scsi_ioctl.h | 3 - libc/kernel/android/scsi/{ => scsi}/scsi_proto.h | 43 -- libc/kernel/android/scsi/{ => scsi}/sg.h | 32 -- libc/kernel/tools/clean_header.py | 2 +- libc/kernel/tools/cpp.py | 26 +- libc/kernel/tools/defaults.py | 43 +- libc/kernel/tools/update_all.py | 2 +- libc/kernel/uapi/asm-arm/asm/auxvec.h | 1 - libc/kernel/uapi/asm-arm/asm/byteorder.h | 1 - libc/kernel/uapi/asm-arm/asm/fcntl.h | 2 - libc/kernel/uapi/asm-arm/asm/hwcap.h | 7 - libc/kernel/uapi/asm-arm/asm/ioctls.h | 1 - libc/kernel/uapi/asm-arm/asm/kvm.h | 35 -- libc/kernel/uapi/asm-arm/asm/perf_regs.h | 5 - libc/kernel/uapi/asm-arm/asm/posix_types.h | 3 - libc/kernel/uapi/asm-arm/asm/ptrace.h | 20 - libc/kernel/uapi/asm-arm/asm/setup.h | 27 - libc/kernel/uapi/asm-arm/asm/sigcontext.h | 6 - libc/kernel/uapi/asm-arm/asm/signal.h | 18 - libc/kernel/uapi/asm-arm/asm/stat.h | 14 - libc/kernel/uapi/asm-arm/asm/statfs.h | 1 - libc/kernel/uapi/asm-arm/asm/swab.h | 2 - libc/kernel/uapi/asm-arm/asm/types.h | 1 - libc/kernel/uapi/asm-arm/asm/unistd-common.h | 88 --- libc/kernel/uapi/asm-arm/asm/unistd-oabi.h | 3 - libc/kernel/uapi/asm-arm/asm/unistd.h | 3 - libc/kernel/uapi/asm-arm64/asm/auxvec.h | 1 - libc/kernel/uapi/asm-arm64/asm/bitsperlong.h | 1 - libc/kernel/uapi/asm-arm64/asm/byteorder.h | 2 - libc/kernel/uapi/asm-arm64/asm/fcntl.h | 2 - libc/kernel/uapi/asm-arm64/asm/hwcap.h | 3 - libc/kernel/uapi/asm-arm64/asm/kvm.h | 35 -- libc/kernel/uapi/asm-arm64/asm/param.h | 1 - libc/kernel/uapi/asm-arm64/asm/perf_regs.h | 9 - libc/kernel/uapi/asm-arm64/asm/posix_types.h | 1 - libc/kernel/uapi/asm-arm64/asm/ptrace.h | 13 - libc/kernel/uapi/asm-arm64/asm/setup.h | 1 - libc/kernel/uapi/asm-arm64/asm/sigcontext.h | 7 - libc/kernel/uapi/asm-arm64/asm/siginfo.h | 1 - libc/kernel/uapi/asm-arm64/asm/signal.h | 1 - libc/kernel/uapi/asm-arm64/asm/statfs.h | 1 - libc/kernel/uapi/asm-arm64/asm/ucontext.h | 3 - libc/kernel/uapi/asm-generic/bitsperlong.h | 1 - libc/kernel/uapi/asm-generic/errno-base.h | 9 - libc/kernel/uapi/asm-generic/errno.h | 25 - libc/kernel/uapi/asm-generic/fcntl.h | 38 -- libc/kernel/uapi/asm-generic/int-l64.h | 3 - libc/kernel/uapi/asm-generic/int-ll64.h | 4 - libc/kernel/uapi/asm-generic/ioctl.h | 11 - libc/kernel/uapi/asm-generic/ioctls.h | 22 - libc/kernel/uapi/asm-generic/ipcbuf.h | 4 - libc/kernel/uapi/asm-generic/mman-common.h | 10 - libc/kernel/uapi/asm-generic/mman.h | 4 - libc/kernel/uapi/asm-generic/msgbuf.h | 6 - libc/kernel/uapi/asm-generic/param.h | 3 - libc/kernel/uapi/asm-generic/poll.h | 8 - libc/kernel/uapi/asm-generic/posix_types.h | 16 - libc/kernel/uapi/asm-generic/resource.h | 8 - libc/kernel/uapi/asm-generic/sembuf.h | 4 - libc/kernel/uapi/asm-generic/setup.h | 1 - libc/kernel/uapi/asm-generic/shmbuf.h | 9 - libc/kernel/uapi/asm-generic/shmparam.h | 1 - libc/kernel/uapi/asm-generic/siginfo.h | 51 -- libc/kernel/uapi/asm-generic/signal-defs.h | 5 - libc/kernel/uapi/asm-generic/signal.h | 20 - libc/kernel/uapi/asm-generic/socket.h | 16 - libc/kernel/uapi/asm-generic/sockios.h | 2 - libc/kernel/uapi/asm-generic/stat.h | 12 - libc/kernel/uapi/asm-generic/statfs.h | 14 - libc/kernel/uapi/asm-generic/swab.h | 2 - libc/kernel/uapi/asm-generic/termbits.h | 44 -- libc/kernel/uapi/asm-generic/termios.h | 8 - libc/kernel/uapi/asm-generic/types.h | 1 - libc/kernel/uapi/asm-generic/ucontext.h | 2 - libc/kernel/uapi/asm-generic/unistd.h | 104 ---- libc/kernel/uapi/asm-mips/asm/auxvec.h | 1 - libc/kernel/uapi/asm-mips/asm/bitfield.h | 1 - libc/kernel/uapi/asm-mips/asm/bitsperlong.h | 1 - libc/kernel/uapi/asm-mips/asm/break.h | 3 - libc/kernel/uapi/asm-mips/asm/byteorder.h | 1 - libc/kernel/uapi/asm-mips/asm/cachectl.h | 2 - libc/kernel/uapi/asm-mips/asm/errno.h | 26 - libc/kernel/uapi/asm-mips/asm/fcntl.h | 10 - libc/kernel/uapi/asm-mips/asm/hwcap.h | 1 - libc/kernel/uapi/asm-mips/asm/inst.h | 237 -------- libc/kernel/uapi/asm-mips/asm/ioctl.h | 2 - libc/kernel/uapi/asm-mips/asm/ioctls.h | 21 - libc/kernel/uapi/asm-mips/asm/kvm.h | 19 - libc/kernel/uapi/asm-mips/asm/mman.h | 14 - libc/kernel/uapi/asm-mips/asm/msgbuf.h | 6 - libc/kernel/uapi/asm-mips/asm/param.h | 1 - libc/kernel/uapi/asm-mips/asm/poll.h | 1 - libc/kernel/uapi/asm-mips/asm/posix_types.h | 3 - libc/kernel/uapi/asm-mips/asm/ptrace.h | 15 - libc/kernel/uapi/asm-mips/asm/reg.h | 41 -- libc/kernel/uapi/asm-mips/asm/resource.h | 3 - libc/kernel/uapi/asm-mips/asm/sembuf.h | 2 - libc/kernel/uapi/asm-mips/asm/setup.h | 1 - libc/kernel/uapi/asm-mips/asm/sgidefs.h | 4 - libc/kernel/uapi/asm-mips/asm/shmbuf.h | 6 - libc/kernel/uapi/asm-mips/asm/sigcontext.h | 12 - libc/kernel/uapi/asm-mips/asm/siginfo.h | 20 - libc/kernel/uapi/asm-mips/asm/signal.h | 18 - libc/kernel/uapi/asm-mips/asm/socket.h | 16 - libc/kernel/uapi/asm-mips/asm/sockios.h | 2 - libc/kernel/uapi/asm-mips/asm/stat.h | 18 - libc/kernel/uapi/asm-mips/asm/statfs.h | 17 - libc/kernel/uapi/asm-mips/asm/swab.h | 3 - libc/kernel/uapi/asm-mips/asm/sysmips.h | 2 - libc/kernel/uapi/asm-mips/asm/termbits.h | 44 -- libc/kernel/uapi/asm-mips/asm/termios.h | 14 - libc/kernel/uapi/asm-mips/asm/types.h | 1 - libc/kernel/uapi/asm-mips/asm/ucontext.h | 5 - libc/kernel/uapi/asm-mips/asm/unistd.h | 260 --------- libc/kernel/uapi/asm-x86/asm/a.out.h | 4 - libc/kernel/uapi/asm-x86/asm/auxvec.h | 2 - libc/kernel/uapi/asm-x86/asm/bitsperlong.h | 2 - libc/kernel/uapi/asm-x86/asm/boot.h | 1 - libc/kernel/uapi/asm-x86/asm/bootparam.h | 34 -- libc/kernel/uapi/asm-x86/asm/byteorder.h | 1 - libc/kernel/uapi/asm-x86/asm/debugreg.h | 9 - libc/kernel/uapi/asm-x86/asm/e820.h | 8 - libc/kernel/uapi/asm-x86/asm/hyperv.h | 50 -- libc/kernel/uapi/asm-x86/asm/ist.h | 2 - libc/kernel/uapi/asm-x86/asm/kvm.h | 72 --- libc/kernel/uapi/asm-x86/asm/kvm_para.h | 17 - libc/kernel/uapi/asm-x86/asm/kvm_perf.h | 2 - libc/kernel/uapi/asm-x86/asm/ldt.h | 6 - libc/kernel/uapi/asm-x86/asm/mce.h | 8 - libc/kernel/uapi/asm-x86/asm/mman.h | 1 - libc/kernel/uapi/asm-x86/asm/msr.h | 2 - libc/kernel/uapi/asm-x86/asm/mtrr.h | 17 - libc/kernel/uapi/asm-x86/asm/perf_regs.h | 7 - libc/kernel/uapi/asm-x86/asm/posix_types.h | 1 - libc/kernel/uapi/asm-x86/asm/posix_types_32.h | 3 - libc/kernel/uapi/asm-x86/asm/posix_types_64.h | 2 - libc/kernel/uapi/asm-x86/asm/posix_types_x32.h | 1 - libc/kernel/uapi/asm-x86/asm/prctl.h | 2 - libc/kernel/uapi/asm-x86/asm/processor-flags.h | 30 - libc/kernel/uapi/asm-x86/asm/ptrace-abi.h | 16 - libc/kernel/uapi/asm-x86/asm/ptrace.h | 13 - libc/kernel/uapi/asm-x86/asm/sembuf.h | 3 - libc/kernel/uapi/asm-x86/asm/sigcontext.h | 51 -- libc/kernel/uapi/asm-x86/asm/sigcontext32.h | 1 - libc/kernel/uapi/asm-x86/asm/siginfo.h | 3 - libc/kernel/uapi/asm-x86/asm/signal.h | 21 - libc/kernel/uapi/asm-x86/asm/stat.h | 23 - libc/kernel/uapi/asm-x86/asm/statfs.h | 1 - libc/kernel/uapi/asm-x86/asm/svm.h | 20 - libc/kernel/uapi/asm-x86/asm/swab.h | 2 - libc/kernel/uapi/asm-x86/asm/types.h | 1 - libc/kernel/uapi/asm-x86/asm/ucontext.h | 2 - libc/kernel/uapi/asm-x86/asm/unistd.h | 2 - libc/kernel/uapi/asm-x86/asm/unistd_32.h | 95 ---- libc/kernel/uapi/asm-x86/asm/unistd_64.h | 83 --- libc/kernel/uapi/asm-x86/asm/unistd_x32.h | 81 --- libc/kernel/uapi/asm-x86/asm/vm86.h | 19 - libc/kernel/uapi/asm-x86/asm/vmx.h | 15 - libc/kernel/uapi/asm-x86/asm/vsyscall.h | 2 - libc/kernel/uapi/drm/amdgpu_drm.h | 112 ---- libc/kernel/uapi/drm/armada_drm.h | 8 - libc/kernel/uapi/drm/drm.h | 129 ----- libc/kernel/uapi/drm/drm_fourcc.h | 21 - libc/kernel/uapi/drm/drm_mode.h | 97 ---- libc/kernel/uapi/drm/drm_sarea.h | 10 - libc/kernel/uapi/drm/etnaviv_drm.h | 33 -- libc/kernel/uapi/drm/exynos_drm.h | 51 -- libc/kernel/uapi/drm/i810_drm.h | 50 -- libc/kernel/uapi/drm/i915_drm.h | 154 ----- libc/kernel/uapi/drm/mga_drm.h | 56 -- libc/kernel/uapi/drm/msm_drm.h | 32 -- libc/kernel/uapi/drm/nouveau_drm.h | 27 - libc/kernel/uapi/drm/omap_drm.h | 17 - libc/kernel/uapi/drm/qxl_drm.h | 20 - libc/kernel/uapi/drm/r128_drm.h | 53 -- libc/kernel/uapi/drm/radeon_drm.h | 196 ------- libc/kernel/uapi/drm/savage_drm.h | 34 -- libc/kernel/uapi/drm/sis_drm.h | 8 - libc/kernel/uapi/drm/tegra_drm.h | 37 -- libc/kernel/uapi/drm/vc4_drm.h | 31 - libc/kernel/uapi/drm/vgem_drm.h | 5 - libc/kernel/uapi/drm/via_drm.h | 45 -- libc/kernel/uapi/drm/virtgpu_drm.h | 24 - libc/kernel/uapi/drm/vmwgfx_drm.h | 75 --- libc/kernel/uapi/linux/a.out.h | 41 -- libc/kernel/uapi/linux/acct.h | 17 - libc/kernel/uapi/linux/adb.h | 6 - libc/kernel/uapi/linux/adfs_fs.h | 9 - libc/kernel/uapi/linux/affs_hardblocks.h | 14 - libc/kernel/uapi/linux/agpgart.h | 16 - libc/kernel/uapi/linux/aio_abi.h | 11 - libc/kernel/uapi/linux/am437x-vpfe.h | 15 - libc/kernel/uapi/linux/android/binder.h | 34 -- libc/kernel/uapi/linux/apm_bios.h | 21 - libc/kernel/uapi/linux/arcfb.h | 1 - libc/kernel/uapi/linux/ashmem.h | 6 - libc/kernel/uapi/linux/atalk.h | 7 - libc/kernel/uapi/linux/atm.h | 32 -- libc/kernel/uapi/linux/atm_eni.h | 2 - libc/kernel/uapi/linux/atm_he.h | 3 - libc/kernel/uapi/linux/atm_idt77105.h | 3 - libc/kernel/uapi/linux/atm_nicstar.h | 5 - libc/kernel/uapi/linux/atm_tcp.h | 6 - libc/kernel/uapi/linux/atm_zatm.h | 6 - libc/kernel/uapi/linux/atmapi.h | 2 - libc/kernel/uapi/linux/atmarp.h | 6 - libc/kernel/uapi/linux/atmbr2684.h | 16 - libc/kernel/uapi/linux/atmclip.h | 2 - libc/kernel/uapi/linux/atmdev.h | 24 - libc/kernel/uapi/linux/atmioc.h | 6 - libc/kernel/uapi/linux/atmlec.h | 17 - libc/kernel/uapi/linux/atmmpc.h | 23 - libc/kernel/uapi/linux/atmppp.h | 2 - libc/kernel/uapi/linux/atmsap.h | 21 - libc/kernel/uapi/linux/atmsvc.h | 9 - libc/kernel/uapi/linux/audit.h | 81 --- libc/kernel/uapi/linux/auto_dev-ioctl.h | 25 - libc/kernel/uapi/linux/auto_fs.h | 9 - libc/kernel/uapi/linux/auto_fs4.h | 17 - libc/kernel/uapi/linux/auxvec.h | 6 - libc/kernel/uapi/linux/ax25.h | 22 - libc/kernel/uapi/linux/b1lli.h | 11 - libc/kernel/uapi/linux/batman_adv.h | 20 - libc/kernel/uapi/linux/baycom.h | 3 - libc/kernel/uapi/linux/bcache.h | 38 -- libc/kernel/uapi/linux/bcm933xx_hcs.h | 4 - libc/kernel/uapi/linux/bfs_fs.h | 13 - libc/kernel/uapi/linux/binfmts.h | 2 - libc/kernel/uapi/linux/blkpg.h | 6 - libc/kernel/uapi/linux/blktrace_api.h | 26 - libc/kernel/uapi/linux/blkzoned.h | 10 - libc/kernel/uapi/linux/bpf.h | 52 -- libc/kernel/uapi/linux/bpf_common.h | 11 - libc/kernel/uapi/linux/bpf_perf_event.h | 2 - libc/kernel/uapi/linux/bpqether.h | 5 - libc/kernel/uapi/linux/bsg.h | 11 - libc/kernel/uapi/linux/bt-bmc.h | 1 - libc/kernel/uapi/linux/btrfs.h | 113 ---- libc/kernel/uapi/linux/btrfs_tree.h | 100 ---- libc/kernel/uapi/linux/byteorder/big_endian.h | 12 - libc/kernel/uapi/linux/byteorder/little_endian.h | 12 - libc/kernel/uapi/linux/caif/caif_socket.h | 16 - libc/kernel/uapi/linux/caif/if_caif.h | 3 - libc/kernel/uapi/linux/can.h | 15 - libc/kernel/uapi/linux/can/bcm.h | 11 - libc/kernel/uapi/linux/can/error.h | 15 - libc/kernel/uapi/linux/can/gw.h | 18 - libc/kernel/uapi/linux/can/netlink.h | 19 - libc/kernel/uapi/linux/can/raw.h | 3 - libc/kernel/uapi/linux/capability.h | 20 - libc/kernel/uapi/linux/capi.h | 14 - libc/kernel/uapi/linux/cciss_defs.h | 26 - libc/kernel/uapi/linux/cciss_ioctl.h | 16 - libc/kernel/uapi/linux/cdrom.h | 159 ------ libc/kernel/uapi/linux/cec-funcs.h | 19 - libc/kernel/uapi/linux/cec.h | 121 ---- libc/kernel/uapi/linux/cgroupstats.h | 7 - libc/kernel/uapi/linux/chio.h | 25 - libc/kernel/uapi/linux/cifs/cifs_mount.h | 2 - libc/kernel/uapi/linux/cm4000_cs.h | 9 - libc/kernel/uapi/linux/cn_proc.h | 18 - libc/kernel/uapi/linux/coda.h | 124 ---- libc/kernel/uapi/linux/coda_psdev.h | 5 - libc/kernel/uapi/linux/coff.h | 44 -- libc/kernel/uapi/linux/connector.h | 9 - libc/kernel/uapi/linux/const.h | 3 - libc/kernel/uapi/linux/coresight-stm.h | 2 - libc/kernel/uapi/linux/cramfs_fs.h | 10 - libc/kernel/uapi/linux/cryptouser.h | 20 - libc/kernel/uapi/linux/cuda.h | 5 - libc/kernel/uapi/linux/cyclades.h | 72 --- libc/kernel/uapi/linux/cycx_cfm.h | 11 - libc/kernel/uapi/linux/dcbnl.h | 80 --- libc/kernel/uapi/linux/dccp.h | 35 -- libc/kernel/uapi/linux/devlink.h | 24 - libc/kernel/uapi/linux/dlm.h | 4 - libc/kernel/uapi/linux/dlm_device.h | 17 - libc/kernel/uapi/linux/dlm_netlink.h | 10 - libc/kernel/uapi/linux/dlm_plock.h | 7 - libc/kernel/uapi/linux/dlmconstants.h | 8 - libc/kernel/uapi/linux/dm-ioctl.h | 26 - libc/kernel/uapi/linux/dm-log-userspace.h | 9 - libc/kernel/uapi/linux/dma-buf.h | 3 - libc/kernel/uapi/linux/dn.h | 24 - libc/kernel/uapi/linux/dqblk_xfs.h | 28 - libc/kernel/uapi/linux/dvb/audio.h | 17 - libc/kernel/uapi/linux/dvb/ca.h | 12 - libc/kernel/uapi/linux/dvb/dmx.h | 24 - libc/kernel/uapi/linux/dvb/frontend.h | 104 ---- libc/kernel/uapi/linux/dvb/net.h | 5 - libc/kernel/uapi/linux/dvb/osd.h | 16 - libc/kernel/uapi/linux/dvb/version.h | 1 - libc/kernel/uapi/linux/dvb/video.h | 37 -- libc/kernel/uapi/linux/edd.h | 36 -- libc/kernel/uapi/linux/efs_fs_sb.h | 10 - libc/kernel/uapi/linux/elf-em.h | 11 - libc/kernel/uapi/linux/elf-fdpic.h | 4 - libc/kernel/uapi/linux/elf.h | 87 --- libc/kernel/uapi/linux/elfcore.h | 12 - libc/kernel/uapi/linux/errqueue.h | 7 - libc/kernel/uapi/linux/ethtool.h | 177 ------ libc/kernel/uapi/linux/eventpoll.h | 5 - libc/kernel/uapi/linux/fadvise.h | 3 - libc/kernel/uapi/linux/falloc.h | 2 - libc/kernel/uapi/linux/fanotify.h | 14 - libc/kernel/uapi/linux/fb.h | 76 --- libc/kernel/uapi/linux/fcntl.h | 7 - libc/kernel/uapi/linux/fd.h | 44 -- libc/kernel/uapi/linux/fdreg.h | 20 - libc/kernel/uapi/linux/fib_rules.h | 16 - libc/kernel/uapi/linux/fiemap.h | 9 - libc/kernel/uapi/linux/filter.h | 13 - libc/kernel/uapi/linux/firewire-cdev.h | 63 --- libc/kernel/uapi/linux/firewire-constants.h | 14 - libc/kernel/uapi/linux/flat.h | 6 - libc/kernel/uapi/linux/fou.h | 7 - libc/kernel/uapi/linux/fs.h | 55 -- libc/kernel/uapi/linux/fsl_hypervisor.h | 13 - libc/kernel/uapi/linux/fuse.h | 118 ---- libc/kernel/uapi/linux/futex.h | 14 - libc/kernel/uapi/linux/gameport.h | 4 - libc/kernel/uapi/linux/gen_stats.h | 10 - libc/kernel/uapi/linux/genetlink.h | 15 - libc/kernel/uapi/linux/genwqe/genwqe_card.h | 63 --- libc/kernel/uapi/linux/gfs2_ondisk.h | 72 --- libc/kernel/uapi/linux/gigaset_dev.h | 3 - libc/kernel/uapi/linux/gpio.h | 15 - libc/kernel/uapi/linux/gsmmux.h | 7 - libc/kernel/uapi/linux/gtp.h | 7 - libc/kernel/uapi/linux/hash_info.h | 6 - libc/kernel/uapi/linux/hdlc.h | 1 - libc/kernel/uapi/linux/hdlc/ioctl.h | 16 - libc/kernel/uapi/linux/hdlcdrv.h | 16 - libc/kernel/uapi/linux/hdreg.h | 93 --- libc/kernel/uapi/linux/hid.h | 4 - libc/kernel/uapi/linux/hiddev.h | 27 - libc/kernel/uapi/linux/hidraw.h | 6 - libc/kernel/uapi/linux/hpet.h | 4 - libc/kernel/uapi/linux/hsi/cs-protocol.h | 14 - libc/kernel/uapi/linux/hsi/hsi_char.h | 8 - libc/kernel/uapi/linux/hsr_netlink.h | 7 - libc/kernel/uapi/linux/hw_breakpoint.h | 6 - libc/kernel/uapi/linux/hyperv.h | 44 -- libc/kernel/uapi/linux/hysdn_if.h | 3 - libc/kernel/uapi/linux/i2c-dev.h | 6 - libc/kernel/uapi/linux/i2c.h | 15 - libc/kernel/uapi/linux/i2o-dev.h | 74 --- libc/kernel/uapi/linux/i8k.h | 6 - libc/kernel/uapi/linux/icmp.h | 15 - libc/kernel/uapi/linux/icmpv6.h | 25 - libc/kernel/uapi/linux/if.h | 38 -- libc/kernel/uapi/linux/if_addr.h | 11 - libc/kernel/uapi/linux/if_addrlabel.h | 4 - libc/kernel/uapi/linux/if_alg.h | 5 - libc/kernel/uapi/linux/if_arcnet.h | 15 - libc/kernel/uapi/linux/if_arp.h | 25 - libc/kernel/uapi/linux/if_bonding.h | 13 - libc/kernel/uapi/linux/if_bridge.h | 53 -- libc/kernel/uapi/linux/if_cablemodem.h | 2 - libc/kernel/uapi/linux/if_eql.h | 6 - libc/kernel/uapi/linux/if_ether.h | 25 - libc/kernel/uapi/linux/if_fc.h | 5 - libc/kernel/uapi/linux/if_fddi.h | 15 - libc/kernel/uapi/linux/if_frad.h | 15 - libc/kernel/uapi/linux/if_hippi.h | 17 - libc/kernel/uapi/linux/if_infiniband.h | 1 - libc/kernel/uapi/linux/if_link.h | 169 ------ libc/kernel/uapi/linux/if_ltalk.h | 1 - libc/kernel/uapi/linux/if_macsec.h | 34 -- libc/kernel/uapi/linux/if_packet.h | 51 -- libc/kernel/uapi/linux/if_phonet.h | 1 - libc/kernel/uapi/linux/if_plip.h | 3 - libc/kernel/uapi/linux/if_pppol2tp.h | 12 - libc/kernel/uapi/linux/if_pppox.h | 23 - libc/kernel/uapi/linux/if_slip.h | 3 - libc/kernel/uapi/linux/if_team.h | 14 - libc/kernel/uapi/linux/if_tun.h | 15 - libc/kernel/uapi/linux/if_tunnel.h | 32 -- libc/kernel/uapi/linux/if_vlan.h | 10 - libc/kernel/uapi/linux/if_x25.h | 2 - libc/kernel/uapi/linux/igmp.h | 18 - libc/kernel/uapi/linux/iio/events.h | 4 - libc/kernel/uapi/linux/iio/types.h | 22 - libc/kernel/uapi/linux/ila.h | 8 - libc/kernel/uapi/linux/in.h | 53 -- libc/kernel/uapi/linux/in6.h | 40 -- libc/kernel/uapi/linux/in_route.h | 5 - libc/kernel/uapi/linux/inet_diag.h | 34 -- libc/kernel/uapi/linux/inotify.h | 9 - libc/kernel/uapi/linux/input-event-codes.h | 174 ------ libc/kernel/uapi/linux/input.h | 46 -- libc/kernel/uapi/linux/ioctl.h | 1 - libc/kernel/uapi/linux/ion.h | 15 - libc/kernel/uapi/linux/ion_test.h | 4 - libc/kernel/uapi/linux/ip.h | 33 -- libc/kernel/uapi/linux/ip6_tunnel.h | 9 - libc/kernel/uapi/linux/ip_vs.h | 65 --- libc/kernel/uapi/linux/ipc.h | 11 - libc/kernel/uapi/linux/ipmi.h | 29 - libc/kernel/uapi/linux/ipmi_msgdefs.h | 16 - libc/kernel/uapi/linux/ipsec.h | 9 - libc/kernel/uapi/linux/ipv6.h | 31 - libc/kernel/uapi/linux/ipv6_route.h | 9 - libc/kernel/uapi/linux/ipx.h | 18 - libc/kernel/uapi/linux/irda.h | 43 -- libc/kernel/uapi/linux/isdn.h | 26 - libc/kernel/uapi/linux/isdn/capicmd.h | 19 - libc/kernel/uapi/linux/isdn_divertif.h | 3 - libc/kernel/uapi/linux/isdn_ppp.h | 10 - libc/kernel/uapi/linux/isdnif.h | 7 - libc/kernel/uapi/linux/iso_fs.h | 34 -- libc/kernel/uapi/linux/ivtv.h | 5 - libc/kernel/uapi/linux/ivtvfb.h | 2 - libc/kernel/uapi/linux/ixjuser.h | 117 ---- libc/kernel/uapi/linux/jffs2.h | 36 -- libc/kernel/uapi/linux/joystick.h | 18 - libc/kernel/uapi/linux/kcm.h | 4 - libc/kernel/uapi/linux/kcmp.h | 3 - libc/kernel/uapi/linux/kcov.h | 1 - libc/kernel/uapi/linux/kd.h | 36 -- libc/kernel/uapi/linux/kdev_t.h | 1 - libc/kernel/uapi/linux/kernel-page-flags.h | 7 - libc/kernel/uapi/linux/kernel.h | 1 - libc/kernel/uapi/linux/kernelcapi.h | 6 - libc/kernel/uapi/linux/kexec.h | 7 - libc/kernel/uapi/linux/keyboard.h | 103 ---- libc/kernel/uapi/linux/keyctl.h | 12 - libc/kernel/uapi/linux/kfd_ioctl.h | 45 -- libc/kernel/uapi/linux/kvm.h | 252 --------- libc/kernel/uapi/linux/kvm_para.h | 4 - libc/kernel/uapi/linux/l2tp.h | 30 - libc/kernel/uapi/linux/libc-compat.h | 25 - libc/kernel/uapi/linux/lightnvm.h | 24 - libc/kernel/uapi/linux/limits.h | 4 - libc/kernel/uapi/linux/lirc.h | 18 - libc/kernel/uapi/linux/llc.h | 15 - libc/kernel/uapi/linux/loop.h | 16 - libc/kernel/uapi/linux/lp.h | 10 - libc/kernel/uapi/linux/lwtunnel.h | 14 - libc/kernel/uapi/linux/magic.h | 18 - libc/kernel/uapi/linux/major.h | 36 -- libc/kernel/uapi/linux/map_to_7segment.h | 7 - libc/kernel/uapi/linux/matroxfb.h | 7 - libc/kernel/uapi/linux/mdio.h | 51 -- libc/kernel/uapi/linux/media-bus-format.h | 24 - libc/kernel/uapi/linux/media.h | 50 -- libc/kernel/uapi/linux/mei.h | 4 - libc/kernel/uapi/linux/membarrier.h | 1 - libc/kernel/uapi/linux/memfd.h | 1 - libc/kernel/uapi/linux/mempolicy.h | 8 - libc/kernel/uapi/linux/meye.h | 5 - libc/kernel/uapi/linux/mic_common.h | 19 - libc/kernel/uapi/linux/mic_ioctl.h | 3 - libc/kernel/uapi/linux/mii.h | 31 - libc/kernel/uapi/linux/minix_fs.h | 17 - libc/kernel/uapi/linux/mman.h | 2 - libc/kernel/uapi/linux/mmc/ioctl.h | 7 - libc/kernel/uapi/linux/mmtimer.h | 2 - libc/kernel/uapi/linux/module.h | 1 - libc/kernel/uapi/linux/mpls.h | 6 - libc/kernel/uapi/linux/mpls_iptunnel.h | 2 - libc/kernel/uapi/linux/mqueue.h | 4 - libc/kernel/uapi/linux/mroute.h | 20 - libc/kernel/uapi/linux/mroute6.h | 19 - libc/kernel/uapi/linux/msdos_fs.h | 35 -- libc/kernel/uapi/linux/msg.h | 12 - libc/kernel/uapi/linux/mtio.h | 32 -- libc/kernel/uapi/linux/n_r3964.h | 7 - libc/kernel/uapi/linux/nbd.h | 10 - libc/kernel/uapi/linux/ncp.h | 40 -- libc/kernel/uapi/linux/ncp_fs.h | 24 - libc/kernel/uapi/linux/ncp_mount.h | 10 - libc/kernel/uapi/linux/ncp_no.h | 4 - libc/kernel/uapi/linux/ndctl.h | 47 -- libc/kernel/uapi/linux/neighbour.h | 29 - libc/kernel/uapi/linux/net.h | 8 - libc/kernel/uapi/linux/net_dropmon.h | 10 - libc/kernel/uapi/linux/net_namespace.h | 3 - libc/kernel/uapi/linux/net_tstamp.h | 12 - libc/kernel/uapi/linux/netconf.h | 5 - libc/kernel/uapi/linux/netdevice.h | 6 - libc/kernel/uapi/linux/netfilter.h | 13 - libc/kernel/uapi/linux/netfilter/ipset/ip_set.h | 57 -- .../uapi/linux/netfilter/ipset/ip_set_bitmap.h | 2 - .../uapi/linux/netfilter/ipset/ip_set_hash.h | 3 - .../uapi/linux/netfilter/ipset/ip_set_list.h | 3 - .../uapi/linux/netfilter/nf_conntrack_common.h | 17 - .../kernel/uapi/linux/netfilter/nf_conntrack_ftp.h | 2 - .../uapi/linux/netfilter/nf_conntrack_sctp.h | 4 - .../kernel/uapi/linux/netfilter/nf_conntrack_tcp.h | 8 - .../linux/netfilter/nf_conntrack_tuple_common.h | 8 - libc/kernel/uapi/linux/netfilter/nf_log.h | 2 - libc/kernel/uapi/linux/netfilter/nf_nat.h | 7 - libc/kernel/uapi/linux/netfilter/nf_tables.h | 165 ------ .../kernel/uapi/linux/netfilter/nf_tables_compat.h | 8 - libc/kernel/uapi/linux/netfilter/nfnetlink.h | 13 - libc/kernel/uapi/linux/netfilter/nfnetlink_acct.h | 9 - .../kernel/uapi/linux/netfilter/nfnetlink_compat.h | 7 - .../uapi/linux/netfilter/nfnetlink_conntrack.h | 60 -- .../uapi/linux/netfilter/nfnetlink_cthelper.h | 12 - .../uapi/linux/netfilter/nfnetlink_cttimeout.h | 26 - libc/kernel/uapi/linux/netfilter/nfnetlink_log.h | 20 - libc/kernel/uapi/linux/netfilter/nfnetlink_queue.h | 25 - libc/kernel/uapi/linux/netfilter/x_tables.h | 19 - libc/kernel/uapi/linux/netfilter/xt_AUDIT.h | 3 - libc/kernel/uapi/linux/netfilter/xt_CHECKSUM.h | 2 - libc/kernel/uapi/linux/netfilter/xt_CLASSIFY.h | 1 - libc/kernel/uapi/linux/netfilter/xt_CONNMARK.h | 1 - libc/kernel/uapi/linux/netfilter/xt_CONNSECMARK.h | 2 - libc/kernel/uapi/linux/netfilter/xt_CT.h | 7 - libc/kernel/uapi/linux/netfilter/xt_DSCP.h | 3 - libc/kernel/uapi/linux/netfilter/xt_HMARK.h | 11 - libc/kernel/uapi/linux/netfilter/xt_IDLETIMER.h | 2 - libc/kernel/uapi/linux/netfilter/xt_LED.h | 2 - libc/kernel/uapi/linux/netfilter/xt_LOG.h | 3 - libc/kernel/uapi/linux/netfilter/xt_MARK.h | 1 - libc/kernel/uapi/linux/netfilter/xt_NFLOG.h | 4 - libc/kernel/uapi/linux/netfilter/xt_NFQUEUE.h | 6 - libc/kernel/uapi/linux/netfilter/xt_RATEEST.h | 2 - libc/kernel/uapi/linux/netfilter/xt_SECMARK.h | 2 - libc/kernel/uapi/linux/netfilter/xt_SYNPROXY.h | 3 - libc/kernel/uapi/linux/netfilter/xt_TCPMSS.h | 2 - libc/kernel/uapi/linux/netfilter/xt_TCPOPTSTRIP.h | 2 - libc/kernel/uapi/linux/netfilter/xt_TEE.h | 2 - libc/kernel/uapi/linux/netfilter/xt_TPROXY.h | 4 - libc/kernel/uapi/linux/netfilter/xt_addrtype.h | 8 - libc/kernel/uapi/linux/netfilter/xt_bpf.h | 7 - libc/kernel/uapi/linux/netfilter/xt_cgroup.h | 4 - libc/kernel/uapi/linux/netfilter/xt_cluster.h | 3 - libc/kernel/uapi/linux/netfilter/xt_comment.h | 1 - libc/kernel/uapi/linux/netfilter/xt_connbytes.h | 5 - libc/kernel/uapi/linux/netfilter/xt_connlabel.h | 2 - libc/kernel/uapi/linux/netfilter/xt_connlimit.h | 5 - libc/kernel/uapi/linux/netfilter/xt_connmark.h | 4 - libc/kernel/uapi/linux/netfilter/xt_conntrack.h | 16 - libc/kernel/uapi/linux/netfilter/xt_cpu.h | 2 - libc/kernel/uapi/linux/netfilter/xt_dccp.h | 4 - libc/kernel/uapi/linux/netfilter/xt_devgroup.h | 4 - libc/kernel/uapi/linux/netfilter/xt_dscp.h | 4 - libc/kernel/uapi/linux/netfilter/xt_ecn.h | 5 - libc/kernel/uapi/linux/netfilter/xt_esp.h | 2 - libc/kernel/uapi/linux/netfilter/xt_hashlimit.h | 16 - libc/kernel/uapi/linux/netfilter/xt_helper.h | 1 - libc/kernel/uapi/linux/netfilter/xt_ipcomp.h | 2 - libc/kernel/uapi/linux/netfilter/xt_iprange.h | 4 - libc/kernel/uapi/linux/netfilter/xt_ipvs.h | 6 - libc/kernel/uapi/linux/netfilter/xt_l2tp.h | 5 - libc/kernel/uapi/linux/netfilter/xt_length.h | 2 - libc/kernel/uapi/linux/netfilter/xt_limit.h | 3 - libc/kernel/uapi/linux/netfilter/xt_mac.h | 2 - libc/kernel/uapi/linux/netfilter/xt_mark.h | 2 - libc/kernel/uapi/linux/netfilter/xt_multiport.h | 5 - libc/kernel/uapi/linux/netfilter/xt_nfacct.h | 2 - libc/kernel/uapi/linux/netfilter/xt_osf.h | 19 - libc/kernel/uapi/linux/netfilter/xt_owner.h | 3 - libc/kernel/uapi/linux/netfilter/xt_physdev.h | 4 - libc/kernel/uapi/linux/netfilter/xt_pkttype.h | 1 - libc/kernel/uapi/linux/netfilter/xt_policy.h | 11 - libc/kernel/uapi/linux/netfilter/xt_quota.h | 3 - libc/kernel/uapi/linux/netfilter/xt_rateest.h | 7 - libc/kernel/uapi/linux/netfilter/xt_realm.h | 2 - libc/kernel/uapi/linux/netfilter/xt_recent.h | 8 - libc/kernel/uapi/linux/netfilter/xt_rpfilter.h | 3 - libc/kernel/uapi/linux/netfilter/xt_sctp.h | 9 - libc/kernel/uapi/linux/netfilter/xt_set.h | 15 - libc/kernel/uapi/linux/netfilter/xt_socket.h | 5 - libc/kernel/uapi/linux/netfilter/xt_state.h | 2 - libc/kernel/uapi/linux/netfilter/xt_statistic.h | 7 - libc/kernel/uapi/linux/netfilter/xt_string.h | 6 - libc/kernel/uapi/linux/netfilter/xt_tcpmss.h | 2 - libc/kernel/uapi/linux/netfilter/xt_tcpudp.h | 6 - libc/kernel/uapi/linux/netfilter/xt_time.h | 5 - libc/kernel/uapi/linux/netfilter/xt_u32.h | 7 - libc/kernel/uapi/linux/netfilter_arp.h | 2 - libc/kernel/uapi/linux/netfilter_arp/arp_tables.h | 22 - libc/kernel/uapi/linux/netfilter_arp/arpt_mangle.h | 5 - libc/kernel/uapi/linux/netfilter_bridge.h | 3 - .../kernel/uapi/linux/netfilter_bridge/ebt_802_3.h | 10 - .../kernel/uapi/linux/netfilter_bridge/ebt_among.h | 6 - libc/kernel/uapi/linux/netfilter_bridge/ebt_arp.h | 7 - .../uapi/linux/netfilter_bridge/ebt_arpreply.h | 2 - libc/kernel/uapi/linux/netfilter_bridge/ebt_ip.h | 6 - libc/kernel/uapi/linux/netfilter_bridge/ebt_ip6.h | 8 - .../kernel/uapi/linux/netfilter_bridge/ebt_limit.h | 3 - libc/kernel/uapi/linux/netfilter_bridge/ebt_log.h | 4 - .../uapi/linux/netfilter_bridge/ebt_mark_m.h | 3 - .../uapi/linux/netfilter_bridge/ebt_mark_t.h | 3 - libc/kernel/uapi/linux/netfilter_bridge/ebt_nat.h | 2 - .../kernel/uapi/linux/netfilter_bridge/ebt_nflog.h | 4 - .../uapi/linux/netfilter_bridge/ebt_pkttype.h | 2 - .../uapi/linux/netfilter_bridge/ebt_redirect.h | 1 - libc/kernel/uapi/linux/netfilter_bridge/ebt_stp.h | 9 - libc/kernel/uapi/linux/netfilter_bridge/ebt_vlan.h | 4 - libc/kernel/uapi/linux/netfilter_bridge/ebtables.h | 30 - libc/kernel/uapi/linux/netfilter_decnet.h | 10 - libc/kernel/uapi/linux/netfilter_ipv4.h | 10 - libc/kernel/uapi/linux/netfilter_ipv4/ip_tables.h | 27 - .../uapi/linux/netfilter_ipv4/ipt_CLUSTERIP.h | 6 - libc/kernel/uapi/linux/netfilter_ipv4/ipt_ECN.h | 4 - libc/kernel/uapi/linux/netfilter_ipv4/ipt_LOG.h | 4 - libc/kernel/uapi/linux/netfilter_ipv4/ipt_REJECT.h | 4 - libc/kernel/uapi/linux/netfilter_ipv4/ipt_TTL.h | 3 - libc/kernel/uapi/linux/netfilter_ipv4/ipt_ah.h | 2 - libc/kernel/uapi/linux/netfilter_ipv4/ipt_ecn.h | 3 - libc/kernel/uapi/linux/netfilter_ipv4/ipt_ttl.h | 3 - libc/kernel/uapi/linux/netfilter_ipv6.h | 9 - libc/kernel/uapi/linux/netfilter_ipv6/ip6_tables.h | 30 - libc/kernel/uapi/linux/netfilter_ipv6/ip6t_HL.h | 3 - libc/kernel/uapi/linux/netfilter_ipv6/ip6t_LOG.h | 4 - libc/kernel/uapi/linux/netfilter_ipv6/ip6t_NPT.h | 3 - .../kernel/uapi/linux/netfilter_ipv6/ip6t_REJECT.h | 4 - libc/kernel/uapi/linux/netfilter_ipv6/ip6t_ah.h | 4 - libc/kernel/uapi/linux/netfilter_ipv6/ip6t_frag.h | 4 - libc/kernel/uapi/linux/netfilter_ipv6/ip6t_hl.h | 3 - .../uapi/linux/netfilter_ipv6/ip6t_ipv6header.h | 4 - libc/kernel/uapi/linux/netfilter_ipv6/ip6t_mh.h | 2 - libc/kernel/uapi/linux/netfilter_ipv6/ip6t_opts.h | 4 - libc/kernel/uapi/linux/netfilter_ipv6/ip6t_rt.h | 6 - libc/kernel/uapi/linux/netlink.h | 31 - libc/kernel/uapi/linux/netlink_diag.h | 10 - libc/kernel/uapi/linux/netrom.h | 6 - libc/kernel/uapi/linux/nfc.h | 39 -- libc/kernel/uapi/linux/nfs.h | 27 - libc/kernel/uapi/linux/nfs2.h | 13 - libc/kernel/uapi/linux/nfs3.h | 20 - libc/kernel/uapi/linux/nfs4.h | 31 - libc/kernel/uapi/linux/nfs4_mount.h | 8 - libc/kernel/uapi/linux/nfs_fs.h | 8 - libc/kernel/uapi/linux/nfs_idmap.h | 5 - libc/kernel/uapi/linux/nfs_mount.h | 13 - libc/kernel/uapi/linux/nfsacl.h | 4 - libc/kernel/uapi/linux/nfsd/cld.h | 6 - libc/kernel/uapi/linux/nfsd/debug.h | 4 - libc/kernel/uapi/linux/nfsd/export.h | 6 - libc/kernel/uapi/linux/nfsd/nfsfh.h | 11 - libc/kernel/uapi/linux/nfsd/stats.h | 1 - libc/kernel/uapi/linux/nilfs2_api.h | 24 - libc/kernel/uapi/linux/nilfs2_ondisk.h | 63 --- libc/kernel/uapi/linux/nl80211.h | 324 ----------- libc/kernel/uapi/linux/nsfs.h | 1 - libc/kernel/uapi/linux/nubus.h | 37 -- libc/kernel/uapi/linux/nvme_ioctl.h | 11 - libc/kernel/uapi/linux/nvram.h | 2 - libc/kernel/uapi/linux/omap3isp.h | 79 --- libc/kernel/uapi/linux/omapfb.h | 42 -- libc/kernel/uapi/linux/oom.h | 2 - libc/kernel/uapi/linux/openvswitch.h | 91 --- libc/kernel/uapi/linux/packet_diag.h | 16 - libc/kernel/uapi/linux/param.h | 1 - libc/kernel/uapi/linux/parport.h | 15 - libc/kernel/uapi/linux/patchkey.h | 4 - libc/kernel/uapi/linux/pci.h | 3 - libc/kernel/uapi/linux/pci_regs.h | 203 ------- libc/kernel/uapi/linux/perf_event.h | 83 --- libc/kernel/uapi/linux/personality.h | 10 - libc/kernel/uapi/linux/pfkeyv2.h | 72 --- libc/kernel/uapi/linux/pg.h | 4 - libc/kernel/uapi/linux/phantom.h | 7 - libc/kernel/uapi/linux/phonet.h | 16 - libc/kernel/uapi/linux/pkt_cls.h | 98 ---- libc/kernel/uapi/linux/pkt_sched.h | 158 ------ libc/kernel/uapi/linux/pktcdvd.h | 11 - libc/kernel/uapi/linux/pmu.h | 22 - libc/kernel/uapi/linux/posix_acl.h | 3 - libc/kernel/uapi/linux/posix_acl_xattr.h | 3 - libc/kernel/uapi/linux/posix_types.h | 3 - libc/kernel/uapi/linux/ppdev.h | 9 - libc/kernel/uapi/linux/ppp-comp.h | 10 - libc/kernel/uapi/linux/ppp-ioctl.h | 22 - libc/kernel/uapi/linux/ppp_defs.h | 23 - libc/kernel/uapi/linux/pps.h | 14 - libc/kernel/uapi/linux/pr.h | 10 - libc/kernel/uapi/linux/prctl.h | 28 - libc/kernel/uapi/linux/psci.h | 14 - libc/kernel/uapi/linux/ptp_clock.h | 18 - libc/kernel/uapi/linux/ptrace.h | 14 - libc/kernel/uapi/linux/qnx4_fs.h | 16 - libc/kernel/uapi/linux/qnxtypes.h | 3 - libc/kernel/uapi/linux/qrtr.h | 2 - libc/kernel/uapi/linux/quota.h | 29 - libc/kernel/uapi/linux/radeonfb.h | 2 - libc/kernel/uapi/linux/raid/md_p.h | 50 -- libc/kernel/uapi/linux/raid/md_u.h | 19 - libc/kernel/uapi/linux/random.h | 4 - libc/kernel/uapi/linux/raw.h | 3 - libc/kernel/uapi/linux/rds.h | 42 -- libc/kernel/uapi/linux/reboot.h | 4 - libc/kernel/uapi/linux/reiserfs_fs.h | 2 - libc/kernel/uapi/linux/reiserfs_xattr.h | 3 - libc/kernel/uapi/linux/resource.h | 11 - libc/kernel/uapi/linux/rfkill.h | 8 - libc/kernel/uapi/linux/rio_cm_cdev.h | 8 - libc/kernel/uapi/linux/rio_mport_cdev.h | 38 -- libc/kernel/uapi/linux/romfs_fs.h | 10 - libc/kernel/uapi/linux/rose.h | 17 - libc/kernel/uapi/linux/route.h | 8 - libc/kernel/uapi/linux/rtc.h | 13 - libc/kernel/uapi/linux/rtnetlink.h | 121 ---- libc/kernel/uapi/linux/scc.h | 30 - libc/kernel/uapi/linux/sched.h | 8 - libc/kernel/uapi/linux/scif_ioctl.h | 18 - libc/kernel/uapi/linux/screen_info.h | 14 - libc/kernel/uapi/linux/sctp.h | 132 ----- libc/kernel/uapi/linux/sdla.h | 18 - libc/kernel/uapi/linux/seccomp.h | 6 - libc/kernel/uapi/linux/securebits.h | 5 - libc/kernel/uapi/linux/seg6.h | 7 - libc/kernel/uapi/linux/seg6_genl.h | 6 - libc/kernel/uapi/linux/seg6_hmac.h | 4 - libc/kernel/uapi/linux/seg6_iptunnel.h | 4 - libc/kernel/uapi/linux/selinux_netlink.h | 6 - libc/kernel/uapi/linux/sem.h | 16 +- libc/kernel/uapi/linux/serial.h | 21 - libc/kernel/uapi/linux/serial_core.h | 28 - libc/kernel/uapi/linux/serial_reg.h | 58 -- libc/kernel/uapi/linux/serio.h | 14 - libc/kernel/uapi/linux/shm.h | 12 - libc/kernel/uapi/linux/signal.h | 2 - libc/kernel/uapi/linux/signalfd.h | 6 - libc/kernel/uapi/linux/smiapp.h | 2 - libc/kernel/uapi/linux/snmp.h | 67 --- libc/kernel/uapi/linux/sock_diag.h | 7 - libc/kernel/uapi/linux/socket.h | 2 - libc/kernel/uapi/linux/sockios.h | 20 - libc/kernel/uapi/linux/sonet.h | 7 - libc/kernel/uapi/linux/sonypi.h | 23 - libc/kernel/uapi/linux/sound.h | 4 - libc/kernel/uapi/linux/soundcard.h | 164 ------ libc/kernel/uapi/linux/spi/spidev.h | 11 - libc/kernel/uapi/linux/stat.h | 8 - libc/kernel/uapi/linux/stddef.h | 1 - libc/kernel/uapi/linux/stm.h | 4 - libc/kernel/uapi/linux/string.h | 1 - libc/kernel/uapi/linux/sunrpc/debug.h | 6 - libc/kernel/uapi/linux/suspend_ioctls.h | 6 - libc/kernel/uapi/linux/swab.h | 78 ++- libc/kernel/uapi/linux/sync_file.h | 7 - libc/kernel/uapi/linux/synclink.h | 56 -- libc/kernel/uapi/linux/sysctl.h | 188 ------ libc/kernel/uapi/linux/sysinfo.h | 5 - libc/kernel/uapi/linux/target_core_user.h | 16 - libc/kernel/uapi/linux/taskstats.h | 20 - libc/kernel/uapi/linux/tc_act/tc_bpf.h | 5 - libc/kernel/uapi/linux/tc_act/tc_connmark.h | 4 - libc/kernel/uapi/linux/tc_act/tc_csum.h | 6 - libc/kernel/uapi/linux/tc_act/tc_defact.h | 4 - libc/kernel/uapi/linux/tc_act/tc_gact.h | 6 - libc/kernel/uapi/linux/tc_act/tc_ife.h | 7 - libc/kernel/uapi/linux/tc_act/tc_ipt.h | 4 - libc/kernel/uapi/linux/tc_act/tc_mirred.h | 5 - libc/kernel/uapi/linux/tc_act/tc_nat.h | 5 - libc/kernel/uapi/linux/tc_act/tc_pedit.h | 7 - libc/kernel/uapi/linux/tc_act/tc_skbedit.h | 6 - libc/kernel/uapi/linux/tc_act/tc_skbmod.h | 6 - libc/kernel/uapi/linux/tc_act/tc_tunnel_key.h | 6 - libc/kernel/uapi/linux/tc_act/tc_vlan.h | 5 - libc/kernel/uapi/linux/tc_ematch/tc_em_cmp.h | 5 - libc/kernel/uapi/linux/tc_ematch/tc_em_meta.h | 21 - libc/kernel/uapi/linux/tc_ematch/tc_em_nbyte.h | 2 - libc/kernel/uapi/linux/tc_ematch/tc_em_text.h | 3 - libc/kernel/uapi/linux/tcp.h | 41 -- libc/kernel/uapi/linux/tcp_metrics.h | 10 - libc/kernel/uapi/linux/telephony.h | 34 -- libc/kernel/uapi/linux/termios.h | 4 - libc/kernel/uapi/linux/thermal.h | 6 - libc/kernel/uapi/linux/time.h | 11 - libc/kernel/uapi/linux/timerfd.h | 2 - libc/kernel/uapi/linux/times.h | 2 - libc/kernel/uapi/linux/timex.h | 21 - libc/kernel/uapi/linux/tiocl.h | 7 - libc/kernel/uapi/linux/tipc.h | 28 - libc/kernel/uapi/linux/tipc_config.h | 35 -- libc/kernel/uapi/linux/tipc_netlink.h | 52 -- libc/kernel/uapi/linux/toshiba.h | 4 - libc/kernel/uapi/linux/tty.h | 7 - libc/kernel/uapi/linux/tty_flags.h | 17 - libc/kernel/uapi/linux/types.h | 5 - libc/kernel/uapi/linux/udf_fs_i.h | 1 - libc/kernel/uapi/linux/udp.h | 4 - libc/kernel/uapi/linux/uhid.h | 34 -- libc/kernel/uapi/linux/uinput.h | 15 - libc/kernel/uapi/linux/uio.h | 2 - libc/kernel/uapi/linux/uleds.h | 2 - libc/kernel/uapi/linux/ultrasound.h | 9 - libc/kernel/uapi/linux/un.h | 2 - libc/kernel/uapi/linux/unistd.h | 1 - libc/kernel/uapi/linux/unix_diag.h | 11 - libc/kernel/uapi/linux/usb/audio.h | 70 --- libc/kernel/uapi/linux/usb/cdc-wdm.h | 1 - libc/kernel/uapi/linux/usb/cdc.h | 73 --- libc/kernel/uapi/linux/usb/ch11.h | 39 -- libc/kernel/uapi/linux/usb/ch9.h | 139 ----- libc/kernel/uapi/linux/usb/functionfs.h | 23 - libc/kernel/uapi/linux/usb/g_printer.h | 2 - libc/kernel/uapi/linux/usb/gadgetfs.h | 5 - libc/kernel/uapi/linux/usb/midi.h | 13 - libc/kernel/uapi/linux/usb/tmc.h | 10 - libc/kernel/uapi/linux/usb/video.h | 87 --- libc/kernel/uapi/linux/usbdevice_fs.h | 33 -- libc/kernel/uapi/linux/usbip.h | 3 - libc/kernel/uapi/linux/userfaultfd.h | 17 - libc/kernel/uapi/linux/userio.h | 3 - libc/kernel/uapi/linux/utime.h | 2 - libc/kernel/uapi/linux/utsname.h | 6 - libc/kernel/uapi/linux/uuid.h | 3 - libc/kernel/uapi/linux/uvcvideo.h | 11 - libc/kernel/uapi/linux/v4l2-common.h | 7 - libc/kernel/uapi/linux/v4l2-controls.h | 198 ------- libc/kernel/uapi/linux/v4l2-dv-timings.h | 31 - libc/kernel/uapi/linux/v4l2-mediabus.h | 24 - libc/kernel/uapi/linux/v4l2-subdev.h | 20 - libc/kernel/uapi/linux/veth.h | 2 - libc/kernel/uapi/linux/vfio.h | 61 -- libc/kernel/uapi/linux/vhost.h | 24 - libc/kernel/uapi/linux/videodev2.h | 328 ----------- libc/kernel/uapi/linux/virtio_9p.h | 2 - libc/kernel/uapi/linux/virtio_balloon.h | 6 - libc/kernel/uapi/linux/virtio_blk.h | 16 - libc/kernel/uapi/linux/virtio_config.h | 4 - libc/kernel/uapi/linux/virtio_console.h | 7 - libc/kernel/uapi/linux/virtio_crypto.h | 68 --- libc/kernel/uapi/linux/virtio_gpu.h | 52 -- libc/kernel/uapi/linux/virtio_ids.h | 4 - libc/kernel/uapi/linux/virtio_input.h | 10 - libc/kernel/uapi/linux/virtio_net.h | 26 - libc/kernel/uapi/linux/virtio_pci.h | 24 - libc/kernel/uapi/linux/virtio_ring.h | 11 - libc/kernel/uapi/linux/virtio_rng.h | 1 - libc/kernel/uapi/linux/virtio_scsi.h | 28 - libc/kernel/uapi/linux/virtio_types.h | 1 - libc/kernel/uapi/linux/virtio_vsock.h | 11 - libc/kernel/uapi/linux/vm_sockets.h | 7 - libc/kernel/uapi/linux/vt.h | 16 - libc/kernel/uapi/linux/vtpm_proxy.h | 4 - libc/kernel/uapi/linux/wait.h | 3 - libc/kernel/uapi/linux/wanrouter.h | 2 - libc/kernel/uapi/linux/watchdog.h | 9 - libc/kernel/uapi/linux/wil6210_uapi.h | 6 - libc/kernel/uapi/linux/wimax.h | 13 - libc/kernel/uapi/linux/wimax/i2400m.h | 72 --- libc/kernel/uapi/linux/wireless.h | 107 ---- libc/kernel/uapi/linux/x25.h | 19 - libc/kernel/uapi/linux/xattr.h | 11 - libc/kernel/uapi/linux/xfrm.h | 107 ---- libc/kernel/uapi/linux/xilinx-v4l2-controls.h | 6 - libc/kernel/uapi/linux/zorro.h | 15 - libc/kernel/uapi/linux/zorro_ids.h | 107 ---- libc/kernel/uapi/misc/cxl.h | 26 - libc/kernel/uapi/mtd/inftl-user.h | 16 - libc/kernel/uapi/mtd/mtd-abi.h | 33 -- libc/kernel/uapi/mtd/mtd-user.h | 2 - libc/kernel/uapi/mtd/nftl-user.h | 12 - libc/kernel/uapi/mtd/ubi-user.h | 21 - libc/kernel/uapi/rdma/cxgb3-abi.h | 7 - libc/kernel/uapi/rdma/cxgb4-abi.h | 9 - libc/kernel/uapi/rdma/hfi/hfi1_user.h | 44 -- libc/kernel/uapi/rdma/hns-abi.h | 4 - libc/kernel/uapi/rdma/ib_user_cm.h | 61 -- libc/kernel/uapi/rdma/ib_user_mad.h | 20 - libc/kernel/uapi/rdma/ib_user_sa.h | 9 - libc/kernel/uapi/rdma/ib_user_verbs.h | 225 -------- libc/kernel/uapi/rdma/mlx4-abi.h | 12 - libc/kernel/uapi/rdma/mlx5-abi.h | 47 -- libc/kernel/uapi/rdma/mthca-abi.h | 12 - libc/kernel/uapi/rdma/nes-abi.h | 14 - libc/kernel/uapi/rdma/ocrdma-abi.h | 22 - libc/kernel/uapi/rdma/qedr-abi.h | 11 - libc/kernel/uapi/rdma/rdma_netlink.h | 38 -- libc/kernel/uapi/rdma/rdma_user_cm.h | 58 -- libc/kernel/uapi/rdma/rdma_user_rxe.h | 25 - libc/kernel/uapi/rdma/vmw_pvrdma-abi.h | 53 -- libc/kernel/uapi/scsi/cxlflash_ioctl.h | 30 - libc/kernel/uapi/scsi/fc/fc_els.h | 131 ----- libc/kernel/uapi/scsi/fc/fc_fs.h | 47 -- libc/kernel/uapi/scsi/fc/fc_gs.h | 12 - libc/kernel/uapi/scsi/fc/fc_ns.h | 25 - libc/kernel/uapi/scsi/scsi_bsg_fc.h | 20 - libc/kernel/uapi/scsi/scsi_netlink.h | 8 - libc/kernel/uapi/scsi/scsi_netlink_fc.h | 4 - libc/kernel/uapi/sound/asequencer.h | 96 ---- libc/kernel/uapi/sound/asoc.h | 78 --- libc/kernel/uapi/sound/asound.h | 202 ------- libc/kernel/uapi/sound/asound_fm.h | 17 - libc/kernel/uapi/sound/compress_offload.h | 18 - libc/kernel/uapi/sound/compress_params.h | 45 -- libc/kernel/uapi/sound/emu10k1.h | 74 --- libc/kernel/uapi/sound/firewire.h | 15 - libc/kernel/uapi/sound/hdsp.h | 18 - libc/kernel/uapi/sound/hdspm.h | 33 -- libc/kernel/uapi/sound/sb16_csp.h | 14 - libc/kernel/uapi/sound/sfnt_info.h | 32 -- libc/kernel/uapi/sound/snd_sst_tokens.h | 13 - libc/kernel/uapi/sound/tlv.h | 7 - libc/kernel/uapi/sound/usb_stream.h | 11 - libc/kernel/uapi/video/edid.h | 1 - libc/kernel/uapi/video/sisfb.h | 28 - libc/kernel/uapi/video/uvesafb.h | 12 - libc/kernel/uapi/xen/evtchn.h | 7 - libc/kernel/uapi/xen/gntalloc.h | 6 - libc/kernel/uapi/xen/gntdev.h | 14 - libc/kernel/uapi/xen/privcmd.h | 9 - libc/libc.arm.map | 106 ++-- libc/libc.arm64.map | 106 ++-- libc/libc.map.txt | 2 + libc/libc.mips.map | 106 ++-- libc/libc.mips64.map | 106 ++-- libc/libc.x86.map | 106 ++-- libc/libc.x86_64.map | 106 ++-- libc/malloc_debug/Android.bp | 10 +- libc/malloc_debug/BacktraceData.cpp | 10 +- libc/malloc_debug/BacktraceData.h | 2 +- libc/malloc_debug/Config.cpp | 506 ++++++++--------- libc/malloc_debug/Config.h | 109 +++- libc/malloc_debug/DebugData.cpp | 22 +- libc/malloc_debug/FreeTrackData.cpp | 12 +- libc/malloc_debug/FreeTrackData.h | 2 +- libc/malloc_debug/GuardData.cpp | 10 +- libc/malloc_debug/GuardData.h | 2 +- libc/malloc_debug/README.md | 56 +- libc/malloc_debug/RecordData.cpp | 8 +- libc/malloc_debug/RecordData.h | 2 +- libc/malloc_debug/TrackData.cpp | 4 +- libc/malloc_debug/TrackData.h | 2 +- libc/malloc_debug/backtrace.cpp | 25 +- libc/malloc_debug/debug_log.h | 10 +- libc/malloc_debug/malloc_debug.cpp | 88 +-- libc/malloc_debug/tests/log_fake.cpp | 2 +- .../tests/malloc_debug_config_tests.cpp | 232 +++++--- libc/private/CachedProperty.h | 20 +- libc/private/ScopeGuard.h | 53 -- libc/private/WriteProtected.h | 13 +- libc/private/bionic_fortify.h | 14 +- libc/private/bionic_vdso.h | 2 +- libc/seccomp/mips64_policy.cpp | 104 ++-- libc/seccomp/seccomp_policy.cpp | 4 +- libc/stdio/stdio_ext.cpp | 5 +- libc/stdlib/exit.c | 33 +- libc/tools/gensyscalls.py | 2 +- libc/tzcode/bionic.cpp | 234 ++++++++ libc/tzcode/localtime.c | 227 +------- libc/upstream-openbsd/android/include/arc4random.h | 5 +- .../android/include/openbsd-compat.h | 3 - libdl/libdl.c | 5 + linker/Android.bp | 8 +- linker/arch/x86/begin.c | 6 - linker/dlfcn.cpp | 7 +- linker/linker.cpp | 52 +- linker/linker.h | 3 +- linker/linker_allocator.cpp | 18 +- linker/linker_allocator.h | 5 +- linker/linker_config.cpp | 13 +- linker/linker_debug.h | 7 +- linker/linker_globals.h | 12 +- linker/linker_libcxx_support.cpp | 4 +- linker/linker_logger.cpp | 13 +- linker/linker_main.cpp | 43 +- linker/linker_memory.cpp | 6 +- linker/linker_phdr.cpp | 12 +- linker/linker_sleb128.h | 4 +- linker/linker_soinfo.cpp | 4 +- linker/linker_soinfo.h | 2 +- linker/tests/Android.mk | 5 +- linker/tests/linker_config_test.cpp | 8 +- tests/Android.bp | 118 +++- .../{libc_logging_test.cpp => async_safe_test.cpp} | 87 ++- tests/bug_26110743_test.cpp | 6 +- tests/dlext_test.cpp | 1 + tests/dlfcn_test.cpp | 74 ++- tests/elf_test.cpp | 44 ++ tests/fortify_test.cpp | 94 +-- tests/grp_pwd_test.cpp | 18 +- tests/gtest_main.cpp | 71 +-- tests/libs/Android.bp | 62 +- tests/libs/Android.build.dlext_testzip.mk | 44 +- tests/libs/bionic_tests_zipalign.cpp | 2 +- ...en_testlib_ifunc.c => dlopen_testlib_ifunc.cpp} | 28 +- tests/libs/dlopen_testlib_ifunc_variable.cpp | 24 + tests/libs/dlopen_testlib_ifunc_variable_impl.cpp | 53 ++ tests/link_test.cpp | 116 ++++ tests/linux_swab_test.cpp | 60 ++ tests/math_test.cpp | 46 +- tests/pthread_test.cpp | 7 +- tests/run-on-host.sh | 1 - tests/scsi_sg_test.cpp | 19 + tests/string_test.cpp | 82 ++- tests/sys_ptrace_test.cpp | 152 ++++- tests/sys_sem_test.cpp | 16 + tests/sys_sysinfo_test.cpp | 7 +- tests/unistd_test.cpp | 12 +- tests/utils.h | 9 +- tools/versioner/dependencies | 1 + tools/versioner/src/Driver.cpp | 8 + tools/versioner/src/Preprocessor.cpp | 5 +- tools/versioner/src/versioner.cpp | 19 +- 1094 files changed, 4105 insertions(+), 22144 deletions(-) c2c36b661 Remove a check for AIDs in the OEM range. b09c4fc95 Make xfail passes not failures. d6b25861d loader: fix dlopen performance regression caused by fix for CVE-2017-0670 7b41aaf3d Loosen _POSIX_THREAD_PROCESS_SHARED test. c0c56ec7c Expand Seccomp whitelist 8cef2f5e3 Shave another uninteresting stack frame off aborts. a625ee206 Use libdemangle for function names. 2eab77e50 Fix boost build with unified headers. 996f6decf MIPS: 32/64-bit VDSO support cd510cbed Make dl_iterate_phdr return correct name for first entry 488eb8b7d Move mallopt to correct section. ca84fe3be Add mallopt to canonical list of exports. 7c08c7910 Revert "Make mallopt available in the future." 5059939c8 Enable exporting the non-uapi scsi headers. c0352bbd5 Add offset to backtrace_string printing. 4c65669ab Update malloc debug documentation. 966cf62a7 Expand whitelist f008a11ef Relax flaky _SC_AVPHYS_PAGES check in sys_sysinfo_test 96c1db7b9 Remove the repetitive warnings from the uapi headers. 866e7b690 Fix assembler warnings. 4af220cfe Remove obsolete __stack_chk_fail_local. 8543f923f Stop including from . 94072fbb4 Switch to inline assembler in crtbegin. e0e0fa17f Revert "Add test config to linker-unit-tests" 6718e0309 Move libdlext_... to NATIVE_TESTS instead of ETC 90a83beb4 Make use of the DNS query hook in the netcontext 5a215d781 Don't define IN_CLOEXEC/IN_NONBLOCK for pre-L. cdfface66 Undef EPOLL_CLOEXEC for pre-L. dd878fe12 Add a netcontext variant of gethostbyname 13ec1cf3d Va_end should be used with va_start 468c8086e Fix _POSIX_THREAD_PROCESS_SHARED. cfb61712c The future is now. 2b0f2a485 Fix missing function export. 497ad30d7 Make `union semun` usable. 50178056f Add a netcontext variant of gethostbyaddr f0305dcee Add the DNS query hook to net context 3fa758f49 Fix Mac build. b02206a60 Remove reference to obj/lib 083923d96 Make mallopt available in the future. 5d949da8a tests/utils.h should #include 3d68fca0d Stop using $(TARGET_OUT_INTERMEDIATE_LIBRARIES) f19eeb844 libc: ARM64: fix memset for non-standard ZVA sizes a1c0d2fd4 Add support for modifying decay timer. 94bd27455 Add support for cortex-a73. ec0d6b416 make libasync_safe vendor_available:true cf17b487e test: check unbounded memory leak in pthread detach dfcb82d92 Clean up __isthreaded. a57476b66 Run bionic/libc/tools/genversion-scripts.py 6fca047b5 Add support for cortex-a73. 828b9e162 Fix clang-tidy perfomrance warnings. 37b91af0f greylist is no longer enabled by default. b291d08af Zero-initialize user_desc for __set_thread_area. 9ae23720a Cope with AT_SYSINFO not being set on x86. 2f030af25 Add new memchr/strrchr tests. bf2af69fb Make raise/abort work with stale cached pid/tid values. dd5bd456f [MIPS64] Enable necessary mips64 syscalls in seccomp whitelist 22b4351d5 Fix MIPS seccomp definitions for PRIMARY and SECONDARY arch 28285f533 libc: clean up ARM64 copyright notices c42b4bb09 Remove known failures from arm ifunc tests 7a3681e5b Move libc_log code into libasync_safe. f1cb669a9 Shared namespaces inherit parent ns properties 21975b286 Add ifunc for variable test-case ab4cddc32 Fix pthread_barrier_smoke test (part 2). 2d3122c90 Fix test compile errors after LLVM rebase d5c04c5eb Fix pthread_barrier_smoke test. d10d3eece versioner: disable container overflow checks cf44343c1 fix half-deleted comments in tests d390df1db Restore ELF32_ST_INFO/ELF64_ST_INFO. 01de74e76 linker: add android_get_exported_namespace b50b8c888 versioner: fix leak. 0be1dabfc versioner: add symlink for dependencies. 2fad0d592 Include the libc/kernel/android/scsi headers in the NDK. 81aad0058 Compare Pss of tested library in VerifyMemorySaving 7ba2bed0b Make unified headers' SIGRTMIN/SIGRTMAX usable before API 21. 06be3459c Update bionic after Clang rebase 4a6202683 watchpoint_imprecise test: set 4-byte watchpoints on 32-bit arches db98fed03 Make dl_iterate_phdr weak in libdl. 97fc567f6 Revert "loader: enable loading libraries from tmpfs" 01ea0c0ee Revert "loader: enable loading libraries from tmpfs" ee1e0a34a Update static functions/macro definitions. 7c10abb4a Add basic tests for . bf34ba364 loader: enable loading libraries from tmpfs f2c6ad633 Make the _Unwind_Ptr declaration match clang's. 2e8e5e60b DO NOT MERGE: The future is now. ff6c8de4f Remove unused lambda captures 72007ee68 Decode the common EM_ values. de9262e5c Add syscalls that aren't currently used to the seccomp whitelist. 5109bb463 Make all the ELF relocation constants available. f1db8372d Add missing required libraries 31e5a35f3 libc: fix typo in __RENAME macro 0446c8c09 Add missing arch-specific AT_ cruft. 901601b48 Remove unused elf_machdep.h cruft. 3914b19bd Add PT_ARM_EXIDX. d6f91ce85 Document DT_RUNPATH support. 438e01940 Un-deprecated __system_property_find_nth. e4ddb3c58 Move bionic_systrace.cpp over to CachedProperty. ef2b2fe99 Link to the public post about clang FORTIFY. 295082b3a Avoid "D linker : (null)" with debug.ld.all for dlerror. be4232be8 Report the right error code from PropertyServiceConnection() 35dfaa89d Fix incorrect check. 04d99df80 libc: ARM: Add 32-bit Kryo memcpy b63ed1d2b Restore __system_property_find_nth version 4d114f9e2 libc: use Cortex-A7/A53 memset on Kryo a01cbaa87 Address review comments on the bionic tzdata loader. 3dd3d55af Add seccomp blacklist, and exclude swap functions d3a07e84a The workaround for apps using older version of soinfos a98aa56f3 Remove the useless lock from CachedProperty. 230a7a44c Mark CRT objects as vendor available 4bd354276 'make bionic-unit-tests' now builds all the required binaries 87ff82466 Move libc_logging.cpp over to CachedProperty. 0e8616a37 Move localtime.c over to CachedProperty. 7ade61cae Don't let missing Treble property context files affect errno. 93d4f8b2f Fix missing parse_open_file method. 51a9bf167 Remove .(ll)ndk suffix from (ll)ndk_library 763f6e108 Send developers straight to the text relocation docs. 2b2b25b87 Refactor Config from a struct to a class. 8ef9874d5 versioner: fix LLVM assertion failure. 98f016f4c Move scopeguard into android::base 5f8a673a7 Enable FORTIFY unit tests for clang 9e27e58fa Add support for disabling the greylist. b8ab61804 Move scopeguard into android::base 590a410d2 Fix compare_exchange_weak tests to allow spurious failure b8f7fde4b Add LLNDK stub libraries for the VNDK 19710f761 libc: remove newlines in prototypes in string.h bd3d2088d libc: add const-correct string.h overloads 7336db761 Add (duplicate) license from new XML file a3ed901ef Remove obsolete Android.mk comments bce9a7d51 libc: use __bos instead of __bos0 for strchr. 10ec9286a Break android_set_abort_message out of libc_logging. acc792158 versioner: remove useless log message. d744a9bcd versioner: fix indentation in usage. 3fcf747f1 versioner: guard preprocessing messages with -v. 950a95836 Add kryo support. 62c03a4ff Cleanup ANDROID_DNS_MODE and BIONIC_DNSCACHE 14eb5abc2 Only use environment variables on the host. 8b7a3559c Expand whitelist 108279e9e Addition of a new system file for time zone data 4113def4f Refactor sanitized library on-disk layout - bionic. 284c8f1ba Revert "isnan and isinf aren't functions." d3e7d0884 Fix lookup logic for linked namespaces bc055cae4 Add more ptrace process resumption tests. eb04ed506 Fix x86 system calls made from ELF preinit. 11968b80a linker: log only real dlerrors d944b2ecc Add test config to linker-unit-tests 69cb22f4d Build the versioner even on unbundled branches. 22805ea9b Revert "Revert "Run the versioner as part of the build."" c17e5a465 libc_logging: mention that they're async signal safe. 69a5939ea linker: update dependencies.