Skip to content

Commit 2526911

Browse files
JordanYatesjhedberg
authored andcommitted
net: lib: sockets: add socket service fd requirement
The net socket service implementation permanently opens a file descriptor, which should be taken into account by the build system. Signed-off-by: Jordan Yates <[email protected]>
1 parent 38f8925 commit 2526911

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

subsys/net/lib/sockets/Kconfig

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,13 @@ config NET_SOCKETS_SERVICE
9595
system needs as multiple services can be activated at the same time
9696
depending on network configuration.
9797

98+
config ZVFS_OPEN_ADD_SIZE_SOCKETS_SERVICE
99+
int "Socket service file descriptor requirements"
100+
default 1
101+
help
102+
The socket service opens a permanent eventfd, which consumes a file
103+
descriptor.
104+
98105
config NET_SOCKETS_SERVICE_THREAD_PRIO
99106
int "Priority of the socket service dispatcher thread"
100107
default NUM_PREEMPT_PRIORITIES

0 commit comments

Comments
 (0)