nuttx/include
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
..
android libc/misc: add fdsan module 2023-05-17 10:24:42 +08:00
arpa
crypto
cxx libc: Implement quick_exit and at_quick_exit 2023-01-25 14:31:37 +02:00
net ethernet: add ETHERTYPE define 2023-05-04 19:38:57 +08:00
netinet Indent the define statement by two spaces 2023-05-21 09:52:08 -03:00
netpacket netlink: add RTM_NEWADDR, RTM_DELADDR and RTM_GETADDR 2023-04-22 01:35:18 +08:00
nuttx libc/fdcheck: add fdcheck module 2023-06-10 02:19:58 +08:00
ssp
sys libc/fdcheck: add fdcheck module 2023-06-10 02:19:58 +08:00
.gitignore
aio.h fs: Undefine CONFIG_FS_LARGEFILE if compiler doesn't support long long 2023-03-02 09:37:58 +01:00
alloca.h
assert.h assert: Distinguish between assert and exception 2023-05-03 14:49:32 +08:00
byteswap.h
ctype.h
debug.h Indent the define statement by two spaces 2023-05-21 09:52:08 -03:00
dirent.h fs: Undefine CONFIG_FS_LARGEFILE if compiler doesn't support long long 2023-03-02 09:37:58 +01:00
dlfcn.h
dsp.h Typo fixes. 2023-02-17 11:17:11 -03:00
dspb16.h
elf32.h
elf64.h
elf.h
endian.h
err.h include/err: Enforce c linkage for err and warn functions. 2023-05-01 12:48:55 +08:00
errno.h
execinfo.h Indent the define statement by two spaces 2023-05-21 09:52:08 -03:00
fcntl.h include: Fix nxstyle errors 2023-05-04 02:07:01 +08:00
fixedmath.h
fnmatch.h
ftw.h fs: Undefine CONFIG_FS_LARGEFILE if compiler doesn't support long long 2023-03-02 09:37:58 +01:00
getopt.h
glob.h
grp.h
hex2bin.h
iconv.h libc/locale: support iconv_open,iconv,iconv_close 2023-04-25 19:12:53 +01:00
ifaddrs.h
inttypes.h fs: Undefine CONFIG_FS_LARGEFILE if compiler doesn't support long long 2023-03-02 09:37:58 +01:00
iso646.h
langinfo.h
libgen.h
libintl.h
limits.h Indent the define statement by two spaces 2023-05-21 09:52:08 -03:00
locale.h
lzf.h Indent the define statement by two spaces 2023-05-21 09:52:08 -03:00
malloc.h Support memdump to realize incremental dump function 2023-05-22 12:31:32 +08:00
mqueue.h include: Fix nxstyle errors 2023-05-04 02:07:01 +08:00
netdb.h
nl_types.h
nxflat.h
obstack.h
poll.h
pthread.h include: Fix nxstyle errors 2023-05-04 02:07:01 +08:00
pty.h drivers/serial: Always support c_oflag, c_iflag and c_lflag in termios 2023-03-19 14:54:59 -06:00
pwd.h Indent the define statement by two spaces 2023-05-21 09:52:08 -03:00
regex.h include/regex.h: add missing FAR 2023-05-19 02:40:38 +08:00
resolv.h
sched.h include: Fix nxstyle errors 2023-05-04 02:07:01 +08:00
semaphore.h Indent the define statement by two spaces 2023-05-21 09:52:08 -03:00
signal.h include: Fix nxstyle errors 2023-05-04 02:07:01 +08:00
spawn.h
stdbool.h
stddef.h
stdint.h
stdio.h libc: Add setbuffer to stdio. 2023-05-01 11:24:41 +03:00
stdlib.h syscall/libc: add more syscall/libc symbols into csv file 2023-03-31 21:56:50 +09:00
stdnoreturn.h
string.h libc/lib_rawmemchr.c:Add rawmemchr methon. 2023-02-24 04:06:04 +08:00
strings.h libc/lib_bzero:Add bzero prototype. 2023-02-25 08:07:07 +02:00
syscall.h
syslog.h syslog: add syslog option definition 2023-05-05 18:36:36 +08:00
termios.h
threads.h sched/getpid: replace syscall getpid/tid/ppid() to kernel version 2023-02-02 10:33:01 +08:00
time.h Indent the define statement by two spaces 2023-05-21 09:52:08 -03:00
unistd.h fs: Undefine CONFIG_FS_LARGEFILE if compiler doesn't support long long 2023-03-02 09:37:58 +01:00
utime.h
uuid.h
wchar.h
wctype.h