summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bootparamd/callbootd
Commit message (Collapse)AuthorAgeFilesLines
* Consistently set RPCGEN_CPP when running rpcgen, so the C preprocessordim2012-02-071-3/+3
| | | | | | set via ${CPP} is used, instead of always using hardcoded /usr/bin/cpp. MFC after: 1 week
* Fix warning when compiling with gcc46:eadler2012-01-201-3/+2
| | | | | | | error: variable 'clnt_stat' set but not used Approved by: dim, cperciva (mentor, blanket for pre-mentorship already-approved commits) MFC after: 3 days
* Cleanup of userland __P usekevlo2007-11-071-3/+3
|
* Pass -C to rpcgen.stefanf2005-02-091-3/+3
|
* Start the dreaded NOFOO -> NO_FOO conversion.ru2004-12-211-1/+1
| | | | OK'ed by: core
* For variables that are only checked with defined(), don't provideru2004-10-241-1/+1
| | | | any fake value.
* fix problem with uninitalized ptr (from PR)jmg2003-06-201-8/+13
| | | | | | | other minor clean up. PR: bin/2785 Submitted by: mpp
* Perform a major cleanup of the usr.sbin Makefiles.obrien2001-07-201-1/+3
| | | | | 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.
* Bring in a hybrid of SunSoft's transport-independent RPC (TI-RPC) andalfred2001-03-191-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* $Id$ -> $FreeBSD$peter1999-08-282-2/+2
|
* #include <arpa/inet.h> for inet_* definitions.peter1998-06-121-2/+4
|
* Fixed `make -j9' by putting generated headers in ${SRCS}. Removed bogusbde1998-04-261-5/+6
| | | | | dependencies of generated .c files on generated headers (these made `make -JN' work provided `depend' was made first). Sorted sources lists.
* Use err(3). Add usage and prototypes. Remove Xref: Diskless(8) does notcharnier1997-09-041-27/+31
| | | | exist. Use An/Aq macros for Author.
* Revert $FreeBSD$ to $Id$peter1997-02-222-2/+2
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-142-2/+2
| | | | | | | | 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.
* Add a dependency on the .x source file and avoid copying it.bde1995-07-041-15/+10
| | | | | | | bootparam_prot.x was changed for nfsv3 but bootparamd and callbootd kept using the old version which fortunately failed at build time. Copying hasn't been necessary since path handling was fixed in rpcgen/rpc_main.c some time ago.
* Remove trailing whitespace.rgrimes1995-05-302-24/+24
|
* Stop callbootd from dumping core when attempting to directly query awpaul1995-03-261-1/+6
| | | | | bootparam server on a host that isn't running bootparamd: if clnt_create() comes back with a NULL pointer, bail out with an error.
* Took out .include "../../Makefile.inc" which shouldn't be needed now that Iwpaul1995-03-021-2/+1
| | | | | put a proper Makefile.inc in the top level of the bootparam heirarchy. (Someday I'll learn. *sigh*)
* My patch this morning was not complete. I never tested make install - stupidlyjkh1995-03-011-1/+2
| | | | | | | | | | | thinking that it would work :( The install program never get a destination directory. Here is another patch that should also be added. I think this should be the last one for these makefiles :) [Note: I realize that there are more things wrong than this, but this should at least get the tree compiling again! -jkh] Submitted by: John Hay <jhay@mikom.csir.co.za>
* The current bootparamd makefiles break if you do a make obj first. It doesphk1995-03-011-13/+11
| | | | | | | | | work if you don't have the obj link. Here is a patch for it. It will still work if you don't have an obj link:) (I stuck a ${DESTDIR} in front of the absolute path to /usr/include... /phk) Reviewed by: phk Submitted by: John Hay <jhay@mikom.csir.co.za>
* Obtained from: The Xkernel source distributionwpaul1995-02-262-0/+215
I hope I'm doing this right. This is an initial version of bootparamd for FreeBSD based on a public domain rpc.bootparamd implementation by a gentleman named Klas Heggemann. This program has apparently been around for a while. The README explicitly lists the code as public domain, so I guess it's safe to use. This program is needed for booting diskless SunOS and Solaris machines. rarpd is also required, but that's in the works too. I have made two changes to this code: - Implemented NIS lookups. If /etc/bootparams contains a '+' then the bootparams map is consulted. - Allow 0.0.0.0 as a user-specified router address. The SunOS rpc.bootparamd returns this value in many cases.
OpenPOWER on IntegriCloud