Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions lib/posix/options/Kconfig.aio
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

config POSIX_ASYNCHRONOUS_IO
bool "POSIX asynchronous I/O"
select NATIVE_LIBC_INCOMPATIBLE
help
Enable this option for asynchronous I/O. This option is present for conformance purposes
only. All functions listed in <aio.h> return -1 and set errno to ENOSYS.
1 change: 1 addition & 0 deletions lib/posix/options/Kconfig.barrier
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

menuconfig POSIX_BARRIERS
bool "POSIX barriers"
select NATIVE_LIBC_INCOMPATIBLE
help
Select 'y' here to enable POSIX barriers.

Expand Down
1 change: 1 addition & 0 deletions lib/posix/options/Kconfig.c_lib_ext
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

menuconfig POSIX_C_LIB_EXT
bool "POSIX general C library extension"
select NATIVE_LIBC_INCOMPATIBLE
help
Select 'y' here and Zephyr will provide an implementation of the POSIX_C_LIB_EXT Option
Group, consisting of fnmatch(), getopt(), getsubopt(), optarg, opterr, optind, optopt,
Expand Down
1 change: 1 addition & 0 deletions lib/posix/options/Kconfig.device_io
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ config POSIX_DEVICE_IO
select ZVFS
select ZVFS_POLL
select ZVFS_SELECT
select NATIVE_LIBC_INCOMPATIBLE
help
Select 'y' here and Zephyr will provide an implementation of the POSIX_DEVICE_IO Option
Group such as FD_CLR(), FD_ISSET(), FD_SET(), FD_ZERO(), close(), fdopen(), fileno(), open(),
Expand Down
1 change: 1 addition & 0 deletions lib/posix/options/Kconfig.fd_mgmt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

menuconfig POSIX_FD_MGMT
bool "POSIX file descriptor management"
select NATIVE_LIBC_INCOMPATIBLE
help
Select 'y' here and Zephyr will provide implementations for the POSIX_FD_MGMT Option Group.
This includes support for dup(), dup2(), fcntl(), fseeko(), ftello(), ftruncate(),
Expand Down
1 change: 1 addition & 0 deletions lib/posix/options/Kconfig.file_system_r
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ config POSIX_FILE_SYSTEM_R
bool "Thread-Safe File System"
select FILE_SYSTEM
select FDTABLE
select NATIVE_LIBC_INCOMPATIBLE
help
Select 'y' here and Zephyr will provide an implementation of the POSIX_FILE_SYSTEM_R
Option Group, consisting of readdir_r().
Expand Down
1 change: 1 addition & 0 deletions lib/posix/options/Kconfig.fs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ menuconfig POSIX_FILE_SYSTEM
default y if POSIX_API
select FILE_SYSTEM
select FDTABLE
select NATIVE_LIBC_INCOMPATIBLE
help
This enables POSIX style file system related APIs.

Expand Down
5 changes: 5 additions & 0 deletions lib/posix/options/Kconfig.mem
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ config POSIX_SHARED_MEMORY_OBJECTS
select SYS_HASH_FUNC32_DJB2
select FDTABLE
select POSIX_MAPPED_FILES
select NATIVE_LIBC_INCOMPATIBLE
help
Select 'y' here and Zephyr will provide implementations of shm_open() and shm_unlink().

Expand All @@ -27,6 +28,7 @@ config POSIX_SHARED_MEMORY_OBJECTS

config POSIX_MAPPED_FILES
bool "POSIX memory-mapped files"
select NATIVE_LIBC_INCOMPATIBLE
help
Select 'y' here and Zephyr will provide support for mmap(), msync(), and munmap().

Expand All @@ -41,6 +43,7 @@ if POSIX_MAPPED_FILES

config POSIX_MEMLOCK
bool "POSIX memory locking"
select NATIVE_LIBC_INCOMPATIBLE
help
Select 'y' here and Zephyr will provide support for mlockall() and munlockall().

Expand All @@ -55,6 +58,7 @@ config POSIX_MEMLOCK
config POSIX_MEMLOCK_RANGE
bool "POSIX range memory locking"
imply DEMAND_PAGING
select NATIVE_LIBC_INCOMPATIBLE
help
Select 'y' here and Zephyr will provide support for mlock() and munlock().

Expand All @@ -69,6 +73,7 @@ endif

