#
351694 |
|
02-Sep-2019 |
kib |
MFC r350957: Increase YPMAXRECORD to 16M to be compatible with Linux.
Sponsored by: Mellanox Technologies
|
#
331722 |
|
29-Mar-2018 |
eadler |
Revert r330897:
This was intended to be a non-functional change. It wasn't. The commit message was thus wrong. In addition it broke arm, and merged crypto related code.
Revert with prejudice.
This revert skips files touched in r316370 since that commit was since MFCed. This revert also skips files that require $FreeBSD$ property changes.
Thank you to those who helped me get out of this mess including but not limited to gonzo, kevans, rgrimes.
Requested by: gjb (re)
|
#
330897 |
|
14-Mar-2018 |
eadler |
Partial merge of the SPDX changes
These changes are incomplete but are making it difficult to determine what other changes can/should be merged.
No objections from: pfg
|
#
302408 |
|
07-Jul-2016 |
gjb |
Copy head@r302406 to stable/11 as part of the 11.0-RELEASE cycle. Prune svn:mergeinfo from the new branch, as nothing has been merged here.
Additional commits post-branch will follow.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
#
285926 |
|
28-Jul-2015 |
araujo |
Staticfy and constify some variables and clean up the code a bit to make it more readable. No functional change.
Differential Revision: D3166 Reviewed by: kib Sponsored by: gandi.net
|
#
283838 |
|
31-May-2015 |
rodrigc |
Fix some gcc compiler warnings.
Submitted by: Sascha Wildner <swildner@dragonflybsd.org> Obtained from: DragonFlyBSD (commit 51798e10f3dd)
|
#
201389 |
|
02-Jan-2010 |
ed |
Remove unused variables.
|
#
161359 |
|
16-Aug-2006 |
thomas |
Remove unsafe use of asynchronous I/O (the SIGIO handler could cause incorrect reentrant calls to the libc memory manager).
Add missing error handling: * for an incoming response with an incorrect tid; * for a failure to register the response RPC program,
Fix error handling for failure to malloc job descriptor (this needs to be done before the transient RPC program is registered).
PR: bin/102143 MFC after: 2 weeks
|
#
161262 |
|
13-Aug-2006 |
ru |
Don't push a map on a master server which will fail anyway.
PR: bin/72881 Submitted by: thomas (slightly coloured by me)
|
#
144950 |
|
12-Apr-2005 |
thomas |
(handler): When exitting upon an abnormal signal, yppush_exit() should not attempt to clear its pending jobs list, as this could trigger another signal, and cause an infinite recursion. What yppush_exit() tests in order to determine whether to flush pending jobs is the yppush_joblist chained list, so this is what needs to be cleared in that case (not the yppush_jobs counter).
Reviewed by: audit@ (no objection) MFC after: 2 weeks
|
#
136620 |
|
17-Oct-2004 |
stefanf |
Remove definition of struct dom_binding, it's non-standard C code and unnecessary since src/include/rpcsvc/ypclnt.h's revision 1.10.
|
#
114601 |
|
03-May-2003 |
obrien |
Use __FBSDID over rcsid[]. Protect copyright[] where needed.
|
#
95658 |
|
28-Apr-2002 |
des |
Spell void * as void * rather than caddr_t. This is complicated by the fact that caddr_t is often misspelled as char *.
Sponsored by: DARPA, NAI Labs
|
#
94887 |
|
16-Apr-2002 |
des |
Constify and stylify yppusherr_string().
|
#
90298 |
|
06-Feb-2002 |
des |
ANSIfy and remove some dead code.
Sponsored by: DARPA, NAI Labs
|
#
90297 |
|
06-Feb-2002 |
des |
Apply the following mechanical transformations in preparation for ansification and constification:
s{\s+__P\((\(.*?\))\)}{$1}g; s{\(\s+}{\(}g; s{\s+\)}{\)}g; s{\s+,}{,}g; s{(\s+)(for|if|switch|while)\(}{$1$2 \(}g; s{return ([^\(].*?);}{return ($1);}g; s{([\w\)])([!=+/\*-]?=)([\w\(+-])}{$1 $2 $3}g; s{\s+$}{\n};g
Also add $FreeBSD$ where needed.
MFC after: 1 week
|
#
77838 |
|
06-Jun-2001 |
jdp |
Initialize the sa_flags member of an auto struct sigaction variable. It contained whatever garbage happened to be on the stack.
PR: bin/27457 (not confirmed yet, but almost certain) MFC after: 1 day
|
#
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
|
#
50479 |
|
27-Aug-1999 |
peter |
$Id$ -> $FreeBSD$
|
#
37269 |
|
29-Jun-1998 |
bde |
Don't assume that time_t is long.
|
#
30911 |
|
03-Nov-1997 |
charnier |
Cosmetics in yp_error() and usage().
|
#
24428 |
|
31-Mar-1997 |
imp |
compare return value from getopt against -1 rather than EOF, per the final posix standard on the topic.
|
#
22997 |
|
22-Feb-1997 |
peter |
Revert $FreeBSD$ to $Id$
|
#
21673 |
|
14-Jan-1997 |
jkh |
Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long.
Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
|
#
16242 |
|
09-Jun-1996 |
peter |
Ack! You can't strdup() a DB datum that is not null terminated, or you get seemingly random SEGV's...
|
#
15443 |
|
29-Apr-1996 |
wpaul |
Fix embarassing mind-o: transient RPC program numbers run from 0x40000000 to 0x5FFFFFFF, not 0x4000000 to 0x5FFFFFF. *sigh*
|
#
15016 |
|
03-Apr-1996 |
wpaul |
yppush_main.c:
- Remove unused 'pid' member from the jobs structure. (This was left over from an earlier incarnation of the program that used multiple processes.)
- Remove #ifdef'ed longjmp() stuff.
- Print warning message if the 'pushing' host is not the master for a map being pushed but don't bail out. (While yppush should only be used on an NIS master, using it elsewhere is not an unpardonable sin.)
yppush.8:
- Fix a couple of mind-os.
Makefile
- Change format to hopefully ease bootstrapping. (Suggested by wollman.) Other Makefiles should follow.
|
#
13799 |
|
31-Jan-1996 |
wpaul |
Sync with my sources at home:
- Don't do longjmp()s from inside a signal handler. Even though I got things to work the way I wanted, it's bad karma.
- Remember to clear the sa_mask with sigemptyset() before masking signals when using sigaction() to set up the SIGIO handler.
- Break out of the wait loop in yppush_exit() when the five minute timeout expires instead of looping around for another pass. If ypxfr on the other end fails somehow and never sends a response, we don't want to wait around forever.
|
#
13395 |
|
12-Jan-1996 |
wpaul |
This commit was generated by cvs2svn to compensate for changes in r13394, which included commits to RCS files with non-trunk default branches.
|
#
13394 |
|
12-Jan-1996 |
wpaul |
Import the new yppush.
This program does what the old one did, PLUS:
- Supports parallel jobs (like the SunOS yppush) - Does everything in one proces instead of fork()ing off children processes as callback listeners (this is done using async socket I/O). - Can be used to transmit maps to user-specified hosts. - Has a much more verbose verbose option. - Reuses existing code from ypserv and ypxfr. - Uses some rpcgen-erated code as well. - Isn't fattening. :)
Note that this is going in /usr/sbin rather than /usr/bin like the old one. yppush is an administrative command it it's anything.
|