| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |
|
|
|
|
|
|
|
|
|
| |
sys_socket() supports SOCK_{CLOEXEC,NONBLOCK} now, so build on that.
doaccept() supports the non-inheriting-of-O_NONBLOCK, so build on that.
Merge compat_sys_{accept,send,recv}() into their only callers.
Lie a little and use struct sockaddr in the linux socket syscall args when
it's a return argument to avoid a bunch a casts.
Delete many other unnecessary sockaddr casts
verified with a curl Linux binary
|
| |
|
|
|
|
|
| |
CAVEATS: Assumes that a new socket can't have any of the
FCNTLFLAGS set on it, which _is_ true, currently... (guenther@)
Okay guenther@, deraadt@.
|
| |
|
|
|
|
|
|
|
|
|
| |
The newer glibc's, when creating a socket, add some higher bit flags to
the type argument that are used for debug, statistics, profiling
whatever. They are not useful and implementation specific.
This is needed for DNS resolving, otherwise the nss library from glibc
will always fail to do the right thing.
Okay jasper@
|
| |
|
|
| |
linux bits compiled on i386 by sebastia@, mikeb@ ok
|
| | |
|
| |
|
|
|
|
| |
or out - this allows linux programs that use IPv6 to work (not ipv4
mapped addresses though)
- from NetBSD
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|