mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-01 06:46:04 +00:00
Previously the "socket file descriptors" were just net_context pointers cast to int. For full POSIX compatibility and support of generic operations line read/write/close/fcntl/ioctl, the real file descriptors should be supported, as implemented by fdtable mini-subsys. Socket implementation already has userspace vs flatspace dichotomy, and adding to that ptr-fds vs real-fds dichotomy (4 possible cases) is just too cumbersome. So, switch sockets to real fd's regardless if full POSIX subsystem is enabled or not. Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org> |
||
---|---|---|
.. | ||
ip | ||
l2 | ||
lib | ||
buf.c | ||
CMakeLists.txt | ||
hostname.c | ||
Kconfig | ||
Kconfig.hostname | ||
Kconfig.template.log_config.default.net | ||
Kconfig.template.log_config.net | ||
TODO |