summaryrefslogtreecommitdiffstats
path: root/lib/libc/rpc
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix some improper handling of malloc failuresmatteo2007-09-205-30/+53
| | | | | | | PR: bin/83344 , kern/81987 Reviewed by: alfred Approved by: re (kensmith) MFC after: 1 week
* Use an array of size NGROUP_MAX for the getgroups() call instead of NGRP.harti2007-06-141-2/+4
| | | | | When NGROUP_MAX is larger than NGRP the call used to fail. Now the call succeedes, but only the first NGRP groups are actually used for authentication.
* Some libc symbol map cleanups.deischen2007-05-311-1/+0
| | | | | | | | | | | | | | | | | | | | | net: endhostdnsent is named _endhostdnsent and is private to netdb family of functions. posix1e: acl_size.c has been never compiled in, so there's no "acl_size". rpc: "getnetid" is a static function. stdtime: "gtime" is #ifdef'ed out in the source. some symbols are specific only to some architectures, e.g., ___tls_get_addr is only defined on i386. __htonl, __htons, __ntohl and __ntohs are no longer functions, they are now (internal) defines in <machine/endian.h>. Submitted by: ru
* endrpcent belongs with rpc name service db, not services.jon2007-05-171-1/+1
| | | | MFC after: 1 week
* Use C comments since we now preprocess these files with CPP.deischen2007-04-291-7/+11
|
* Disable RPC exponential back-off for FreeBSD.org systems (IE. hiddensimon2007-03-041-0/+7
| | | | | | | | | | | | | behind _FREEFALL_CONFIG). This is done mainly to make NIS even more resistant to packet loss. This is not enabled by default for "normal" FreeBSD since it might cause the server providing the RPC service to be hit heavily with RPC traffic in case of problems. freefall.FreeBSD.org and hub.FreeBSD.org have been running with a patch similar to this for a couple of weeks. MFC after: 1 week Discussed with: peter
* o Remove duplicate includes.maxim2007-01-202-2/+0
| | | | Obtained from: Slava Semushin via NetBSD
* Markup fixes.ru2006-09-171-1/+1
|
* Sync with NetBSD rev. 1.16 + 1.17mbr2006-09-091-2/+5
| | | | | | | | Coverity CID 2292: Plug memory leak. Coverity CID 2291: Move function call before allocating storage to prevent memory leak on error. MFC after: 1 month
* Sync with NetBSD rev. 1.29mbr2006-09-091-0/+4
| | | | | | Coverity CID 2293: Fix memory leak. MFC after: 1 month
* Sync with NetBSD rev. 1.6 + 1.7mbr2006-09-091-4/+4
| | | | | | Coverity CID 779 + 780: Avoid NULL pointer dereference. MFC after: 1 month
* Sync with NetBSD rev. 1.20 + 1.21mbr2006-09-091-6/+11
| | | | | | | Coverity CID 2284: Fix multiple memory leaks. Coverity CID 710: Remove unreachable code. MFC after: 1 month
* Sync with NetBSD rev. 1.10mbr2006-09-091-0/+1
| | | | | | Coverity CID 2276: Don't leak memory on error. MFC after: 1 month
* Sync with NetBSD rev. 1.15mbr2006-09-091-0/+1
| | | | | | Coverity CID 2275: Avoid memory leak on error. MFC after: 1 month
* Sync part of NetBSD rev. 1.14mbr2006-09-091-1/+1
| | | | | | | Fix unpaired sigblock which possibly leaves the process with all signals blocked. MFC after: 2 weeks
* Sync with NetBSD rev. 1.16 + 1.17mbr2006-09-091-1/+4
| | | | | | | Coverity CID 3651: Don't leak ifaddrs on getaddrinfo failure. Coverity CID 2283: Don't leak sys_auth on error. MFC after: 1 month
* - Extend the nsswitch to support Services, Protocols and Rpcume2006-04-281-214/+942
| | | | | | | | databases. - Make nsswitch support caching. Submitted by: Michael Bushkov <bushman__at__rsu.ru> Sponsored by: Google Summer of Code 2005
* Add each directory's symbol map file to SYM_MAPS.deischen2006-03-131-0/+2
|
* Add symbol maps and initial symbol version definitions to libc.deischen2006-03-131-0/+244
| | | | Reviewed by: davidxu
* Const'ify arguments to a couple of functions to fix breakagedeischen2006-02-281-2/+2
| | | | with -O2.
* Don't do a time travel to 12006...delphij2006-02-281-1/+1
|
* Staticize a couple of functions.deischen2006-02-2723-71/+106
| | | | | | Remove a few unused locks. Remove locks from application namespace.
* I wrote getnetconfig where I meant getnetpath in the previous revision.ceri2006-01-111-2/+2
|
* o Document the possibility of putting 'b' in the flag field.ceri2006-01-061-5/+11
| | | | | | | While we don't use the NC_BROADCAST value of nc_flag anywhere in the RPC code, it is parseable by getnetconfigent(3) from /etc/netconfig. o Clean up some "see below"'s that were cut and pasted from netconfig.h.
* Fix prototypes.ru2005-11-233-4/+4
|
* Add a couple of missing MLINKS.stefanf2005-09-111-0/+17
|
* Avoid pointer arithmetics on void *.stefanf2005-03-101-1/+1
| | | | Approved by: alfred
* Remove an superfluous assignment.stefanf2005-03-101-1/+0
| | | | Approved by: alfred
* Use socklen_t where appropriate.stefanf2005-03-102-2/+3
| | | | Approved by: alfred
* Expand *n't contractions.ru2005-02-131-1/+1
|
* Fixed the misplaced $FreeBSD$.ru2005-02-097-7/+7
|
* Sort sections.ru2005-01-202-8/+8
|
* Add knob NO_NIS (fka NO_YP_LIBC) and make world compileable when set.bz2004-11-131-0/+2
| | | | | | | | | | | If turned on no NIS support and related programs will be built. Lost parts rediscovered by: Danny Braniss <danny at cs.huji.ac.il> PR: bin/68303 No objections: des, gshapiro, nectar Reviewed by: ru Approved by: rwatson (mentor) MFC after: 2 weeks
* Try to bring some sanity to the SCM ID's.obrien2004-10-1644-71/+67
| | | | | | + spell LIBC_SCCS consistently + enable builds with LIBC_SCCS defined to not syntax error + minor SCM reformatting to try to have some consistency
* Avoid using void pointers in additive expressions.stefanf2004-08-132-2/+2
| | | | | PR: 56653 (libc/rpc bits) Approved by: alfred
* 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
OpenPOWER on IntegriCloud