aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/rpc.ypupdated
Commit message (Collapse)AuthorAgeFilesLines
* Consistently set RPCGEN_CPP when running rpcgen, so the C preprocessorDimitry Andric2012-02-071-1/+1
| | | | | | | | | set via ${CPP} is used, instead of always using hardcoded /usr/bin/cpp. MFC after: 1 week Notes: svn path=/head/; revision=231118
* In usr.sbin/rpc.ypupdated/yp_dbupdate.c, since intmax_t is signed, justDimitry Andric2011-12-181-1/+1
| | | | | | | | | | like time_t, better use %jd instead of %ju. Strangely enough, neither gcc, clang nor gcc 4.6 warn about this discrepancy... MFC after: 1 week Notes: svn path=/head/; revision=228680
* In usr.sbin/rpc.ypupdated/yp_dbupdate.c, include stdint.h, so intmax_tDimitry Andric2011-12-181-0/+1
| | | | | | | | | | is known, otherwise it won't build. Pointy hat to: dim MFC after: 1 week Notes: svn path=/head/; revision=228679
* In usr.sbin/rpc.ypupdated/yp_dbupdate.c, use the appropriate printfDimitry Andric2011-12-181-1/+1
| | | | | | | | | length modifier for time_t (after casting it to intmax_t). MFC after: 1 week Notes: svn path=/head/; revision=228678
* Remove duplicated header filesKevin Lo2011-06-243-3/+0
| | | | Notes: svn path=/head/; revision=223492
* The last big commit: let usr.sbin/ use WARNS=6 by default.Ed Schouten2010-01-021-0/+2
| | | | Notes: svn path=/head/; revision=201390
* Kill blank line at EOF.Tom Rhodes2007-02-151-1/+0
| | | | Notes: svn path=/head/; revision=166735
* Start the dreaded NOFOO -> NO_FOO conversion.Ruslan Ermilov2004-12-211-1/+1
| | | | | | | OK'ed by: core Notes: svn path=/head/; revision=139103
* For variables that are only checked with defined(), don't provideRuslan Ermilov2004-10-241-1/+1
| | | | | | | any fake value. Notes: svn path=/head/; revision=136910
* Remove definition of struct dom_binding, it's non-standard C code andStefan Farfeleder2004-10-171-1/+0
| | | | | | | unnecessary since src/include/rpcsvc/ypclnt.h's revision 1.10. Notes: svn path=/head/; revision=136620
* Include <stdlib.h> for exit() and abort() prototypes.Stefan Farfeleder2004-05-241-0/+1
| | | | | | | Approved by: das (mentor) Notes: svn path=/head/; revision=129658
* Include <rpc/rpc_com.h> for a _rpc_dtablesize() prototype.Stefan Farfeleder2004-05-241-0/+1
| | | | | | | Approved by: das (mentor) Notes: svn path=/head/; revision=129654
* Use __FBSDID over rcsid[]. Protect copyright[] where needed.David E. O'Brien2003-05-034-16/+8
| | | | Notes: svn path=/head/; revision=114601
* style.Makefile(5)David E. O'Brien2003-04-041-1/+1
| | | | Notes: svn path=/head/; revision=113091
* Unbogotify the comment containing the RCS Id.Dag-Erling Smørgrav2002-02-151-1/+4
| | | | Notes: svn path=/head/; revision=90665
* ANSIfy and remove some dead code.Dag-Erling Smørgrav2002-02-065-80/+36
| | | | | | | Sponsored by: DARPA, NAI Labs Notes: svn path=/head/; revision=90298
* Apply the following mechanical transformations in preparation forDag-Erling Smørgrav2002-02-066-11/+11
| | | | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=90297
* Perform a major cleanup of the usr.sbin Makefiles.David E. O'Brien2001-07-201-9/+5
| | | | | | | | 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. Notes: svn path=/head/; revision=80029
* Fix the type of the NULL arg to execl()Brian Somers2001-07-092-2/+2
| | | | | | | Idea from: Theo de Raadt <deraadt@openbsd.org> Notes: svn path=/head/; revision=79452
* Bring in a hybrid of SunSoft's transport-independent RPC (TI-RPC) andAlfred Perlstein2001-03-192-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=74462
* Don't call syslog() without a format string.Kris Kennaway2000-07-121-2/+2
| | | | Notes: svn path=/head/; revision=62989
* Remove unused include.Jeroen Ruigrok van der Werven2000-04-291-1/+0
| | | | Notes: svn path=/head/; revision=59750
* $Id$ -> $FreeBSD$Peter Wemm1999-08-287-7/+7
| | | | Notes: svn path=/head/; revision=50479
* getopt(3) returns -1 not EOF.Warner Losh1999-05-231-2/+2
| | | | Notes: svn path=/head/; revision=47442
* Removed bogus dependencies of generated .c files on generated headers.Bruce Evans1998-05-101-2/+2
| | | | Notes: svn path=/head/; revision=35910
* Fixed `make -jN' for large N, as usual.Bruce Evans1998-03-061-2/+2
| | | | Notes: svn path=/head/; revision=34131
* Fixed DPADD.Bruce Evans1997-12-161-2/+3
| | | | Notes: svn path=/head/; revision=31779
* Use err(3). Remove multiply defined Id string.Philippe Charnier1997-10-135-35/+30
| | | | Notes: svn path=/head/; revision=30378
* Clobber unneeded prototypes; in particular, the redeclaration of malloc()Bill Paul1997-06-061-0/+4
| | | | | | | | | | | will break compilation if DESTDIR is not set. The update.c module is actually from the Sun RPC distribution so this is really their bogon, but I should have noticed it when I integrated the code into rpc.ypupdated. Sung to me by: Satoshi Notes: svn path=/head/; revision=26479
* Mind-o: MAN8= yes --> NOMAN= yesBill Paul1997-05-291-2/+2
| | | | | | | Etched onto my brain with acid by: Mark Murray. Notes: svn path=/head/; revision=26272
* Import rpc.ypupdated.Bill Paul1997-05-288-0/+1210
This program still needs work but does compile and run. It also needs a man page. Notes: svn path=/cvs2svn/branches/WPAUL/dist/; revision=26236