libc: Handle cancellation in non multiplexed socket calls
libc: Handle cancellation in non multiplexed socket calls

For those archs that provide non multiplexed socket calls
it possible to implement the lib C wrappers without calling the
multi-purpose __socketcall. For a subset of these functions that
are cancellation point, it needs to correctly handle cancellation.

Signed-off-by: Francesco Rundo <592a44a6d1fb992dd20b9cbedcdf85ed2c4b5acb@st.com>
Signed-off-by: Carmelo Amoroso <532378793705a04edd56deb76ad8c0442834d55d@st.com>

skristiansson/uClibc-or1k,ysat0/uClibc,skristiansson/uClibc-or1k,brgl/uclibc-ng,mephi42/uClibc,ddcc/klee-uclibc-0.9.33.2,atgreen/uClibc-moxie,ddcc/klee-uclibc-0.9.33.2,majek/uclibc-vx32,czankel/xtensa-uclibc,hwoarang/uClibc,wbx-github/uclibc-ng,foss-xtensa/uClibc,skristiansson/uClibc-or1k,ddcc/klee-uclibc-0.9.33.2,hjl-tools/uClibc,wbx-github/uclibc-ng,kraj/uClibc,foss-xtensa/uClibc,kraj/uClibc,atgreen/uClibc-moxie,ndmsystems/uClibc,waweber/uclibc-clang,ndmsystems/uClibc,waweber/uclibc-clang,majek/uclibc-vx32,foss-xtensa/uClibc,kraj/uClibc,groundwater/uClibc,ffainelli/uClibc,kraj/uClibc,ffainelli/uClibc,ffainelli/uClibc,groundwater/uClibc,brgl/uclibc-ng,ysat0/uClibc,ffainelli/uClibc,hjl-tools/uClibc,ddcc/klee-uclibc-0.9.33.2,hwoarang/uClibc,m-labs/uclibc-lm32,waweber/uclibc-clang,kraj/uclibc-ng,ndmsystems/uClibc,foss-for-synopsys-dwc-arc-processors/uClibc,foss-for-synopsys-dwc-arc-processors/uClibc,m-labs/uclibc-lm32,brgl/uclibc-ng,czankel/xtensa-uclibc,majek/uclibc-vx32,wbx-github/uclibc-ng,ysat0/uClibc,majek/uclibc-vx32,groundwater/uClibc,hjl-tools/uClibc,groundwater/uClibc,mephi42/uClibc,kraj/uclibc-ng,mephi42/uClibc,foss-for-synopsys-dwc-arc-processors/uClibc,ndmsystems/uClibc,hjl-tools/uClibc,czankel/xtensa-uclibc,groundwater/uClibc,atgreen/uClibc-moxie,hwoarang/uClibc,hwoarang/uClibc,m-labs/uclibc-lm32,brgl/uclibc-ng,wbx-github/uclibc-ng,atgreen/uClibc-moxie,kraj/uclibc-ng,skristiansson/uClibc-or1k,ffainelli/uClibc,hjl-tools/uClibc,waweber/uclibc-clang,foss-xtensa/uClibc,foss-for-synopsys-dwc-arc-processors/uClibc,czankel/xtensa-uclibc,m-labs/uclibc-lm32,kraj/uclibc-ng,ysat0/uClibc,mephi42/uClibc