#
c05ac53b |
| 21-Mar-2002 |
David E. O'Brien <obrien@FreeBSD.org> |
Remove __P() usage.
|
#
6112fcee |
| 16-Feb-2002 |
Ian Dowse <iedowse@FreeBSD.org> |
Fix two file descriptor leaks in the internal function local_rpcb() that is used by a number of rpcbind-related library functions. Also fix a rpc client leak in rpcb_set().
Submitted by: mbr Obtaine
Fix two file descriptor leaks in the internal function local_rpcb() that is used by a number of rpcbind-related library functions. Also fix a rpc client leak in rpcb_set().
Submitted by: mbr Obtained from: NetBSD
show more ...
|
#
e4db1131 |
| 06-Feb-2002 |
Alfred Perlstein <alfred@FreeBSD.org> |
Do not call addrinfo on local transport adresses, if returning a server handle (for reuse or whatever). We just return now a handle connected to the local rpcbind.
Do not try to call checkcache, if
Do not call addrinfo on local transport adresses, if returning a server handle (for reuse or whatever). We just return now a handle connected to the local rpcbind.
Do not try to call checkcache, if host = NULL;
Submitted by: mbr
show more ...
|
Revision tags: release/4.5.0_cvs, release/4.4.0_cvs |
|
#
e73bb7f1 |
| 02-Aug-2001 |
Ian Dowse <iedowse@FreeBSD.org> |
In getclnthandle(), if the address is found in the cache we need to strdup() the address string before returning it via *targaddr because the caller will free the string.
Change the comment at the t
In getclnthandle(), if the address is found in the cache we need to strdup() the address string before returning it via *targaddr because the caller will free the string.
Change the comment at the top of getclnthandle() to clarify that the caller is responsible for freeing *targaddr.
Noticed by: sobomax
show more ...
|
#
52353da8 |
| 14-Jul-2001 |
Ian Dowse <iedowse@FreeBSD.org> |
Fix a memory leak in __rpcb_findaddr(), avoid compiler warnings.
Submitted by: Martin Blapp <mb@imp.ch>
|
Revision tags: release/4.3.0_cvs, release/4.3.0 |
|
#
9f5afc13 |
| 02-Apr-2001 |
Ian Dowse <iedowse@FreeBSD.org> |
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 declaratio
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
show more ...
|
#
8360efbd |
| 19-Mar-2001 |
Alfred Perlstein <alfred@FreeBSD.org> |
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
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
show more ...
|
Revision tags: release/8.3.0_cvs, release/8.3.0, release/9.0.0, release/7.4.0_cvs, release/8.2.0_cvs, release/7.4.0, release/8.2.0, release/8.1.0_cvs, release/8.1.0, release/7.3.0_cvs, release/7.3.0, release/8.0.0_cvs, release/8.0.0, release/7.2.0_cvs, release/7.2.0, release/7.1.0_cvs, release/7.1.0, release/6.4.0_cvs, release/6.4.0, release/7.0.0_cvs, release/7.0.0, release/6.3.0_cvs, release/6.3.0 |
|
#
330e445c |
| 21-Sep-2007 |
Matteo Riondato <matteo@FreeBSD.org> |
Fix some improper handling of malloc failures
PR: bin/83344 , kern/81987 Reviewed by: alfred Approved by: re (kensmith) MFC after: 1 week
|
Revision tags: release/6.2.0_cvs, release/6.2.0 |
|
#
f340bd40 |
| 10-Sep-2006 |
Martin Blapp <mbr@FreeBSD.org> |
Sync with NetBSD rev. 1.20 + 1.21
Coverity CID 2284: Fix multiple memory leaks. Coverity CID 710: Remove unreachable code.
MFC after: 1 month
|
Revision tags: release/5.5.0_cvs, release/5.5.0, release/6.1.0_cvs, release/6.1.0 |
|
#
235baf26 |
| 27-Feb-2006 |
Daniel Eischen <deischen@FreeBSD.org> |
Staticize a couple of functions.
Remove a few unused locks.
Remove locks from application namespace.
|
Revision tags: release/6.0.0_cvs, release/6.0.0, release/5.4.0_cvs, release/5.4.0, release/4.11.0_cvs, release/4.11.0, release/5.3.0_cvs, release/5.3.0 |
|
#
a986ef57 |
| 16-Oct-2004 |
David E. O'Brien <obrien@FreeBSD.org> |
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
|
Revision tags: release/4.10.0_cvs, release/4.10.0, release/5.2.1_cvs, release/5.2.1, release/5.2.0_cvs, release/5.2.0 |
|
#
b6c452a8 |
| 29-Oct-2003 |
Martin Blapp <mbr@FreeBSD.org> |
Don't compare NULL against a character.
Obtained from: NetBSD
|
Revision tags: release/4.9.0_cvs, release/4.9.0, release/5.1.0_cvs, release/5.1.0, release/4.8.0_cvs, release/4.8.0 |
|
#
77335102 |
| 27-Jan-2003 |
Martin Blapp <mbr@FreeBSD.org> |
Add missing __rpc_fixup_addr. This is needed to make mount_nfs -T work for scoped addresses.
NetBSD Rev 1.11
Reviewed by: phk Obtained from: NetBSD
|
Revision tags: release/5.0.0_cvs, release/5.0.0, release/4.7.0_cvs, release/4.6.2_cvs, release/4.6.2 |
|
#
bb1ca86f |
| 26-Jul-2002 |
Ian Dowse <iedowse@FreeBSD.org> |
Revert part of revision 1.10, as it broke portmap lookups for IPv4 TCP clients. The problem was that a struct netconfig returned by getnetconfigent() was being treated as a handle for __rpc_getconf()
Revert part of revision 1.10, as it broke portmap lookups for IPv4 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>
show more ...
|
Revision tags: release/4.6.1 |
|
#
4e37855e |
| 11-Jul-2002 |
Alfred Perlstein <alfred@FreeBSD.org> |
Add functions allowing for the user to specify a timeout for rpc functions.
Update copyrights to reflect where this code was lifted from. (tirpc '99)
Submitted by: mbr
|
Revision tags: release/4.6.0_cvs |
|
#
d3d20c82 |
| 23-Mar-2002 |
David E. O'Brien <obrien@FreeBSD.org> |
Fix the style of the SCM ID's. I believe have made all of libc .c's as consistent as possible.
|
#
1372519b |
| 22-Mar-2002 |
David E. O'Brien <obrien@FreeBSD.org> |
Remove multi-line __P() usage.
|
#
c05ac53b |
| 21-Mar-2002 |
David E. O'Brien <obrien@FreeBSD.org> |
Remove __P() usage.
|
#
6112fcee |
| 16-Feb-2002 |
Ian Dowse <iedowse@FreeBSD.org> |
Fix two file descriptor leaks in the internal function local_rpcb() that is used by a number of rpcbind-related library functions. Also fix a rpc client leak in rpcb_set().
Submitted by: mbr Obtaine
Fix two file descriptor leaks in the internal function local_rpcb() that is used by a number of rpcbind-related library functions. Also fix a rpc client leak in rpcb_set().
Submitted by: mbr Obtained from: NetBSD
show more ...
|
#
e4db1131 |
| 06-Feb-2002 |
Alfred Perlstein <alfred@FreeBSD.org> |
Do not call addrinfo on local transport adresses, if returning a server handle (for reuse or whatever). We just return now a handle connected to the local rpcbind.
Do not try to call checkcache, if
Do not call addrinfo on local transport adresses, if returning a server handle (for reuse or whatever). We just return now a handle connected to the local rpcbind.
Do not try to call checkcache, if host = NULL;
Submitted by: mbr
show more ...
|
Revision tags: release/4.5.0_cvs, release/4.4.0_cvs |
|
#
e73bb7f1 |
| 02-Aug-2001 |
Ian Dowse <iedowse@FreeBSD.org> |
In getclnthandle(), if the address is found in the cache we need to strdup() the address string before returning it via *targaddr because the caller will free the string.
Change the comment at the t
In getclnthandle(), if the address is found in the cache we need to strdup() the address string before returning it via *targaddr because the caller will free the string.
Change the comment at the top of getclnthandle() to clarify that the caller is responsible for freeing *targaddr.
Noticed by: sobomax
show more ...
|
#
52353da8 |
| 14-Jul-2001 |
Ian Dowse <iedowse@FreeBSD.org> |
Fix a memory leak in __rpcb_findaddr(), avoid compiler warnings.
Submitted by: Martin Blapp <mb@imp.ch>
|
Revision tags: release/4.3.0_cvs, release/4.3.0 |
|
#
9f5afc13 |
| 02-Apr-2001 |
Ian Dowse <iedowse@FreeBSD.org> |
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 declaratio
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
show more ...
|
#
8360efbd |
| 19-Mar-2001 |
Alfred Perlstein <alfred@FreeBSD.org> |
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
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
show more ...
|