summaryrefslogtreecommitdiffstats
path: root/lib/libc/rpc
Commit message (Collapse)AuthorAgeFilesLines
* Eliminate double whitespace.ru2004-07-031-1/+1
|
* Mechanically kill hard sentence breaks.ru2004-07-023-10/+20
|
* Make NULL a (void*)0 whereever possible, and fix the warnings(-Werror)markm2004-03-051-4/+4
| | | | | | | | | | | | | | | 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
* style cleanup: Remove duplicate $FreeBSD$ tags.cperciva2004-02-101-1/+0
| | | | | | | | These files had tags at the start of the file (incorrect, removed), and after the copyright notices (correct). Approved by: rwatson (mentor)
* XDR sources are handled by ../xdr/Makefile.inc.ru2004-01-111-4/+0
|
* Add missing declaration.nectar2004-01-061-0/+2
|
* Make this part identical with NetBSD: Use recvlen instead of inlen.mbr2003-10-291-1/+1
| | | | | | No functionality change. Obtained from: NetBSD
* Don't compare NULL against a character.mbr2003-10-291-3/+3
| | | | Obtained from: NetBSD
* Don't use NULL to compare against a char.mbr2003-10-291-2/+2
| | | | Obtained from: NetBSD
* Don't use NULL to compare against a character.mbr2003-10-291-1/+1
| | | | Obtained from: NetBSD
* Get rid of duplicates.ru2003-09-141-1/+1
|
* mdoc(7): Use the new feature of the .In macro.ru2003-09-083-4/+4
|
* Clarify texteivind2003-08-261-1/+1
|
* Kill prototype for __msgwrite too. It is not needed anymore.mbr2003-06-151-1/+0
|
* Replace the old SCM_CREDS cred procedures. They can now bembr2003-06-151-122/+21
| | | | | | | | | 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
* Don't return -1 and abort if msg.msg_controllen is 0. Formbr2003-05-291-2/+1
| | | | | | | | some strange reason recvmsg() never sets errno to EAGAIN on a non-blocking socket and just returns 0. Reviewed by: jhb Approved by: re
* Fix a problem introduced in the last commit. sa and cmmbr2003-05-291-2/+2
| | | | | | | | | 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
* If AF_LOCAL is used, we need to use __msgread_withcred() instead ofmbr2003-05-281-1/+6
| | | | | | | | | 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
* Fix a simple bug that prevents svc_tli_create to bind to the addressmbr2003-05-181-1/+1
| | | | | | | | | | specified by caller. NetBSD rev. 1.6 Reviewed by: rwatson Approved by: rwatson (re) Obtained from: NetBSD
* Back out the `hiding' of strlcpy and strlcat. Several peoplenectar2003-05-011-1/+1
| | | | vocally objected to this safety belt.
* `Hide' strlcpy and strlcat (using the namespace.h / __weak_referencenectar2003-04-291-1/+1
| | | | | | | 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
* Clean up some signed/unsigned issues in the XDR code.nectar2003-03-071-1/+1
| | | | Obtained from: OpenBSD
* Eliminate 19 warnings in libc (at level WARNS=2) of thenectar2003-02-274-1/+8
| | | | `implicit declaration of function' variety.
* Eliminate 61 warnings emitted at WARNS=2 (leaving 53 to go).nectar2003-02-163-0/+3
| | | | | | | 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
* The .Fn functioncharnier2003-02-061-1/+2
|
* Fix signed/unsigned comparison warnings.mbr2003-01-271-3/+3
| | | | | Reviewed by: phk Obtained from: NetBSD
* Fix signed/unsigned comparison warnings. Fix spelling error inmbr2003-01-271-4/+5
| | | | | | | | | comment. NetBSD Rev. 1.9 and 1.7 Reviewed by: phk Obtained from: NetBSD
* Make this work in the !INET6 case -- if we mismatch the AF, don't return ambr2003-01-271-9/+10
| | | | | | | | | | 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
* Check pmap_flag before sendto.mbr2003-01-271-1/+2
| | | | | | | NetBSD r 1.5 Reviewed by: phk Obtained from: NetBSD
* Make sure we don't look before the beginning of the string.mbr2003-01-271-2/+2
| | | | | | | NetBSD Rev 1.5 Reviewed by: phk Obtained from: NetBSD
* Add missing __rpc_fixup_addr. This is needed to makembr2003-01-271-0/+3
| | | | | | | | | mount_nfs -T work for scoped addresses. NetBSD Rev 1.11 Reviewed by: phk Obtained from: NetBSD
* Free the correct buffer in error handling.mbr2003-01-271-1/+3
| | | | | | | | | Handle that malloc may return NULL. NetBSD Rev. 1.8 Reviewed by: phk Obtained from: NetBSD
* Fix namespace pollution introduced in previous commit.mbr2003-01-262-5/+5
| | | | Reviewed by: phk
* Fix memleak.mbr2003-01-161-2/+8
| | | | | Reviewed by: rwatson MFC after: 2 weeks
* Implement non-blocking tcp-connections.mbr2003-01-164-49/+259
| | | | | | Reviewed by: rwatson Obtained from: NetBSD MFC after: 1 day
* Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup,schweikh2003-01-013-507/+507
| | | | especially in troff files.
* english(4) police.schweikh2002-12-271-1/+1
|
* mdoc(7) police: "The .Fa argument.".ru2002-12-1914-74/+160
|
* mdoc(7) police: "The .Fn function".ru2002-12-1815-12/+144
|
* Change the name for the local unix-socket based protocolmbr2002-12-162-5/+26
| | | | | | | | | 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
* Uniformly refer to a file system as "file system".ru2002-12-121-1/+1
| | | | Approved by: re
* libc_r wasn't so tied to libc for 22 months.ru2002-11-181-1/+1
|
* Cosmetics.ru2002-10-291-1/+1
|
* bsd.doc.mk changes:ru2002-10-296-6/+0
| | | | | | | | | | | | | | | 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.
* Use kqueue(2) instead of poll(2) to wait for replies and timeoutsiedowse2002-10-151-158/+90
| | | | | | | 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.
* Fix documentation of clnt_control()'s CL{GET|SET}_{VERS|XID} tofenner2002-09-161-4/+4
| | | | | reflect that they actually require a u_int32_t *, which is not necessarily the same as an unsigned long *.
* xdr.3 is added to MAN in ../xdr/Makefile.inc where it belongs, so don'tbde2002-08-191-1/+1
| | | | add it here.
* mdoc(7) police: whitespace nits.ru2002-08-091-2/+4
|
* Revert part of revision 1.10, as it broke portmap lookups for IPv4iedowse2002-07-261-9/+3
| | | | | | | | | | | | | 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>
* Fix "rpcinfo -m" when talking to other implementations of rpcbind.alfred2002-07-141-0/+3
| | | | Submitted by: mbr (NetBSD PR#15802)
OpenPOWER on IntegriCloud