nuttx/fs/vfs
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
..
fs_chstat.c Fix various typos 2022-07-08 02:15:54 +08:00
fs_close.c Don't include assert.h from public header file 2021-06-03 08:36:03 -07:00
fs_dir.c Remove the unnecessary NULL fields in global instance definition of file_operations 2023-01-04 00:32:13 +02:00
fs_dup2.c fs/fs_dup2: correct check before dup 2021-07-02 04:54:43 -05:00
fs_dup.c fs/vfs: Let caller control whether add the reference count of inode in file_allocate 2022-10-28 10:12:08 +02:00
fs_epoll.c fs: Move mmap callback before truncate in [file|mountpt]_operations 2023-01-04 17:43:59 +02:00
fs_eventfd.c fs: Move mmap callback before truncate in [file|mountpt]_operations 2023-01-04 17:43:59 +02:00
fs_fchstat.c Fix various typos 2022-07-08 02:15:54 +08:00
fs_fcntl.c fs: Remove the unused nx_fcntl to prefer file_fcntl for kernel 2022-10-27 23:14:25 +02:00
fs_fdopen.c fs/streams: Move the file streams from the group structure into TLS 2022-12-22 20:16:11 +08:00
fs_fstat.c fs/inode: add sanity check for inode to avoid nullpointer 2021-07-25 23:01:37 -07:00
fs_fstatfs.c Don't include assert.h from public header file 2021-06-03 08:36:03 -07:00
fs_fsync.c fs/fs_fsync: add file sync operation by ioctl 2022-07-22 09:07:57 +03:00
fs_ioctl.c fs: Remove the unused nx_[v]ioctl to prefer file_[v]ioctl for kernel 2022-10-27 23:14:25 +02:00
fs_lseek.c lseek: use type:off_t for return value 2022-03-28 22:49:37 +08:00
fs_mkdir.c Replace nxsem API when used as a lock with nxmutex API 2022-10-17 15:59:46 +09:00
fs_open.c fs/vfs: Let caller control whether add the reference count of inode in file_allocate 2022-10-28 10:12:08 +02:00
fs_poll.c fs/poll: Fix poll_notify for CONFIG_BUILD_KERNEL 2023-01-11 01:53:13 +08:00
fs_pread.c Author: Gregory Nutt: update licenses to Apache 2021-02-05 12:15:56 -03:00
fs_pwrite.c Author: Gregory Nutt: update licenses to Apache 2021-02-05 12:15:56 -03:00
fs_read.c Don't include assert.h from public header file 2021-06-03 08:36:03 -07:00
fs_readlink.c nuttx:Change fs strncpy to strlcpy to avoid losing'\0' 2021-12-30 18:06:00 +08:00
fs_rename.c Replace nxsem API when used as a lock with nxmutex API 2022-10-17 15:59:46 +09:00
fs_rmdir.c Replace nxsem API when used as a lock with nxmutex API 2022-10-17 15:59:46 +09:00
fs_select.c fs: Remove the unused nx_poll to prefer file_poll for kernel 2022-10-27 23:14:25 +02:00
fs_sendfile.c fs: Simplify sendfile implementation 2021-07-17 07:39:15 -03:00
fs_signalfd.c fs: Move mmap callback before truncate in [file|mountpt]_operations 2023-01-04 17:43:59 +02:00
fs_stat.c sched/mqueue: make mqueue and mqueue sysv can disable separately 2022-11-16 20:03:40 +08:00
fs_statfs.c fs/vfs: Add file descriptor based timers support 2021-12-20 04:00:20 -06:00
fs_symlink.c Replace nxsem API when used as a lock with nxmutex API 2022-10-17 15:59:46 +09:00
fs_timerfd.c fs/timerfd: Reverse truncate and mmap field 2023-01-07 14:27:42 +02:00
fs_truncate.c Add ftruncate into file operation calls 2023-01-02 11:23:20 -03:00
fs_unlink.c Replace nxsem API when used as a lock with nxmutex API 2022-10-17 15:59:46 +09:00
fs_write.c vfs: adjust the error code of write to be consistent with read 2021-04-08 21:52:14 -05:00
Kconfig fs/signalfd: using file descriptor to accept signal 2022-12-28 23:05:58 +08:00
Make.defs fs/signalfd: using file descriptor to accept signal 2022-12-28 23:05:58 +08:00