zephyr/lib/os
Chris Friedt 487a8756c3 posix: eventfd: fix dependency cycle between net and posix
Until recently, the posix api was purely a consumer of the
network subsystem. However, a dependency cycle was added as
a stop-gap solution for challenges with the native platform.

Specifically,

1. eventfd symbols conflict with those of the host
2. eventfd was excluded from native libc builds via cmake

If any part of the posix were then to select the network
subsystem (which is a legitimate use case, given that networking
is a part of the posix api), we would get a build error due to
the Kconfig dependency cycle.

As usual, with dependency cycles, the cycle can be broken
via a third, mutual dependency.

What is the third mutual dependency? Naturally, it is ZVFS
which was planned some time ago. ZVFS will be where we
collect file-descriptor and FILE-pointer APIs so that we can
ensure consistency for Zephyr users.

This change deprecates EVENTFD_MAX in favour of
ZVFS_EVENTFD_MAX.

Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
2024-06-04 16:27:12 -05:00
..
zvfs posix: eventfd: fix dependency cycle between net and posix 2024-06-04 16:27:12 -05:00
assert.c llext: export some symbols 2023-12-01 10:08:12 -05:00
cbprintf_complete.c lib: cbprintf: do not blindly skip tags 2024-02-06 09:53:15 +01:00
cbprintf_nano.c
cbprintf_packaged.c lib: os: cbprintf: Fix size miscalculation in cbprintf_convert 2023-12-28 12:18:50 +00:00
cbprintf.c
CMakeLists.txt posix: eventfd: fix dependency cycle between net and posix 2024-06-04 16:27:12 -05:00
fdtable.c posix: deprecate POSIX_FS for POSIX_FILE_SYSTEM 2024-06-04 16:27:12 -05:00
Kconfig posix: eventfd: fix dependency cycle between net and posix 2024-06-04 16:27:12 -05:00
Kconfig.cbprintf libc/picolibc: Support 'long long' and 'minimal' printf variants 2023-11-20 06:07:58 -05:00
mpsc_pbuf.c
mutex.c build: namespace the generated headers with zephyr/ 2024-05-28 22:03:55 +02:00
p4wq.c kernel: move wait_q.h header to be internal 2023-09-12 12:55:36 -04:00
poweroff.c
printk.c build: namespace the generated headers with zephyr/ 2024-05-28 22:03:55 +02:00
reboot.c
sem.c lib: os: coding guidelines: add explicit cast to void 2024-05-03 07:52:42 -04:00
spsc_pbuf.c spsc_pbuf: fix cache invalidation in spsc_pbuf_free 2024-02-01 13:10:28 -06:00
thread_entry.c kernel: Option to not use tls to get current thread 2023-11-21 15:49:48 +01:00
user_work.c