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>

joel-porquet/tsar-uclibc,joel-porquet/tsar-uclibc,joel-porquet/tsar-uclibc,joel-porquet/tsar-uclibc