incubator-nuttx/fs
ligd ea03d06ab3 tmpfs: fix tmpfs_read overwrite after seek over tfo_size
reproduce:
fs = open("tmpfs", xx);
lseek(fd, 256, SEEK_END);  // filep->f_pos = size + 256
read(fd, buf, len);        // overwrite

resolve:
directly return 0 when seek over tfo_size

Signed-off-by: ligd <liguiding1@xiaomi.com>
2023-08-03 10:40:28 -07:00
..
aio fs: remove sched_[un]lock 2023-08-01 23:15:37 +02:00
binfs build: add initial cmake build system 2023-07-08 13:50:48 +08:00
cromfs build: add initial cmake build system 2023-07-08 13:50:48 +08:00
driver cmake/build: fix build break on cmake 2023-07-25 15:00:10 +02:00
fat Kconfig: Simplify the conditional default statement 2023-07-16 14:39:20 -03:00
hostfs build: add initial cmake build system 2023-07-08 13:50:48 +08:00
inode fs/pseudofile: config pseudofile feature 2023-07-31 22:22:58 -07:00
littlefs build: add initial cmake build system 2023-07-08 13:50:48 +08:00
mmap fs/mmap: only MAP_SHARED mapping need file write permisson 2023-08-02 22:57:28 -07:00
mount build: add initial cmake build system 2023-07-08 13:50:48 +08:00
mqueue fs/mqueue/mq_open.c: Add the judgment for mq_attr is NULL. 2023-08-03 03:10:56 -07:00
nfs fs/nfs: fix coding style issue 2023-07-31 21:41:30 -07:00
nxffs Fix nuttx coding style 2023-07-11 23:32:17 +08:00
partition TXTABLE: Support backup table 2023-07-29 20:27:10 -07:00
procfs fs_procfsproc:Fix the wrong position of information display, integrate the fd information of socket and file 2023-08-03 10:33:53 -07:00
romfs fs/romfs: Fix FIOC_FILEPATH for dup'ed file 2023-08-02 06:12:25 -07:00
rpmsgfs cmake/build: fix build break on cmake 2023-07-25 15:00:10 +02:00
semaphore fs: remove sched_[un]lock 2023-08-01 23:15:37 +02:00
shm fs/shmfs: implement read and write interface 2023-08-02 22:57:28 -07:00
smartfs build: add initial cmake build system 2023-07-08 13:50:48 +08:00
socket build: add initial cmake build system 2023-07-08 13:50:48 +08:00
spiffs Fix nuttx coding style 2023-07-11 23:32:17 +08:00
tmpfs tmpfs: fix tmpfs_read overwrite after seek over tfo_size 2023-08-03 10:40:28 -07:00
unionfs fs/unionfs: Remove unionfs_mount function 2023-07-30 18:51:26 -03:00
userfs build: add initial cmake build system 2023-07-08 13:50:48 +08:00
vfs fs/shmfs: fix inode leak issue 2023-08-02 22:57:28 -07:00
CMakeLists.txt build: add initial cmake build system 2023-07-08 13:50:48 +08:00
Kconfig fs/pseudofile: config pseudofile feature 2023-07-31 22:22:58 -07:00
Makefile Minor style clean up 2023-01-28 19:53:20 +02:00
fs_initialize.c fs: Flush the file system cache in BOARDIOC_POWEROFF too 2023-04-21 20:37:59 +03:00