#
b761f925 |
|
09-Aug-2023 |
Jérôme Duval <jerome.duval@gmail.com> |
unix: respect MSG_DONTWAIT on recvmsg fix #18548 Change-Id: I33f502c2a376be6dbdf913f9613aab9d4c5a3644 Reviewed-on: https://review.haiku-os.org/c/haiku/+/6802 Reviewed-by: waddlesplash <waddlesplash@gmail.com>
|
#
34874537 |
|
06-Aug-2023 |
Jérôme Duval <jerome.duval@gmail.com> |
unix: respect MSG_DONTWAIT on sendmsg() fix bug #18539 Change-Id: Id21362028287d1cbdac469226e6b52f4547a276f Reviewed-on: https://review.haiku-os.org/c/haiku/+/6796 Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org> Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
|
#
b7b57869 |
|
18-Jun-2023 |
Trung Nguyen <trungnt282910@gmail.com> |
unix: Implement datagram sockets Implement `SOCK_DGRAM` sockets for `AF_UNIX` family. Change-Id: If3d6f408a7d881635ccf04b080391905fdc94b13 Reviewed-on: https://review.haiku-os.org/c/haiku/+/6617 Reviewed-by: Jérôme Duval <jerome.duval@gmail.com> Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
|
#
10ff9c6a |
|
20-Mar-2021 |
Jérôme Duval <jerome.duval@gmail.com> |
unix: sendmsg should return EPIPE after close https://pubs.opengroup.org/onlinepubs/9699919799/functions/sendmsg.html "[EPIPE] ... the socket is connection-mode and is no longer connected." Change-Id: I6728b088d2f717b769697218edf26c76c59f488e Reviewed-on: https://review.haiku-os.org/c/haiku/+/3816 Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
|
#
88e38c17 |
|
16-Dec-2010 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Replace uses of obsolescent BReference[able] API. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39870 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
5147963d |
|
26-Jul-2009 |
Stephan Aßmus <superstippi@gmx.de> |
headers/private/kernel/util/OpenHashTable.h, Hugo's version, is a bit nicer than Tracker's OpenHashTable.h which it should eventually replace. We've renamed the class to BOpenHashTable and changed the interface slightly so that HashTableLink became superfluous. Adapted all the code that used it. Since the OpenHashTables no longer clash, this should fix the GCC4 build. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31791 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
fb3e35fc |
|
22-Jan-2009 |
Michael Lotz <mmlr@mlotz.ch> |
Fixing all headers/namespaces/name lookup problems that hinder a GCC 4.3.2 build. I sure hope that this doesn't break the build for anyone else. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28992 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
2b07b8e0 |
|
28-May-2008 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Replaced all instances of benaphores in the kernel code by mutexes. * Removed kernel benaphores. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25690 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
5d550262 |
|
03-May-2008 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Added support for SO_PEERCRED for Unix sockets. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25305 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
ea035707 |
|
02-May-2008 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Support the new {send,read}_data_no_buffer() protocol hooks to avoid unnecessary data copies and waste of memory. * Changed the storage backend to ring_buffer. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25300 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
59234b36 |
|
12-Apr-2008 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Added support for SCM_RIGHTS (sending file descriptors). * Fixed shutdown(). It was computing the wrong fifo flags and set the wrong ones from the wrong variable on the peer fifo. * Generally made the Unix sockets behave more like they should. E.g. after closing one end, it must still be possible to read from the other (as long as there are buffered data). Also fine-tuned when to return what errors from recv()/send(). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24943 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
eb8b342d |
|
09-Apr-2008 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Protocol module for Unix domain stream type sockets. The implementation is almost complete, but still quite buggy (receiving data has a good chance to drop into KDL). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24884 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
88e38c178a96634d52920e2de8bb3cbd49869f93 |
|
16-Dec-2010 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Replace uses of obsolescent BReference[able] API. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39870 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
5147963dcd57fefa4f63c484eb88e9eaf4002976 |
|
26-Jul-2009 |
Stephan Aßmus <superstippi@gmx.de> |
headers/private/kernel/util/OpenHashTable.h, Hugo's version, is a bit nicer than Tracker's OpenHashTable.h which it should eventually replace. We've renamed the class to BOpenHashTable and changed the interface slightly so that HashTableLink became superfluous. Adapted all the code that used it. Since the OpenHashTables no longer clash, this should fix the GCC4 build. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31791 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
fb3e35fcec1ef41b413b3b121764509f436dee4d |
|
22-Jan-2009 |
Michael Lotz <mmlr@mlotz.ch> |
Fixing all headers/namespaces/name lookup problems that hinder a GCC 4.3.2 build. I sure hope that this doesn't break the build for anyone else. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28992 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
2b07b8e0f1a7f1e76f31db24a21a42cbb01d7b9c |
|
28-May-2008 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Replaced all instances of benaphores in the kernel code by mutexes. * Removed kernel benaphores. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25690 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
5d550262911f376e55323690a9c7fe269273002e |
|
03-May-2008 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Added support for SO_PEERCRED for Unix sockets. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25305 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
ea035707b3d55375ed24f460add69e2d51c3076b |
|
02-May-2008 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Support the new {send,read}_data_no_buffer() protocol hooks to avoid unnecessary data copies and waste of memory. * Changed the storage backend to ring_buffer. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25300 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
59234b36ce027000c55abc7ec2f6ff5b8f6f816b |
|
12-Apr-2008 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Added support for SCM_RIGHTS (sending file descriptors). * Fixed shutdown(). It was computing the wrong fifo flags and set the wrong ones from the wrong variable on the peer fifo. * Generally made the Unix sockets behave more like they should. E.g. after closing one end, it must still be possible to read from the other (as long as there are buffered data). Also fine-tuned when to return what errors from recv()/send(). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24943 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
eb8b342d5610c48f6eb319d6726491e4f360e005 |
|
09-Apr-2008 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Protocol module for Unix domain stream type sockets. The implementation is almost complete, but still quite buggy (receiving data has a good chance to drop into KDL). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24884 a95241bf-73f2-0310-859d-f6bbb57e9c96
|