#
267654 |
|
19-Jun-2014 |
gjb |
Copy stable/9 to releng/9.3 as part of the 9.3-RELEASE cycle.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
#
261057 |
|
22-Jan-2014 |
mav |
MFC r258578, r258580, r258581 (by hrs): Replace Sun RPC license in TI-RPC library with a 3-clause BSD license with the explicit permissions.
|
#
225736 |
|
22-Sep-2011 |
kensmith |
Copy head to stable/9 as part of 9.0-RELEASE release cycle.
Approved by: re (implicit)
|
#
204950 |
|
10-Mar-2010 |
jhb |
Use thr_once() with once_t controls to initialize various thread_key_t objects used to provide per-thread storage in the RPC code. Almost all of these used double-checking with a dedicated mutex (tsd_lock) to do this before. However, that is not always safe with more relaxed memory orders. There were also other bugs, such as one in __rpc_createrr() that caused a new key to be allocated each time __rpc_createrr() was invoked.
PR: threads/144558 Reported by: Sam Robb samrobb of averesystems com (key leak) MFC after: 1 week
|
#
199784 |
|
25-Nov-2009 |
wollman |
Eliminate more dead stores.
Found by: Clang static analyzer MFC after: 7 days
|
#
194932 |
|
24-Jun-2009 |
delphij |
Lock around access to nc_file and netconfig_info ("ni"). The RPC part of libc is still not thread safe but this would at least reduce the problems we have.
PR: threads/118544 Submitted by: Changming Sun <snnn119 gmail com> MFC after: 2 weeks
|
#
190658 |
|
02-Apr-2009 |
delphij |
Remove a warning which is supposed to have been removed on 20030301.
|
#
172259 |
|
20-Sep-2007 |
matteo |
Fix some improper handling of malloc failures
PR: bin/83344 , kern/81987 Reviewed by: alfred Approved by: re (kensmith) MFC after: 1 week
|
#
166134 |
|
20-Jan-2007 |
maxim |
o Remove duplicate includes.
Obtained from: Slava Semushin via NetBSD
|
#
162191 |
|
09-Sep-2006 |
mbr |
Sync with NetBSD rev. 1.15
Coverity CID 2275: Avoid memory leak on error.
MFC after: 1 month
|
#
136581 |
|
16-Oct-2004 |
obrien |
Try to bring some sanity to the SCM ID's. + spell LIBC_SCCS consistently + enable builds with LIBC_SCCS defined to not syntax error + minor SCM reformatting to try to have some consistency
|
#
126643 |
|
05-Mar-2004 |
markm |
Make NULL a (void*)0 whereever possible, and fix the warnings(-Werror) 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
|
#
111010 |
|
16-Feb-2003 |
nectar |
Eliminate 61 warnings emitted at WARNS=2 (leaving 53 to go). 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
|
#
109956 |
|
27-Jan-2003 |
mbr |
Fix signed/unsigned comparison warnings. Fix spelling error in comment.
NetBSD Rev. 1.9 and 1.7
Reviewed by: phk Obtained from: NetBSD
|
#
107952 |
|
16-Dec-2002 |
mbr |
Change the name for the local unix-socket based protocol 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
|
#
92990 |
|
22-Mar-2002 |
obrien |
Fix the style of the SCM ID's. I believe have made all of libc .c's as consistent as possible.
|
#
92905 |
|
21-Mar-2002 |
obrien |
Remove __P() usage.
|
#
75146 |
|
03-Apr-2001 |
iedowse |
Fix some very broken code in __nc_error() that implements per-thread `nc_error' variables. Move the nc_lock mutex from mt_misc.c to a static variable within this function, since it is only used here.
Add a new getnetconfigent() error code `NC_NOTFOUND' to report the case where the specified netid was not found. Set nc_error in all error cases in getnetconfigent() so that the error messages returned by nc_(s)perror are always meaningful.
Add a terminating \n to the output of nc_perror() to match both our manpage and other implementations of this function.
Reviewed by: deischen, alfred, Martin Blapp <mb@imp.ch>
|
#
75094 |
|
02-Apr-2001 |
iedowse |
Move the #includes of reentrant.h to after the `#include "namespace.h"', so that the underscored versions of the pthread functions get declared. This removes around 300 lines of 'implicit declaration of XXX' warnings from the output of a libc build with -Wall.
Reviewed by: Martin Blapp <mb@imp.ch>, alfred
|
#
74843 |
|
27-Mar-2001 |
alfred |
const'ify
|
#
74462 |
|
19-Mar-2001 |
alfred |
Bring in a hybrid of SunSoft's transport-independent RPC (TI-RPC) and associated changes that had to happen to make this possible as well as bugs fixed along the way.
Bring in required TLI library routines to support this.
Since we don't support TLI we've essentially copied what NetBSD has done, adding a thin layer to emulate direct the TLI calls into BSD socket calls.
This is mostly from Sun's tirpc release that was made in 1994, however some fixes were backported from the 1999 release (supposedly only made available after this porting effort was underway).
The submitter has agreed to continue on and bring us up to the 1999 release.
Several key features are introduced with this update: Client calls are thread safe. (1999 code has server side thread safe) Updated, a more modern interface.
Many userland updates were done to bring the code up to par with the recent RPC API.
There is an update to the pthreads library, a function pthread_main_np() was added to emulate a function of Sun's threads library.
While we're at it, bring in NetBSD's lockd, it's been far too long of a wait.
New rpcbind(8) replaces portmap(8) (supporting communication over an authenticated Unix-domain socket, and by default only allowing set and unset requests over that channel). It's much more secure than the old portmapper.
Umount(8), mountd(8), mount_nfs(8), nfsd(8) have also been upgraded to support TI-RPC and to support IPV6.
Umount(8) is also fixed to unmount pathnames longer than 80 chars, which are currently truncated by the Kernel statfs structure.
Submitted by: Martin Blapp <mb@imp.ch> Manpage review: ru Secure RPC implemented by: wpaul
|