Skip to content

Configuring with POSIX_API disables NET_SOCKETS_POSIX_NAMES #17353

@SteveOss

Description

@SteveOss

Describe the bug

If POSIX support is enabled with CONFIG_POSIX_API=y then use of POSIX compliant
network interface names with CONFIG_NET_SOCKETS_POSIX_NAMES is disabled. This seems illogical to me.

Expected behavior
Should be able to set both CONFIG_POSIX_API and CONFIG_NET_SOCKETS_POSIX_NAMES for maximum POSIX compliance.

Impact
Breaks existing build

Screenshots or console output

warning: NET_SOCKETS_POSIX_NAMES (defined at subsys/net/lib/sockets/Kconfig:16) was assigned the
value 'y' but got the value 'n'. You can check symbol information (including dependencies) in the
'menuconfig' interface (see the Application Development Primer section of the manual), or in the
Kconfig reference at

Environment (please complete the following information):

  • OS: Linux
  • Toolchain Zephyr SDK 0.10.1
  • Commit 1.14 LTS branch

Additional context
Am pretty sure this used to work on 1.14, looks like has been broken on the LTS branch
at some point.

Metadata

Metadata

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions