nuttx/net/socket
chenrun1 94fe00ebec 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-10-10 15:30:41 +02:00
..
accept.c accept4:move function from net to fs 2024-10-10 15:30:41 +02:00
bind.c vfs/file: add reference counting to prevent accidental close during reading writing... 2024-09-17 12:01:53 +08:00
CMakeLists.txt net: migrate to SPDX identifier 2024-09-12 01:08:11 +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
Kconfig udp: Add support for SO_TIMESTAMP 2023-11-18 03:10:29 -08:00
listen.c vfs/file: add reference counting to prevent accidental close during reading writing... 2024-09-17 12:01:53 +08:00
Make.defs net: migrate to SPDX identifier 2024-09-12 01:08:11 +08:00
net_close.c net: migrate to SPDX identifier 2024-09-12 01:08:11 +08:00
net_dup2.c net: migrate to SPDX identifier 2024-09-12 01:08:11 +08:00
net_fstat.c net: migrate to SPDX identifier 2024-09-12 01:08:11 +08:00
net_poll.c net: migrate to SPDX identifier 2024-09-12 01:08:11 +08:00
net_sendfile.c net: migrate to SPDX identifier 2024-09-12 01:08:11 +08:00
net_sockif.c net: migrate to SPDX identifier 2024-09-12 01:08:11 +08:00
net_timeo.c net: migrate to SPDX identifier 2024-09-12 01:08:11 +08:00
recv.c net: migrate to SPDX identifier 2024-09-12 01:08:11 +08:00
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 net: migrate to SPDX identifier 2024-09-12 01:08:11 +08:00
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 net: migrate to SPDX identifier 2024-09-12 01:08:11 +08:00
socket.h net: migrate to SPDX identifier 2024-09-12 01:08:11 +08:00
socketpair.c net: migrate to SPDX identifier 2024-09-12 01:08:11 +08:00