use epoll_create1

epoll_create leaks file descriptors. Use epoll_create1(EPOLL_CLOEXEC)
instead.

Bug: 120983106
Test: compiles and boots
Change-Id: I15d5b23e70c6c8fcc5163202db430cfa884ea0f2
2 files changed
tree: ab8de54255d448f36bcbabaf9fe7bf021ce780d0
  1. acdbdata/
  2. audio/
  3. blueline/
  4. bluetooth/
  5. crosshatch/
  6. dumpstate/
  7. factory-images_blueline/
  8. factory-images_crosshatch/
  9. felica/
  10. gpt-utils/
  11. health/
  12. hidl/
  13. json-c/
  14. keymaster/
  15. nfc/
  16. overlay/
  17. permissions/
  18. pixelstats/
  19. power-libperfmgr/
  20. recovery/
  21. sdm845/
  22. seccomp_policy/
  23. self-extractors/
  24. self-extractors_blueline/
  25. sensors/
  26. thermal/
  27. usb/
  28. vibrator/
  29. voice_processing/
  30. vr/
  31. .clang-format
  32. .gitignore
  33. Android.mk
  34. AndroidProducts.mk
  35. aosp_blueline.mk
  36. aosp_crosshatch.mk
  37. audio_effects.xml
  38. audio_platform_info_tavil_b1.xml
  39. audio_platform_info_tavil_c1.xml
  40. audio_policy_configuration.xml
  41. audio_policy_configuration_a2dp_offload_disabled.xml
  42. audio_policy_volumes_b1.xml
  43. audio_policy_volumes_c1.xml
  44. board-info.txt
  45. BoardConfig-common.mk
  46. CleanSpec.mk
  47. compatibility_matrix.xml
  48. config.fs
  49. default-permissions.xml
  50. default_volume_tables.xml
  51. device-blueline.mk
  52. device-common.mk
  53. device-crosshatch.mk
  54. device.mk
  55. device_framework_matrix.xml
  56. framework_manifest.xml
  57. fstab.hardware
  58. fstab.persist
  59. gps.conf
  60. graphite_ipc_platform_info.xml
  61. init.edge_sense.sh
  62. init.firstboot.sh
  63. init.hardware.chamber.rc.userdebug
  64. init.hardware.diag.rc.user
  65. init.hardware.diag.rc.userdebug
  66. init.hardware.mpssrfs.rc.user
  67. init.hardware.mpssrfs.rc.userdebug
  68. init.hardware.rc
  69. init.hardware.usb.rc
  70. init.insmod.blueline.cfg
  71. init.insmod.crosshatch.cfg
  72. init.insmod.sh
  73. init.logging.rc
  74. init.power.rc
  75. init.qcom.devstart.sh
  76. init.qcom.ipastart.sh
  77. init.qcom.wlan.sh
  78. init.radio.sh
  79. init.ramoops.sh
  80. init.recovery.hardware.device.rc
  81. init.recovery.hardware.rc
  82. lowi.conf
  83. manifest.xml
  84. manifest_userdebug.xml
  85. media_codecs.xml
  86. media_codecs_c2.xml
  87. media_codecs_google_audio.xml
  88. media_codecs_google_c2_audio.xml
  89. media_codecs_google_c2_telephony.xml
  90. media_codecs_performance.xml
  91. media_codecs_performance_c2.xml
  92. media_profiles_V1_0.xml
  93. mixer_paths_tavil_b1.xml
  94. p2p_supplicant_overlay.conf
  95. powerhint.json
  96. qti_whitelist.xml
  97. recovery.wipe
  98. sec_config
  99. sound_trigger_mixer_paths_wcd9340.xml
  100. sound_trigger_platform_info.xml
  101. system.prop
  102. thermal-engine-blueline-novr-evt.conf
  103. thermal-engine-blueline-novr-prod.conf
  104. thermal-engine-blueline-vr-evt.conf
  105. thermal-engine-blueline-vr-prod.conf
  106. thermal-engine-crosshatch-novr-evt.conf
  107. thermal-engine-crosshatch-novr-prod.conf
  108. thermal-engine-crosshatch-vr-evt.conf
  109. thermal-engine-crosshatch-vr-prod.conf
  110. ueventd.hardware.rc
  111. uinput-fpc.idc
  112. uinput-fpc.kl
  113. utils.mk
  114. WCNSS_qcom_cfg.ini
  115. wifi_concurrency_cfg.txt
  116. wpa_supplicant_overlay.conf
  117. wpa_supplicant_wcn.conf