summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-08-03release-request-ca4ad653-1655-436a-b65c-2527b02ae5f2-for-git_oc-mr1-release- ↵android-vts-8.1_r9android-vts-8.1_r8android-vts-8.1_r7android-vts-8.1_r6android-vts-8.1_r5android-vts-8.1_r4android-vts-8.1_r3android-vts-8.1_r14android-vts-8.1_r13android-vts-8.1_r12android-vts-8.1_r11android-vts-8.1_r10android-security-8.1.0_r93android-security-8.1.0_r92android-security-8.1.0_r91android-security-8.1.0_r90android-security-8.1.0_r89android-security-8.1.0_r88android-security-8.1.0_r87android-security-8.1.0_r86android-security-8.1.0_r85android-security-8.1.0_r84android-security-8.1.0_r83android-security-8.1.0_r82android-o-mr1-preview-2android-o-mr1-preview-1android-cts-8.1_r9android-cts-8.1_r8android-cts-8.1_r7android-cts-8.1_r6android-cts-8.1_r5android-cts-8.1_r4android-cts-8.1_r3android-cts-8.1_r25android-cts-8.1_r24android-cts-8.1_r23android-cts-8.1_r22android-cts-8.1_r21android-cts-8.1_r20android-cts-8.1_r2android-cts-8.1_r19android-cts-8.1_r18android-cts-8.1_r17android-cts-8.1_r16android-cts-8.1_r15android-cts-8.1_r14android-cts-8.1_r13android-cts-8.1_r12android-cts-8.1_r11android-cts-8.1_r10android-cts-8.1_r1android-8.1.0_r9android-8.1.0_r81android-8.1.0_r80android-8.1.0_r8android-8.1.0_r79android-8.1.0_r78android-8.1.0_r77android-8.1.0_r76android-8.1.0_r75android-8.1.0_r74android-8.1.0_r73android-8.1.0_r72android-8.1.0_r71android-8.1.0_r70android-8.1.0_r7android-8.1.0_r69android-8.1.0_r68android-8.1.0_r67android-8.1.0_r66android-8.1.0_r65android-8.1.0_r64android-8.1.0_r63android-8.1.0_r62android-8.1.0_r61android-8.1.0_r60android-8.1.0_r6android-8.1.0_r53android-8.1.0_r52android-8.1.0_r51android-8.1.0_r50android-8.1.0_r5android-8.1.0_r48android-8.1.0_r47android-8.1.0_r46android-8.1.0_r45android-8.1.0_r43android-8.1.0_r42android-8.1.0_r41android-8.1.0_r40android-8.1.0_r4android-8.1.0_r39android-8.1.0_r38android-8.1.0_r37android-8.1.0_r36android-8.1.0_r35android-8.1.0_r33android-8.1.0_r32android-8.1.0_r31android-8.1.0_r30android-8.1.0_r3android-8.1.0_r29android-8.1.0_r28android-8.1.0_r27android-8.1.0_r26android-8.1.0_r25android-8.1.0_r23android-8.1.0_r22android-8.1.0_r21android-8.1.0_r20android-8.1.0_r2android-8.1.0_r19android-8.1.0_r18android-8.1.0_r17android-8.1.0_r16android-8.1.0_r15android-8.1.0_r14android-8.1.0_r13android-8.1.0_r12android-8.1.0_r11android-8.1.0_r10android-8.1.0_r1aosp-new/security-oc-mr1-releaseaosp-new/oreo-mr1-vts-releaseaosp-new/oreo-mr1-security-releaseaosp-new/oreo-mr1-s1-releaseaosp-new/oreo-mr1-releaseaosp-new/oreo-mr1-cts-releaseaosp-new/oreo-m8-releaseaosp-new/oreo-m7-releaseaosp-new/oreo-m6-s4-releaseaosp-new/oreo-m6-s3-releaseaosp-new/oreo-m6-s2-releaseaosp-new/oreo-m5-releaseaosp-new/oreo-m4-s9-releaseaosp-new/oreo-m4-s8-releaseaosp-new/oreo-m4-s7-releaseaosp-new/oreo-m4-s6-releaseaosp-new/oreo-m4-s5-releaseaosp-new/oreo-m4-s4-releaseaosp-new/oreo-m4-s3-releaseaosp-new/oreo-m4-s2-releaseaosp-new/oreo-m4-s12-releaseaosp-new/oreo-m4-s11-releaseaosp-new/oreo-m4-s10-releaseaosp-new/oreo-m4-s1-releaseaosp-new/oreo-m3-releaseaosp-new/oreo-m2-s5-releaseaosp-new/oreo-m2-s4-releaseaosp-new/oreo-m2-s3-releaseaosp-new/oreo-m2-s2-releaseaosp-new/oreo-m2-s1-releaseaosp-new/oreo-m2-releaseLA.HB.1.5.1_rb1.20android-build-team Robot1-0/+3
4241196 snap-temp-L48200000088705722 Change-Id: I7feac10ac6c764d467d1958dbd6640378c243a53
2017-07-25Mark the module as VNDK or VNDK-SP in Android.bpaosp-new/oreo-mr1-devJustin Yun1-0/+3
As a VNDK/VNDK-SP module, Android.bp must have 'vndk' tag as well as 'vendor_available: true'. For a VNDK module, the 'vndk' tag has 'enabled: true'. It will be installed system/lib(64)/vndk as a vendor variant. For a VNDK-SP module, the 'vndk' tag has 'support_system_process: true' as well as 'enabled: true'. It will be installed system/lib(64)/vndk-sp as a vendor variant. Bug: 63866913 Test: build and boot with BOARD_VNDK_VERSION=current Change-Id: I50f7d1df4ed1ea1928d0881495e28ae4f379acf5
2017-04-20libnl: mark as vendor_available am: defabfc078 am: e8ca354692 am: 49c4b9d4a4aosp-new/oreo-dr1-devSteven Moreland0-0/+0
am: 6eb7e2dbe9 Change-Id: I1f6f69d2aa0809ee7a2959fe715597818b670d71
2017-04-20libnl: Android.mk -> Android.bp am: d7b034fc38 am: d0f2676303 am: e626718187 ↵Steven Moreland0-0/+0
-s ours am: ce41e39745 Change-Id: I1baaf4a0449222ecd657c2bcaa3feed02710179f
2017-04-20libnl: mark as vendor_available am: defabfc078 am: e8ca354692Steven Moreland0-0/+0
am: 49c4b9d4a4 Change-Id: Ia0a95fae8312ee658d751d69c335e0ffb54ebf67
2017-04-20libnl: Android.mk -> Android.bp am: d7b034fc38 am: d0f2676303Steven Moreland0-0/+0
am: e626718187 -s ours Change-Id: Ieb6f01e60b973ef5720fc3cad8a60c436a661aea
2017-04-20libnl: mark as vendor_available am: defabfc078Steven Moreland1-0/+1
am: e8ca354692 Change-Id: Ied5b60c357c39e60efc1b30560dec9ff1a3af351
2017-04-20libnl: Android.mk -> Android.bp am: d7b034fc38Steven Moreland2-46/+50
am: d0f2676303 Change-Id: Ie01f2fb2b18ea89039c763fec5303e77aadf94b7
2017-04-20libnl: mark as vendor_availableSteven Moreland1-0/+1
am: defabfc078 Change-Id: Iea15bc15d64c20d0f8498c5b5e8001385e0288b6
2017-04-20libnl: Android.mk -> Android.bpSteven Moreland2-46/+50
am: d7b034fc38 Change-Id: Id34303d1d5b306cf47e329aa8deab8504023ed32
2017-04-19libnl: mark as vendor_availableSteven Moreland1-0/+1
By setting vendor_available, the following may become true: * a prebuilt library from this release may be used at runtime by in a later releasse (by vendor code compiled against this release). so this library shouldn't depend on runtime state that may change in the future. * this library may be loaded twice into a single process (potentially an old version and a newer version). The symbols will be isolated using linker namespaces, but this may break assumptions about 1 library in 1 process (your singletons will run twice). Background: This means that these modules may be built and installed twice -- once for the system partition and once for the vendor partition. The system version will build just like today, and will be used by the framework components on /system. The vendor version will build against a reduced set of exports and libraries -- similar to, but separate from, the NDK. This means that all your dependencies must also mark vendor_available. At runtime, /system binaries will load libraries from /system/lib*, while /vendor binaries will load libraries from /vendor/lib*. There are some exceptions in both directions -- bionic(libc,etc) and liblog are always loaded from /system. And SP-HALs (OpenGL, etc) may load /vendor code into /system processes, but the dependencies of those libraries will load from /vendor until it reaches a library that's always on /system. In the SP-HAL case, if both framework and vendor libraries depend on a library of the same name, both versions will be loaded, but they will be isolated from each other. It's possible to compile differently -- reducing your source files, exporting different include directories, etc. For details see: https://android-review.googlesource.com/368372 None of this is enabled unless the device opts into the system/vendor split with BOARD_VNDK_VERSION := current. Bug: 36426473 Bug: 36079834 Test: m -j libnl Test: attempt to compile with BOARD_VNDK_VERSION := current (cherry picked from commit ed86cb711aae2ac0847ed90d43c187be812f3769) Merged-In: I84c5f871cba9c0e67350e04f5e9f34489470f34e Change-Id: I84c5f871cba9c0e67350e04f5e9f34489470f34e
2017-04-19libnl: Android.mk -> Android.bpSteven Moreland2-46/+50
Converting to be able to use some Soong features not available in make. Test: (sanity) build and flash marlin device, works Bug: 33241851 (cherry picked from commit b7f0bfbf23be7795613a1d806f87953091315d26) Merged-In: If1f3f5fd5f6b1999011c25ac8b8107f12648435b Change-Id: If1f3f5fd5f6b1999011c25ac8b8107f12648435b
2017-04-17libnl: mark as vendor_available am: ed86cb711aSteven Moreland1-0/+1
am: 7d23cf81db Change-Id: Ia650c5c21e8e985758711bb4a0ed087b22477b11
2017-04-17libnl: Android.mk -> Android.bp am: b7f0bfbf23Steven Moreland2-46/+50
am: 13a580b067 Change-Id: I50ef6c343490c0ecb6d64d6a14af3ae00b68a4bd
2017-04-17libnl: mark as vendor_availableSteven Moreland1-0/+1
am: ed86cb711a Change-Id: I8b793ea558e1c3cd46597e51b2e09ca3a25e83c7
2017-04-17libnl: Android.mk -> Android.bpSteven Moreland2-46/+50
am: b7f0bfbf23 Change-Id: Ie683d140038c8d15ec4115d50c19aee79bab0f9f
2017-04-13libnl: mark as vendor_availableandroid-wear-o-preview-4android-wear-o-preview-3android-wear-8.0.0_r2android-wear-8.0.0_r1android-vts-8.0_r2android-vts-8.0_r1aosp-new/oreo-devSteven Moreland1-0/+1
By setting vendor_available, the following may become true: * a prebuilt library from this release may be used at runtime by in a later releasse (by vendor code compiled against this release). so this library shouldn't depend on runtime state that may change in the future. * this library may be loaded twice into a single process (potentially an old version and a newer version). The symbols will be isolated using linker namespaces, but this may break assumptions about 1 library in 1 process (your singletons will run twice). Background: This means that these modules may be built and installed twice -- once for the system partition and once for the vendor partition. The system version will build just like today, and will be used by the framework components on /system. The vendor version will build against a reduced set of exports and libraries -- similar to, but separate from, the NDK. This means that all your dependencies must also mark vendor_available. At runtime, /system binaries will load libraries from /system/lib*, while /vendor binaries will load libraries from /vendor/lib*. There are some exceptions in both directions -- bionic(libc,etc) and liblog are always loaded from /system. And SP-HALs (OpenGL, etc) may load /vendor code into /system processes, but the dependencies of those libraries will load from /vendor until it reaches a library that's always on /system. In the SP-HAL case, if both framework and vendor libraries depend on a library of the same name, both versions will be loaded, but they will be isolated from each other. It's possible to compile differently -- reducing your source files, exporting different include directories, etc. For details see: https://android-review.googlesource.com/368372 None of this is enabled unless the device opts into the system/vendor split with BOARD_VNDK_VERSION := current. Bug: 36426473 Bug: 36079834 Test: m -j libnl Test: attempt to compile with BOARD_VNDK_VERSION := current Change-Id: I84c5f871cba9c0e67350e04f5e9f34489470f34e
2017-04-13libnl: Android.mk -> Android.bpSteven Moreland2-46/+50
Converting to be able to use some Soong features not available in make. Test: (sanity) build and flash marlin device, works Bug: 33241851 Change-Id: If1f3f5fd5f6b1999011c25ac8b8107f12648435b
2017-02-10Merge "Perform range check on len in nlmsg_reserve am: f83d9c1c67 am: ↵android-o-preview-1aosp-new/o-previewPaul Stewart0-0/+0
d42374324d am: d9f824b744 am: 25edb109fc am: b0a4ed4800 am: 65d4de583a am: 45c4ce4768 am: 642a497f9c am: 170a7d24f4 am: 0a37ab0fdd am: 1ff6ec5e40 am: a96b31573c" into nyc-mr2-dev-plus-aosp am: 91c684b0a7 Change-Id: I50e62302f46220effafb85ae9ad8664e9a144181
2017-02-10Perform range check on len in nlmsg_reserve am: f83d9c1c67 am: d42374324d ↵Paul Stewart1-0/+3
am: d9f824b744 am: 25edb109fc am: b0a4ed4800 am: 65d4de583a am: 45c4ce4768 am: 642a497f9c am: 170a7d24f4 am: 0a37ab0fdd am: 1ff6ec5e40 am: a1fbdcb6df am: 8ebc658da0 Change-Id: I7efccc7b4c8a55c5006099b4d8f0d04f1908a897
2017-02-10Merge "Perform range check on len in nlmsg_reserve am: f83d9c1c67 am: ↵Android Build Merger (Role)0-0/+0
d42374324d am: d9f824b744 am: 25edb109fc am: b0a4ed4800 am: 65d4de583a am: 45c4ce4768 am: 642a497f9c am: 170a7d24f4 am: 0a37ab0fdd am: 1ff6ec5e40 am: a96b31573c" into nyc-mr2-dev-plus-aosp
2017-02-10Perform range check on len in nlmsg_reserve am: f83d9c1c67 am: d42374324d ↵Paul Stewart1-0/+3
am: d9f824b744 am: 25edb109fc am: b0a4ed4800 am: 65d4de583a am: 45c4ce4768 am: 642a497f9c am: 170a7d24f4 am: 0a37ab0fdd am: 1ff6ec5e40 am: a1fbdcb6df Change-Id: I58034adc7c01c8e5d328c733a06008bbb94e13fb
2017-02-10Perform range check on len in nlmsg_reserve am: f83d9c1c67 am: d42374324d ↵Paul Stewart1-0/+3
am: d9f824b744 am: 25edb109fc am: b0a4ed4800 am: 65d4de583a am: 45c4ce4768 am: 642a497f9c am: 170a7d24f4 am: 0a37ab0fdd am: 1ff6ec5e40 am: a96b31573c Change-Id: I82d5bd8efec6f09becb413ecbcc01e814283243a
2017-02-10Perform range check on len in nlmsg_reserve am: f83d9c1c67 am: d42374324d ↵Paul Stewart1-0/+3
am: d9f824b744 am: 25edb109fc am: b0a4ed4800 am: 65d4de583a am: 45c4ce4768 am: 642a497f9c am: 170a7d24f4 am: 0a37ab0fdd am: 1ff6ec5e40 Change-Id: If146c702bff80b8b6803567c10f98d5096653b1e
2017-02-10Perform range check on len in nlmsg_reserve am: f83d9c1c67 am: d42374324d ↵android-n-mr2-preview-2android-7.1.2_r9android-7.1.2_r8android-7.1.2_r6android-7.1.2_r5android-7.1.2_r4android-7.1.2_r39android-7.1.2_r38android-7.1.2_r37android-7.1.2_r36android-7.1.2_r33android-7.1.2_r32android-7.1.2_r30android-7.1.2_r3android-7.1.2_r29android-7.1.2_r28android-7.1.2_r27android-7.1.2_r25android-7.1.2_r24android-7.1.2_r23android-7.1.2_r2android-7.1.2_r19android-7.1.2_r18android-7.1.2_r17android-7.1.2_r16android-7.1.2_r15android-7.1.2_r14android-7.1.2_r13android-7.1.2_r12android-7.1.2_r11android-7.1.2_r10android-7.1.2_r1aosp-new/nougat-mr2.3-releaseaosp-new/nougat-mr2.2-releaseaosp-new/nougat-mr2.1-releaseaosp-new/nougat-mr2-security-releaseaosp-new/nougat-mr2-releaseaosp-new/nougat-mr2-pixel-releaseaosp-new/nougat-mr2-devPaul Stewart1-0/+3
am: d9f824b744 am: 25edb109fc am: b0a4ed4800 am: 65d4de583a am: 45c4ce4768 am: 642a497f9c am: 170a7d24f4 am: 0a37ab0fdd am: 1ff6ec5e40 Change-Id: I5e81524dc3a0b9fdd2e7c05fbe625ef5ab960b1f
2017-02-10Perform range check on len in nlmsg_reserve am: f83d9c1c67 am: d42374324d ↵Paul Stewart1-0/+3
am: d9f824b744 am: 25edb109fc am: b0a4ed4800 am: 65d4de583a am: 45c4ce4768 am: 642a497f9c am: 170a7d24f4 am: 0a37ab0fdd Change-Id: I57fdb95dc2d530bafd70c862b92cc2b1b7476335
2017-02-10Perform range check on len in nlmsg_reserve am: f83d9c1c67 am: d42374324d ↵Paul Stewart1-0/+3
am: d9f824b744 am: 25edb109fc am: b0a4ed4800 am: 65d4de583a am: 45c4ce4768 am: 642a497f9c am: 170a7d24f4 Change-Id: I9f5b21f74a6a0f24ce38202bba0243bbae3e220b
2017-02-10Perform range check on len in nlmsg_reserve am: f83d9c1c67 am: d42374324d ↵Paul Stewart1-0/+3
am: d9f824b744 am: 25edb109fc am: b0a4ed4800 am: 65d4de583a am: 45c4ce4768 am: 642a497f9c Change-Id: I26dfbb4b58a9d34be0df2d953b939e3ce7ca89b4
2017-02-10Perform range check on len in nlmsg_reserve am: f83d9c1c67 am: d42374324d ↵Paul Stewart1-0/+3
am: d9f824b744 am: 25edb109fc am: b0a4ed4800 am: 65d4de583a am: 45c4ce4768 Change-Id: I818b903bad92c4dde312838510d8e1e2c5630435
2017-02-09Perform range check on len in nlmsg_reserve am: f83d9c1c67 am: d42374324d ↵Paul Stewart1-0/+3
am: d9f824b744 am: 25edb109fc am: b0a4ed4800 am: 65d4de583a Change-Id: Iee30bc34aa5125ddccfc93f09ddd43a6403aa296
2017-02-09Perform range check on len in nlmsg_reserve am: f83d9c1c67 am: d42374324d ↵Paul Stewart1-0/+3
am: d9f824b744 am: 25edb109fc am: b0a4ed4800 Change-Id: I931664c2af7f7a88bfead15efe49c94beffa07d3
2017-02-09Perform range check on len in nlmsg_reserve am: f83d9c1c67 am: d42374324d ↵Paul Stewart1-0/+3
am: d9f824b744 am: 25edb109fc Change-Id: I917eb10527bacaad4319b61d97338ccc8d91e3cd
2017-02-09Perform range check on len in nlmsg_reserve am: f83d9c1c67 am: d42374324dPaul Stewart1-0/+3
am: d9f824b744 Change-Id: Ibc0ba8193e59b559601235c28904eed160a83077
2017-02-09Perform range check on len in nlmsg_reserve am: f83d9c1c67Paul Stewart1-0/+3
am: d42374324d Change-Id: Idaa71608952cab5fc9ecfa2c769c1974539e25d3
2017-02-09Perform range check on len in nlmsg_reservePaul Stewart1-0/+3
am: f83d9c1c67 Change-Id: Ie702166cfd63a452792704a608c82e8481b3c123
2017-02-09lib/utils.c: add mutex to get_psched_settings() am: 920dc7f13d am: ↵Thomas Haller1-12/+20
45218277cd am: be91606750 am: c9bc7966fa Change-Id: Ia72e11c9da9bd49d26119653886c562797a97f4b
2017-02-09lib/utils.c: ensure calling get_psched_settings() for ↵Thomas Haller1-0/+2
nl_us2ticks()/nl_ticks2us() am: 7389cb7f37 am: 605874c781 am: 268fec081e am: 43085d6e5b Change-Id: I9b8cd7455144ee1896eb6e4701f7896ad389e03d
2017-02-09lib/utils.c: lazy initialize user_hz and psched_hz am: 6760f904f2 am: ↵Nick Kralevich1-1/+8
43dadae700 am: d0a1958f4a am: 67081dd1ee Change-Id: I6d1013c3add9cc3a6d49087ed334ccf22cfde352
2017-02-09lib/utils.c: add mutex to get_psched_settings() am: 920dc7f13d am: 45218277cdThomas Haller1-12/+20
am: be91606750 Change-Id: I09304682c81d5cf8c9bec099d7d693fed0a7d279
2017-02-09lib/utils.c: ensure calling get_psched_settings() for ↵Thomas Haller1-0/+2
nl_us2ticks()/nl_ticks2us() am: 7389cb7f37 am: 605874c781 am: 268fec081e Change-Id: I6475fcd4f3840e74ea2b7c5c5a78e0e2f2b74291
2017-02-09lib/utils.c: lazy initialize user_hz and psched_hz am: 6760f904f2 am: 43dadae700Nick Kralevich1-1/+8
am: d0a1958f4a Change-Id: Iece05529bfc7d822ea96f27f1d915d8ba49c4b33
2017-02-09lib/utils.c: add mutex to get_psched_settings() am: 920dc7f13dThomas Haller1-12/+20
am: 45218277cd Change-Id: Ib10e47a35bfc358f7d9978697b70454ae3575afd
2017-02-09lib/utils.c: ensure calling get_psched_settings() for ↵Thomas Haller1-0/+2
nl_us2ticks()/nl_ticks2us() am: 7389cb7f37 am: 605874c781 Change-Id: Id2e8f9f3f88466c09f0ddf45c81be641d75afc3a
2017-02-09lib/utils.c: lazy initialize user_hz and psched_hz am: 6760f904f2Nick Kralevich1-1/+8
am: 43dadae700 Change-Id: I4600ff3e71e0992c49f36f0971c9b7c3c405ebe8
2017-02-09lib/utils.c: add mutex to get_psched_settings()Thomas Haller1-12/+20
am: 920dc7f13d Change-Id: I5d4d1c3223be9ba9636ffd1e735aec1f422aa74c
2017-02-09lib/utils.c: ensure calling get_psched_settings() for ↵Thomas Haller1-0/+2
nl_us2ticks()/nl_ticks2us() am: 7389cb7f37 Change-Id: Ib60637b557286e9fa8bd935589f33f01a2375181
2017-02-09lib/utils.c: lazy initialize user_hz and psched_hzNick Kralevich1-1/+8
am: 6760f904f2 Change-Id: I03333818696be3d607f6c0b23d80577904facbb5
2017-02-09lib/utils.c: add mutex to get_psched_settings()Thomas Haller1-12/+20
Let's add a mutex to get_psched_settings() hoping to solve worst case scenarios when calling get_psched_settings() from multiple threads. Also, only read the environment variables once, who knows whether they are modified concurrently. (cherry picked from commit 24d669a3a990d1d637fc94698cc4ae2c6e8e178e) Test: Compiles and ueventd proc_net denial is gone. Bug: 35197529 Change-Id: Ic49dd28d3ab951a4d1b557a5e27290366f4640cc
2017-02-09lib/utils.c: ensure calling get_psched_settings() for ↵Thomas Haller1-0/+2
nl_us2ticks()/nl_ticks2us() (cherry picked from commit c33dec5a4a7df01730f90dd41f28a53c188aab46) Test: Compiles and ueventd proc_net denial is gone. Bug: 35197529 Change-Id: I09dbc1f36089c58f7965b26bf8a632a4865c3865
2017-02-09lib/utils.c: lazy initialize user_hz and psched_hzNick Kralevich1-1/+8
Rather than initializing user_hz and psched_hz when libnl is loaded, defer initialization of these variables to the first time they are used. This has several advantages: 1) Avoids an unnecessary permission denied error on /proc/net/psched, which can occur on systems where /proc/net isn't readable due to security policy. 2) Allows program code to initialize the environment variables PROC_NET_PSCHED and/or PROC_ROOT prior to the first libnl call, giving a program more flexibility about where libnl should look. 3) Trivially faster startup time (although unlikely to be significant). 4) Compiler may be able to prove that the get_psched_settings() function is unreachable and optimize appropriately, because the callers never (directly or indirectly) use this method. This could occur, for instance, in doing dead code elimination for programs which statically link libnl. Signed-off-by: Nick Kralevich <nnk@google.com> https://github.com/thom311/libnl/pull/123 (cherry picked from commit 8e0ead4b5bcf22dcc210442629ebb416116ea1f0) Test: Compiles and ueventd proc_net denial is gone. Bug: 35197529 Change-Id: Iad9ea207315c92489617334edeba73053d67cf6b