config POSIX_MEMORY_PROTECTION
bool "POSIX memory protection"
select NATIVE_LIBC_INCOMPATIBLE
help
Select 'y' here and Zephyr will provide support for mprotect().

Expand Down
1 change: 1 addition & 0 deletions lib/posix/options/Kconfig.mqueue
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

menuconfig POSIX_MESSAGE_PASSING
bool "POSIX message queue support"
select NATIVE_LIBC_INCOMPATIBLE
help
This enabled POSIX message queue related APIs.

Expand Down
1 change: 1 addition & 0 deletions lib/posix/options/Kconfig.net
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ menuconfig POSIX_NETWORKING
select NET_INTERFACE_NAME
select NET_SOCKETPAIR
select NET_SOCKETS
select NATIVE_LIBC_INCOMPATIBLE
help
Enable this option to support the POSIX networking API. This includes
support for BSD Sockets.
Expand Down
1 change: 1 addition & 0 deletions lib/posix/options/Kconfig.proc1
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
menuconfig POSIX_SINGLE_PROCESS
bool "POSIX single process support"
# imply COMMON_LIBC_MALLOC # for env.c
select NATIVE_LIBC_INCOMPATIBLE
help
Select 'y' here to use confstr(), environ, errno, getenv(), setenv(), sysconf(), uname(),
or unsetenv().
Expand Down
1 change: 1 addition & 0 deletions lib/posix/options/Kconfig.procN
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

menuconfig POSIX_MULTI_PROCESS
bool "POSIX multi-process support"
select NATIVE_LIBC_INCOMPATIBLE
help
Support for multi-processing.

Expand Down
1 change: 1 addition & 0 deletions lib/posix/options/Kconfig.pthread
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

menuconfig POSIX_THREADS
bool "POSIX thread support"
select NATIVE_LIBC_INCOMPATIBLE
help
Select 'y' here to enable POSIX threads, mutexes, condition variables, and thread-specific
storage.
Expand Down
1 change: 1 addition & 0 deletions lib/posix/options/Kconfig.rwlock
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

menuconfig POSIX_READER_WRITER_LOCKS
bool "POSIX reader-writer locks"
select NATIVE_LIBC_INCOMPATIBLE
help
Select 'y' here to enable POSIX reader-writer locks.

Expand Down
1 change: 1 addition & 0 deletions lib/posix/options/Kconfig.sched
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ menu "POSIX scheduler options"

config POSIX_PRIORITY_SCHEDULING
bool "POSIX priority-based process scheduling"
select NATIVE_LIBC_INCOMPATIBLE
help
This enables POSIX scheduling APIs (_POSIX_PRIORITY_SCHEDULING).

Expand Down
1 change: 1 addition & 0 deletions lib/posix/options/Kconfig.semaphore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

menuconfig POSIX_SEMAPHORES
bool "POSIX semaphore support"
select NATIVE_LIBC_INCOMPATIBLE
help
Enable this option for POSIX semaphore support.

Expand Down
1 change: 1 addition & 0 deletions lib/posix/options/Kconfig.signal
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ menu "POSIX signals"

config POSIX_REALTIME_SIGNALS
bool "POSIX realtime signals"
select NATIVE_LIBC_INCOMPATIBLE
help
Enable support for POSIX realtime signals.

Expand Down
1 change: 1 addition & 0 deletions lib/posix/options/Kconfig.spinlock
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

menuconfig POSIX_SPIN_LOCKS
bool "POSIX spin locks"
select NATIVE_LIBC_INCOMPATIBLE
help
Select 'y' here to enable POSIX spin locks.

Expand Down
1 change: 1 addition & 0 deletions lib/posix/options/Kconfig.sync_io
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ menu "POSIX synchronized I/O"

config POSIX_FSYNC
bool "Support for fsync()"
select NATIVE_LIBC_INCOMPATIBLE
help
Select 'y' here and Zephyr will provide an implementation of fsync().

Expand Down
1 change: 1 addition & 0 deletions lib/posix/options/Kconfig.timer
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

menuconfig POSIX_TIMERS
bool "POSIX timers, clocks, and sleep functions"
select NATIVE_LIBC_INCOMPATIBLE
help
Select 'y' here and Zephyr will provide implementations of clock_getres(), clock_gettime(),
clock_settime(), nanosleep(), timer_create(), timer_delete(), timer_getoverrun(),
Expand Down