nuttx/fs
Ville Juven f730cf8ad8 fs/poll: Fix poll_notify for CONFIG_BUILD_KERNEL
With flat addressing the user pollfd list is given directly to the
drivers that perform the notification. This is fine when the addressing
is flat, as there is no ambiguity on who gets notified and the fds memory
is always mapped.

For kernel mode with MMU this does not work. The notification must be done
via a temporary buffer allocated from kernel memory.

Thus, create a copy of the user fds and pass the copy to the drivers.
Afterwards copy the output events back to the user.
2023-01-11 01:53:13 +08:00
..
aio use SEM_INITIALIZER inside of NXSEM_INITIALIZER 2022-10-22 14:50:48 +08:00
binfs fs: Move mmap callback before truncate in [file|mountpt]_operations 2023-01-04 17:43:59 +02:00
cromfs fs: Move mmap callback before truncate in [file|mountpt]_operations 2023-01-04 17:43:59 +02:00
driver Replace nxsem API when used as a lock with nxmutex API 2022-10-17 15:59:46 +09:00
fat fs: Move mmap callback before truncate in [file|mountpt]_operations 2023-01-04 17:43:59 +02:00
hostfs fs: Move mmap callback before truncate in [file|mountpt]_operations 2023-01-04 17:43:59 +02:00
inode fs: Correct the comment of file_allocate 2022-10-28 10:12:08 +02:00
littlefs fs: Move mmap callback before truncate in [file|mountpt]_operations 2023-01-04 17:43:59 +02:00
mmap Move rammaps to use mm_map list 2023-01-10 18:34:25 +08:00
mount Remove the unnecessary NULL fields in global instance definition of file_operations 2023-01-04 00:32:13 +02:00
mqueue fs: Move mmap callback before truncate in [file|mountpt]_operations 2023-01-04 17:43:59 +02:00
nfs fs: Move mmap callback before truncate in [file|mountpt]_operations 2023-01-04 17:43:59 +02:00
nxffs fs: Move mmap callback before truncate in [file|mountpt]_operations 2023-01-04 17:43:59 +02:00
partition Fixes for GPT partition parsing 2022-09-27 09:42:39 +08:00
procfs fs: Move mmap callback before truncate in [file|mountpt]_operations 2023-01-04 17:43:59 +02:00
romfs fs: Check offset and length more carefully in mmap callback 2023-01-04 17:43:59 +02:00
rpmsgfs fs: Check offset and length more carefully in mmap callback 2023-01-04 17:43:59 +02:00
semaphore sem_unlink: return ENOENT when the named semaphore does not exist. 2023-01-09 22:46:30 +08:00
shm Kconfig: Remove EXPERIMENTAL for features which is been around a long time 2022-09-19 11:39:22 -03:00
smartfs fs: Move mmap callback before truncate in [file|mountpt]_operations 2023-01-04 17:43:59 +02:00
socket fs: Move mmap callback before truncate in [file|mountpt]_operations 2023-01-04 17:43:59 +02:00
spiffs fs: Move mmap callback before truncate in [file|mountpt]_operations 2023-01-04 17:43:59 +02:00
tmpfs fs: Check offset and length more carefully in mmap callback 2023-01-04 17:43:59 +02:00
unionfs fs: Move mmap callback before truncate in [file|mountpt]_operations 2023-01-04 17:43:59 +02:00
userfs fs: Move mmap callback before truncate in [file|mountpt]_operations 2023-01-04 17:43:59 +02:00
vfs fs/poll: Fix poll_notify for CONFIG_BUILD_KERNEL 2023-01-11 01:53:13 +08:00
fs_initialize.c fs/rpmsg: Move the server initialization to fs_initialize 2022-08-11 02:08:42 +03:00
Kconfig FS Disable FS_LARGEFILE by default 2022-08-04 22:31:57 +08:00
Makefile tools: replace INCDIR to Makefile variable 2022-11-03 19:59:55 +08:00