nuttx/fs/vfs
Gregory Nutt 9568600ab1 Squashed commit of the following:
This commit backs out most of commit b4747286b1.  That change was added because sem_wait() would sometimes cause cancellation points inappropriated.  But with these recent changes, nxsem_wait() is used instead and it is not a cancellation point.

    In the OS, all calls to sem_wait() changed to nxsem_wait().  nxsem_wait() does not return errors via errno so each place where nxsem_wait() is now called must not examine the errno variable.

    In all OS functions (not libraries), change sem_wait() to nxsem_wait().  This will prevent the OS from creating bogus cancellation points and from modifying the per-task errno variable.

    sched/semaphore:  Add the function nxsem_wait().  This is a new internal OS interface.  It is functionally equivalent to sem_wait() except that (1) it is not a cancellation point, and (2) it does not set the per-thread errno value on return.
2017-10-04 15:22:27 -06:00
..
fs_close.c Squashed commit of the following: 2017-09-30 10:41:21 -06:00
fs_dup2.c Squashed commit of the following: 2017-09-30 10:41:21 -06:00
fs_dup.c Squashed commit of the following: 2017-09-30 10:41:21 -06:00
fs_dupfd2.c Squashed commit of the following: 2017-09-30 10:41:21 -06:00
fs_dupfd.c Squashed commit of the following: 2017-09-30 10:41:21 -06:00
fs_epoll.c epoll: fix epoll_wait function 2017-07-22 09:01:24 -06:00
fs_fcntl.c fs/vfs: Remove warning generated by fcntl() 2017-10-02 14:04:50 -06:00
fs_fdopen.c Squashed commit of the following: 2017-10-04 15:22:27 -06:00
fs_fstat.c C library: Add fstatfs(); fix a reference counting error in fstat(). 2017-02-17 08:35:59 -06:00
fs_fstatfs.c fstatfs: Rethink last commit. Add verification that the file descriptor refers to an open file. This also should eliminate the warning while doing something useful. 2017-02-22 14:17:14 -06:00
fs_fsync.c Move cancellation point definitions to their own header file. 2016-12-10 09:08:26 -06:00
fs_getfilep.c fs/inode/, fs/vfs/, and sched/task/: File and socket descriptors are no longer allocated for kernel threads. They must use SYSLOG for output and the low-level psock interfaces for network I/O. This saves a little memory which might be important for small footprint configurations. 2016-04-14 10:14:38 -06:00
fs_ioctl.c Squashed commit of the following: 2017-09-30 10:41:21 -06:00
fs_link.c Replace 'the the' with 'the' 2017-05-11 13:15:13 -06:00
fs_lseek.c fs/vfs: file_seek() is an internal OS interface and should not errors via the errno 2017-09-28 13:55:36 -06:00
fs_mkdir.c Add macros support that will eventually allow dynamic allocation of strings need to support soft links. 2017-02-05 14:25:45 -06:00
fs_open.c Merged in x_qin/nuttx/null_check_for_open_and_write (pull request #498) 2017-09-29 18:15:33 +00:00
fs_poll.c Squashed commit of the following: 2017-10-04 15:22:27 -06:00
fs_pread.c This commit adds support for routing tables in files in a file system. This might be useful for customized, per-unit routing tables. 2017-09-29 08:33:36 -06:00
fs_pwrite.c This commit adds support for routing tables in files in a file system. This might be useful for customized, per-unit routing tables. 2017-09-29 08:33:36 -06:00
fs_read.c fs/vfs: file_read() is an internal OS interface and should not errors via the errno 2017-09-28 14:14:32 -06:00
fs_readlink.c Add macros support that will eventually allow dynamic allocation of strings need to support soft links. 2017-02-05 14:25:45 -06:00
fs_rename.c rename(): Correct more issues. (1) Move to the root directory in the pseudo file system, (2) Fix path naming calculation when the path is the root directory of a mounted file system, and (3) dont't do the rename if the source and destination of the rename are the same. 2017-02-12 08:37:28 -06:00
fs_rmdir.c Add macros support that will eventually allow dynamic allocation of strings need to support soft links. 2017-02-05 14:25:45 -06:00
fs_select.c VFS poll(): Add some error handling logic 2017-04-20 19:15:17 -06:00
fs_sendfile.c sendfile(): Fix error introduced with commit ff73be870e. Noted by Maciej Wójcik 2017-03-05 11:50:34 -06:00
fs_stat.c In some cases, packets are still not sent behind the router. I found that NuttX sends the ARP requests not to the router but to the target. Mistake in file net/route/netdev_router.c. From Aleksandr Kazantsev 2017-09-20 13:19:05 -06:00
fs_statfs.c C library: Add fstatfs(); fix a reference counting error in fstat(). 2017-02-17 08:35:59 -06:00
fs_unlink.c Revert "FS: Fix backward conditional logic that prevent unlink() from building in some configurations." 2017-03-04 08:16:46 -06:00
fs_write.c Merged in x_qin/nuttx/null_check_for_open_and_write (pull request #498) 2017-09-29 18:15:33 +00:00
Make.defs C library: Add fstatfs(); fix a reference counting error in fstat(). 2017-02-17 08:35:59 -06:00