| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
| |
some strange reason recvmsg() never sets errno to EAGAIN
on a non-blocking socket and just returns 0.
Reviewed by: jhb
Approved by: re
|
|
|
|
|
|
|
|
|
| |
are not initialized at this place. Move the initializing
before the non-blocking check.
Submitted by: Marius Strobl <marius@alchemy.franken.de>
Reviewed by: jhb
Approved by: re
|
|
|
|
|
|
|
|
|
| |
just read() in non-blocking mode too. The reason is obvious. NetBSD
uses a complete different way to get the credentials so this patch
only applies to FreeBSD.
Reviewed by: rwatson
Approved by: re
|
|
|
|
|
|
|
|
|
|
| |
specified by caller.
NetBSD rev. 1.6
Reviewed by: rwatson
Approved by: rwatson (re)
Obtained from: NetBSD
|
|
|
|
| |
vocally objected to this safety belt.
|
|
|
|
|
|
|
| |
technique) so that we don't wind up calling into an application's
version if the application defines them.
Inspired by: qpopper's interfering and buggy version of strlcpy
|
|
|
|
| |
Obtained from: OpenBSD
|
|
|
|
| |
`implicit declaration of function' variety.
|
|
|
|
|
|
|
| |
Only warnings that could be fixed without changing the generated object
code and without restructuring the source code have been handled.
Reviewed by: /sbin/md5
|
| |
|
|
|
|
|
| |
Reviewed by: phk
Obtained from: NetBSD
|
|
|
|
|
|
|
|
|
| |
comment.
NetBSD Rev. 1.9 and 1.7
Reviewed by: phk
Obtained from: NetBSD
|
|
|
|
|
|
|
|
|
|
| |
bogus (uninitialized) structure. Also, ignore v4 ifa's with no broadcast
address (rather than core dumping).
NetBSD Rev 1.8
Reviewed by: phk
Obtained from: NetBSD
|
|
|
|
|
|
|
| |
NetBSD r 1.5
Reviewed by: phk
Obtained from: NetBSD
|
|
|
|
|
|
|
| |
NetBSD Rev 1.5
Reviewed by: phk
Obtained from: NetBSD
|
|
|
|
|
|
|
|
|
| |
mount_nfs -T work for scoped addresses.
NetBSD Rev 1.11
Reviewed by: phk
Obtained from: NetBSD
|
|
|
|
|
|
|
|
|
| |
Handle that malloc may return NULL.
NetBSD Rev. 1.8
Reviewed by: phk
Obtained from: NetBSD
|
|
|
|
| |
Reviewed by: phk
|
|
|
|
|
| |
Reviewed by: rwatson
MFC after: 2 weeks
|
|
|
|
|
|
| |
Reviewed by: rwatson
Obtained from: NetBSD
MFC after: 1 day
|
|
|
|
| |
especially in troff files.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
from "unix" back to "local". Add some compat stuff so both
ways work for some time.
Reviewed by: phk
Approved by: imp (UPDATING)
Requested by: iedowse, lukem@netbsd.org
|
|
|
|
| |
Approved by: re
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Don't gratuitously pipe thru a cat(1) if NODOCCOMPRESS.
Only create _stamp.extra when necessary.
Get rid of SOELIMPP and OBJS.
Use Groff version of soelim(1); we need its -I option
for the following to work.
Don't needlessly chdir to SRCDIR. Only a few documents
need CD_HACK, and those that need it either use refer(1)
or .PSPIC macro which internally uses the .psbb call.
|
|
|
|
|
|
|
| |
in the UDP RPC client code. As a side-effect, this fixes some bugs
that might prevent the RPC call from ever timing out for example
if the server keeps responding with the wrong xid. This could
probably be simplified further by using the EVFILT_TIMER filter.
|
|
|
|
|
| |
reflect that they actually require a u_int32_t *, which is not
necessarily the same as an unsigned long *.
|
|
|
|
| |
add it here.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
TCP clients. The problem was that a struct netconfig returned by
getnetconfigent() was being treated as a handle for __rpc_getconf(),
which certainly isn't right.
The tirpc-99 code uses __rpc_setconf("udp")/__rpc_getconf() to find
the IPv4 udp netconfig, but our implementation of these functions
seem happy to return IPv6 entries, so we can't use them. By reverting
to the old version, we are hard-coding the name of the udp4 netid.
Tracked down by: Bakul Shah <bakul@bitblocks.com>
|
|
|
|
| |
Submitted by: mbr (NetBSD PR#15802)
|
|
|
|
|
|
| |
fix it (make them non-const) and update the associated documentation.
Submitted by: mbr
|
|
|
|
| |
Submitted by: mbr
|
| |
|
|
|
|
|
| |
having a char * as an argument instead. clnt_dg_control(), clnt_raw_control(),
clnt_vc_control().
|
| |
|
|
|
|
|
|
| |
Update copyrights to reflect where this code was lifted from. (tirpc '99)
Submitted by: mbr
|
| |
|
|
|
|
|
|
| |
fact that caddr_t is often misspelled as char *.
Sponsored by: DARPA, NAI Labs
|
|
|
|
| |
I believe have made all of libc .c's as consistent as possible.
|
|
|
|
| |
I believe have made all of libc .h's as consistent as possible.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
deprecated in favor of the POSIX-defined lowercase variants.
o Change all occurrences of NTOHL() and associated marcros in the
source tree to use the lowercase function variants.
o Add missing license bits to sparc64's <machine/endian.h>.
Approved by: jake
o Clean up <machine/endian.h> files.
o Remove unused __uint16_swap_uint32() from i386's <machine/endian.h>.
o Remove prototypes for non-existent bswapXX() functions.
o Include <machine/endian.h> in <arpa/inet.h> to define the
POSIX-required ntohl() family of functions.
o Do similar things to expose the ntohl() family in libstand, <netinet/in.h>,
and <sys/param.h>.
o Prepend underscores to the ntohl() family to help deal with
complexities associated with having MD (asm and inline) versions, and
having to prevent exposure of these functions in other headers that
happen to make use of endian-specific defines.
o Create weak aliases to the canonical function name to help deal with
third-party software forgetting to include an appropriate header.
o Remove some now unneeded pollution from <sys/types.h>.
o Add missing <arpa/inet.h> includes in userland.
Tested on: alpha, i386
Reviewed by: bde, jake, tmm
|