summaryrefslogtreecommitdiffstats
path: root/usr.sbin/yppush
Commit message (Collapse)AuthorAgeFilesLines
* The last big commit: let usr.sbin/ use WARNS=6 by default.ed2010-01-021-0/+2
|
* Remove unused variables.ed2010-01-021-1/+0
|
* Remove unsafe use of asynchronous I/O (the SIGIO handler could causethomas2006-08-161-118/+46
| | | | | | | | | | | | | | 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
* Don't push a map on a master server which will fail anyway.ru2006-08-131-1/+11
| | | | | PR: bin/72881 Submitted by: thomas (slightly coloured by me)
* (handler): When exitting upon an abnormal signal, yppush_exit() should notthomas2005-04-121-1/+1
| | | | | | | | | | | 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
* Sort sections.ru2005-01-181-2/+2
|
* Remove definition of struct dom_binding, it's non-standard C code andstefanf2004-10-171-1/+0
| | | | unnecessary since src/include/rpcsvc/ypclnt.h's revision 1.10.
* Per letter dated July 22, 1999 remove 3rd clause of Berkeley derived softwareimp2004-08-071-4/+0
| | | | (with permission of addtional copyright holders where appropriate)
* Mechanically kill hard sentence breaks.ru2004-07-021-3/+6
|
* Use __FBSDID over rcsid[]. Protect copyright[] where needed.obrien2003-05-031-4/+2
|
* The .Nm utilitycharnier2002-07-141-5/+7
|
* Spell void * as void * rather than caddr_t. This is complicated by thedes2002-04-281-1/+1
| | | | | | fact that caddr_t is often misspelled as char *. Sponsored by: DARPA, NAI Labs
* Constify and stylify yppusherr_string().des2002-04-161-6/+11
|
* ANSIfy and remove some dead code.des2002-02-061-29/+21
| | | | Sponsored by: DARPA, NAI Labs
* Apply the following mechanical transformations in preparation fordes2002-02-062-14/+14
| | | | | | | | | | | | | | | | | 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
* yp(4) -> yp(8).ru2002-01-141-1/+1
| | | | PR: docs/30797
* Perform a major cleanup of the usr.sbin Makefiles.obrien2001-07-201-7/+6
| | | | | These are not perfectly in agreement with each other style-wise, but they are orders of orders of magnitude more consistent style-wise than before.
* Initialize the sa_flags member of an auto struct sigaction variable.jdp2001-06-061-0/+1
| | | | | | | It contained whatever garbage happened to be on the stack. PR: bin/27457 (not confirmed yet, but almost certain) MFC after: 1 day
* - Backout botched attempt to introduce MANSECT feature.ru2001-03-261-0/+2
| | | | - MAN[1-9] -> MAN.
* Set the default manual section for usr.sbin/ to 8.ru2001-03-201-2/+0
|
* Bring in a hybrid of SunSoft's transport-independent RPC (TI-RPC) andalfred2001-03-191-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-2/+2
|
* Remove single-space hard sentence breaks. These degrade the qualitysheldonh2000-03-011-10/+20
| | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc.
* Remove invalid section name. Add missing .El.charnier2000-01-231-3/+3
|
* Fix various man pages to stop abusing the .Bx macro to generatempp2000-01-231-1/+1
| | | | the string "FreeBSD". Use the .Fx macro instead.
* $Id$ -> $FreeBSD$peter1999-08-284-4/+4
|
* Don't assume that time_t is long.bde1998-06-291-2/+2
|
* Fixed missing dependencies on headers generated by rpcgen, as usual.bde1998-05-101-6/+7
| | | | | Removed bogus dependencies of generated .c files on generated headers. Sorted sources lists.
* .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq.charnier1998-03-231-2/+2
|
* Cosmetics in yp_error() and usage().charnier1997-11-032-43/+41
|
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-311-3/+3
| | | | posix standard on the topic.
* Revert $FreeBSD$ to $Id$peter1997-02-224-5/+5
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-144-5/+5
| | | | | | | | 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.
* Ack! You can't strdup() a DB datum that is not null terminated, or youpeter1996-06-091-3/+4
| | | | get seemingly random SEGV's...
* Fix embarassing mind-o: transient RPC program numbers run fromwpaul1996-04-291-3/+3
| | | | 0x40000000 to 0x5FFFFFFF, not 0x4000000 to 0x5FFFFFF. *sigh*
* yppush_main.c:wpaul1996-04-033-52/+22
| | | | | | | | | | | | | | | | | | | | - 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.
* Correct a bunch of man page cross references and generallympp1996-02-111-3/+3
| | | | | | try and silence "manck". ncurses, rpc, and some of the gnu stuff are still a big mess, however.
* Sync with my sources at home:wpaul1996-01-311-4/+39
| | | | | | | | | | | | | - 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.
* Fix a bunch of spelling errors in a bunch of man pages.mpp1996-01-301-3/+3
|
* This commit was generated by cvs2svn to compensate for changes in r13394,wpaul1996-01-124-0/+925
which included commits to RCS files with non-trunk default branches.
OpenPOWER on IntegriCloud