incubator-nuttx/fs/inode
hujun5 8fe8417ffb libc/fdcheck: add fdcheck module
In embedded development environments, due to the lack of address isolation between processes,
fd may be passed between processes and lead to misuse,

We have designed an fd cross-process automatic detection tool,
fdcheck_protect returns the fd containing the pid information,
indicating that the ownership of the current fd belongs to the pid and is not allowed to be used by other processes.
fdcheck_restore will obtain the true fd and check if the ownership of the fd is legal

For ease of understanding, let's give an example where
the following information is represented in 32-bit binary format

fd        00000000 00000000 00000000 10001010
pid       00000000 00000000 00000011 01010101
ret       00000000 00000011 01010101 10001010

Signed-off-by: hujun5 <hujun5@xiaomi.com>
2023-06-10 02:19:58 +08:00
..
Make.defs libc: Implement ttyname and ttyname_r 2021-07-09 18:23:34 -03:00
fs_files.c libc/fdcheck: add fdcheck module 2023-06-10 02:19:58 +08:00
fs_foreachinode.c Replace all sprintf with snprintf 2023-05-08 09:57:01 +02:00
fs_inode.c Replace nxsem API when used as a lock with nxmutex API 2022-10-17 15:59:46 +09:00
fs_inodeaddref.c Replace nxsem API when used as a lock with nxmutex API 2022-10-17 15:59:46 +09:00
fs_inodebasename.c sourcefiles: Fix relative path in file header 2021-03-09 23:18:28 +08:00
fs_inodefind.c Replace nxsem API when used as a lock with nxmutex API 2022-10-17 15:59:46 +09:00
fs_inodefree.c Author: Gregory Nutt: update licenses to Apache 2021-02-05 12:15:56 -03:00
fs_inodegetpath.c fs/vfs: Add a new argument(size_t len) to inode_getpath 2023-05-08 09:57:01 +02:00
fs_inoderelease.c Replace nxsem API when used as a lock with nxmutex API 2022-10-17 15:59:46 +09:00
fs_inoderemove.c fs: Add parent node of inode 2021-07-09 18:23:34 -03:00
fs_inodereserve.c fs: Allocate unique serial number for the root pseduo file system node 2022-09-20 16:21:06 +08:00
fs_inodesearch.c fs/inode: when searching for nextname skip "/" and "./" 2023-04-25 21:28:59 +08:00
inode.h fs/vfs: Add a new argument(size_t len) to inode_getpath 2023-05-08 09:57:01 +02:00