summaryrefslogtreecommitdiffstats
path: root/freebsd/sys/kern/uipc_syscalls.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Update to FreeBSD head 2018-12-20Sebastian Huber2018-12-201-3/+1
| | | | | | | | | | Git mirror commit 19a6ceb89dbacf74697d493e48c388767126d418. It includes an update of wpa_supplicant to version 2.7. It includes an update of the OpenSSL baseline to version 1.1.1a. Update #3472.
* Update to FreeBSD head 2018-11-15Sebastian Huber2018-11-151-13/+15
| | | | | | Git mirror commit a18b0830c4be01b39489a891b63d6023ada6358a. Update #3472.
* Disable or make static kern_* functionsSebastian Huber2018-11-151-6/+7
|
* Update to FreeBSD head 2018-09-17Sebastian Huber2018-09-211-21/+76
| | | | | | Git mirror commit 6c2192b1ef8c50788c751f878552526800b1e319. Update #3472.
* Update to FreeBSD head 2018-06-01Sebastian Huber2018-09-211-24/+24
| | | | | | Git mirror commit fb63610a69b0eb7f69a201ba05c4c1a7a2739cf9. Update #3472.
* Update to FreeBSD head 2018-04-01Sebastian Huber2018-09-211-0/+1
| | | | | | Git mirror commit 8dfb1ccc26d1cea7e2529303003ff61f9f1784c4. Update #3472.
* Update to FreeBSD head 2017-12-01Sebastian Huber2018-09-211-0/+2
| | | | | | Git mirror commit e724f51f811a4b2bd29447f8b85ab5c2f9b88266. Update #3472.
* Update to FreeBSD head 2017-08-01Sebastian Huber2018-09-211-55/+10
| | | | | | Git mirror commit f5002f5e5f78cae9f0269d812dc0aedb0339312c. Update #3472.
* Fix alignment of getsockaddr_sockaddrSebastian Huber2018-08-241-1/+1
|
* Avoid malloc() in getsockaddr()Sebastian Huber2018-07-041-0/+45
| | | | | | | | | | | | | | | | The getsockaddr() function is used to allocate a struct sockaddr of the right length and initialize it with userspace provided data. It is used for the connect(), bind() and sendit() family functions. In particular, the sendit() function is used by the UDP send functions. This means each UDP send needs a malloc() and free() invocation. This is a performance problem in RTEMS (first-fit heap) and may lead to heap fragmentation. Replace the malloc() allocation with a stack allocation. This requires SOCK_MAXADDRLEN (= 255) of additional stack space for libbsd. A further optimization would be to get rid of the stack copy of the socket address. However, this would require to check each consumer of the address to ensure that it is not modified.
* Fix file descriptor reference counting in accept()Sebastian Huber2017-11-151-0/+2
| | | | Update #3132.
* Fix reference counting for file descriptorsSebastian Huber2017-11-101-0/+10
| | | | Update #3132.
* Support reference counting for file descriptorsSebastian Huber2017-09-151-1/+6
| | | | Close #3132.
* Use <sys/lock.h> provided by NewlibSebastian Huber2017-06-081-1/+1
|
* Update due to Newlib 2017-06-07 changesSebastian Huber2017-06-081-1/+1
| | | | | | | | | | | | | | | | | The following files are now provided by Newlib: * arpa/inet.h * net/if.h * netinet/in.h * netinet/tcp.h * sys/socket.h * sys/uio.h * sys/un.h The <sys/param.h> and <sys/cpuset.h> are now compatible enough to be used directly. Update #2833.
* Update to FreeBSD head 2017-04-04Sebastian Huber2017-04-041-14/+32
| | | | Git mirror commit 642b174daddbd0efd9bb5f242c43f4ab4db6869f.
* Fix SOCK_CLOEXEC with socket() and socketpair()Sebastian Huber2017-03-141-4/+0
| | | | | Remove SOCK_CLOEXEC flag to get a valid socket type, e.g. to avoid a EPROTOTYPE in case of socket(..., SOCK_DGRAM | SOCK_CLOEXEC, ...).
* Update to FreeBSD head 2016-12-10Sebastian Huber2017-01-101-239/+71
| | | | Git mirror commit 80c55f08a05ab3b26a73b226ccb56adc3122a55c.
* Update to FreeBSD head 2016-08-23Sebastian Huber2017-01-101-1410/+307
| | | | Git mirror commit 9fe7c416e6abb28b1398fd3e5687099846800cfd.
* Fix fp initializaiton in kern_sendit()Sebastian Huber2016-04-251-1/+1
| | | | Bug introduced by 22257c7d81148e5b78027116e07627a54f4efb95.
* Avoid use of cap_rights_tSebastian Huber2016-04-181-0/+4
|
* SOCKETPAIR(2): Port to RTEMSSebastian Huber2015-11-161-1/+35
|
* Add zerocopy sendtoSebastian Huber2015-02-131-0/+25
|
* Update to FreeBSD 9.3Sebastian Huber2015-02-131-10/+51
|
* Update to FreeBSD 9.2Sebastian Huber2013-11-111-215/+246
|
* Reduce divergence from FreeBSD sourcesSebastian Huber2013-11-111-0/+1
|
* Rename rtems-bsd-config.hSebastian Huber2013-11-111-1/+1
| | | | Rename rtems-bsd-config.h in rtems-bsd-kernel-space.h.
* Update to FreeBSD 8.4Sebastian Huber2013-11-041-20/+34
|
* Use send/recv functions from FreeBSDSebastian Huber2013-10-311-2/+146
| | | | Use recvfrom(), recvmsg(), sendto() and sendmsg() from FreeBSD.
* Use getsockname() from FreeBSDSebastian Huber2013-10-311-1/+28
|
* Use getpeername() from FreeBSDSebastian Huber2013-10-311-0/+29
|
* Use getsockopt() and setsockopt() from FreeBSDSebastian Huber2013-10-311-1/+67
|
* Use accept() from FreeBSDSebastian Huber2013-10-311-1/+36
|
* Use listen() from FreeBSDSebastian Huber2013-10-311-1/+26
|
* Use connect() from FreeBSDSebastian Huber2013-10-311-1/+30
|
* Use bind() from FreeBSDSebastian Huber2013-10-311-0/+30
|
* Use shutdown() from FreeBSDSebastian Huber2013-10-311-1/+55
|
* Import socket() implementation from FreeBSDSebastian Huber2013-10-311-0/+2784
Add new test syscalls01.