incubator-nuttx/net/socket
chenrun1 e0df067d3c accept4:move function from net to fs
Summary:
  Implementation in accept4 is special, the requested newsock is saved as filep->priv. This will cause sock_file_close to use fs_heap_free filep->priv during close. When fs_heap is configured, the released memory will not be on fs_heap, causing a crash.

Signed-off-by: chenrun1 <chenrun1@xiaomi.com>
2024-09-30 16:30:56 +08:00
..
CMakeLists.txt
Kconfig
Make.defs
accept.c accept4:move function from net to fs 2024-09-30 16:30:56 +08:00
bind.c vfs/file: add reference counting to prevent accidental close during reading writing... 2024-09-17 12:01:53 +08:00
connect.c vfs/file: add reference counting to prevent accidental close during reading writing... 2024-09-17 12:01:53 +08:00
getpeername.c vfs/file: add reference counting to prevent accidental close during reading writing... 2024-09-17 12:01:53 +08:00
getsockname.c vfs/file: add reference counting to prevent accidental close during reading writing... 2024-09-17 12:01:53 +08:00
getsockopt.c vfs/file: add reference counting to prevent accidental close during reading writing... 2024-09-17 12:01:53 +08:00
listen.c vfs/file: add reference counting to prevent accidental close during reading writing... 2024-09-17 12:01:53 +08:00
net_close.c
net_dup2.c
net_fstat.c
net_poll.c
net_sendfile.c
net_sockif.c
net_timeo.c
recv.c
recvfrom.c vfs/file: add reference counting to prevent accidental close during reading writing... 2024-09-17 12:01:53 +08:00
recvmsg.c vfs/file: add reference counting to prevent accidental close during reading writing... 2024-09-17 12:01:53 +08:00
send.c
sendmsg.c vfs/file: add reference counting to prevent accidental close during reading writing... 2024-09-17 12:01:53 +08:00
sendto.c vfs/file: add reference counting to prevent accidental close during reading writing... 2024-09-17 12:01:53 +08:00
setsockopt.c vfs/file: add reference counting to prevent accidental close during reading writing... 2024-09-17 12:01:53 +08:00
shutdown.c vfs/file: add reference counting to prevent accidental close during reading writing... 2024-09-17 12:01:53 +08:00
socket.c
socket.h
socketpair.c