| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
that this provokes. "Wherever possible" means "In the kernel OR NOT
C++" (implying C).
There are places where (void *) pointers are not valid, such as for
function pointers, but in the special case of (void *)0, agreement
settles on it being OK.
Most of the fixes were NULL where an integer zero was needed; many
of the fixes were NULL where ascii <nul> ('\0') was needed, and a
few were just "other".
Tested on: i386 sparc64
|
|
|
|
|
|
|
|
| |
These files had tags at the start of the file
(incorrect, removed), and after the copyright
notices (correct).
Approved by: rwatson (mentor)
|
| |
|
| |
|
|
|
|
|
|
| |
No functionality change.
Obtained from: NetBSD
|
|
|
|
| |
Obtained from: NetBSD
|
|
|
|
| |
Obtained from: NetBSD
|
|
|
|
| |
Obtained from: NetBSD
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
replaced just fine with getpeereid() and the whole code
gets a lot simpler. We don't break the ABI, since all server
programms use __rpc_get_local_uid(), and we just change library
internals.
Reviewed by: des
|
|
|
|
|
|
|
|
| |
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)
|