History log of /freebsd-10.1-release/usr.sbin/bootparamd/
Revision Date Author Comments
272461 03-Oct-2014 gjb

Copy stable/10@r272459 to releng/10.1 as part of
the 10.1-RELEASE process.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


250582 12-May-2013 joel

mdoc sweep.


233510 26-Mar-2012 joel

mdoc: terminate quoted strings.

Reviewed by: brueffer


231118 07-Feb-2012 dim

Consistently set RPCGEN_CPP when running rpcgen, so the C preprocessor
set via ${CPP} is used, instead of always using hardcoded /usr/bin/cpp.

MFC after: 1 week


230361 20-Jan-2012 eadler

Fix warning when compiling with gcc46:
error: variable 'clnt_stat' set but not used

Approved by: dim, cperciva (mentor, blanket for pre-mentorship already-approved commits)
MFC after: 3 days


229403 03-Jan-2012 ed

Replace index() and rindex() calls with strchr() and strrchr().

The index() and rindex() functions were marked LEGACY in the 2001
revision of POSIX and were subsequently removed from the 2008 revision.
The strchr() and strrchr() functions are part of the C standard.

This makes the source code a lot more consistent, as most of these C
files also call into other str*() routines. In fact, about a dozen
already perform strchr() calls.


228990 30-Dec-2011 uqs

Spelling fixes for usr.sbin/


201521 04-Jan-2010 ed

Unbreak bootparamd when setting WITHOUT_NIS.

Submitted by: bf1783 googlemail com


201390 02-Jan-2010 ed

The last big commit: let usr.sbin/ use WARNS=6 by default.


181143 02-Aug-2008 cognet

Remove a useless cast.

Spotted out by: stefanf


181125 01-Aug-2008 cognet

Char is unsigned on arm, so is not suitable to store the return value of
getopt(). Use an int instead.

Submitted by: Matthew Luckie
MFC after: 3 days


175823 30-Jan-2008 rink

Fix bootparamd on 64 bit platforms - at least amd64 was broken due to the
code believing long == 64 bits and using it to store/compare IPv4 addresses.

PR: bin/112163
Submitted by: Tyler Spivey <tspivey@pcdesk.net>
Reviewed by: imp
Approved by: imp (mentor)
MFC after: 1 week


173412 07-Nov-2007 kevlo

Cleanup of userland __P use


156813 17-Mar-2006 ru

Reimplementation of world/kernel build options. For details, see:

http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.html

The src.conf(5) manpage is to follow in a few days.

Brought to you by: imp, jhb, kris, phk, ru (all bugs are mine)


141569 09-Feb-2005 stefanf

Pass -C to rpcgen.


140442 18-Jan-2005 ru

Sort sections.


139103 21-Dec-2004 ru

Start the dreaded NOFOO -> NO_FOO conversion.

OK'ed by: core


137675 13-Nov-2004 bz

Add knob NO_NIS (fka NO_YP_LIBC) and make world compileable when set.
If turned on no NIS support and related programs will be built.

Lost parts rediscovered by: Danny Braniss <danny at cs.huji.ac.il>
PR: bin/68303
No objections: des, gshapiro, nectar
Reviewed by: ru
Approved by: rwatson (mentor)
MFC after: 2 weeks


136910 24-Oct-2004 ru

For variables that are only checked with defined(), don't provide
any fake value.


130243 08-Jun-2004 stefanf

- Don't use argv[i] when i is uninitialised.
- Cast isdigit's argument to unsigned char.
- Remove the now unused variable i.

Approved by: das (mentor)


121554 26-Oct-2003 peter

Make this compile cleanly. Switch to using rpcgen to generate
code that can be compiled on an ansi-C compiler, so that it puts the
xdrproc_t casts in. This also implies a slight function name change.


116598 20-Jun-2003 jmg

fix problem with uninitalized ptr (from PR)

other minor clean up.

PR: bin/2785
Submitted by: mpp


99968 14-Jul-2002 charnier

The .Nm utility


81298 08-Aug-2001 sheldonh

can not -> cannot


80203 23-Jul-2001 kris

s/adress/address/

Inspired by: OpenBSD
MFC After: 1 week


80029 20-Jul-2001 obrien

Perform a major cleanup of the usr.sbin Makefiles.
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.


79755 15-Jul-2001 dd

Remove whitespace at EOL.


74816 26-Mar-2001 ru

- Backout botched attempt to introduce MANSECT feature.
- MAN[1-9] -> MAN.


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


71573 24-Jan-2001 ru

mdoc(7) police: Remove the debug line that prevents hyphenation
for the purposes of spelling checking that left in after my last
visit to this file.


70008 14-Dec-2000 ru

Mdoc(7)ify.


69870 11-Dec-2000 wilko

Add a workaround in the EXAMPLE section for booting diskless SPARC/SunOS
Xkernel machines. Might save people some hair pulling..

Submitted by: rene@tcja.nl


57673 01-Mar-2000 sheldonh

Remove single-space hard sentence breaks. These degrade the quality
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.


50479 28-Aug-1999 peter

$Id$ -> $FreeBSD$


48791 12-Jul-1999 nik

Add $Id$, to make it simpler for members of the translation teams to
track.

The Id line is normally at the bottom of the main comment block in the
man page, separated from the rest of the manpage by an empty comment,
like so;

.\" $Id$
.\"

If the immediately preceding comment is a @(#) format ID marker than the
the $Id$ will line up underneath it with no intervening blank lines.
Otherwise, an additional blank line is inserted.

Approved by: bde


36917 12-Jun-1998 peter

#include <arpa/inet.h> for inet_* definitions.


36794 09-Jun-1998 imp

o be careful about buffer overflows
o Use snprintf rather than sprintf

This is only lightly tested.


35891 09-May-1998 bde

Fixed `make -j9' by putting generated headers in ${SRCS}. Removed bogus
dependencies of generated .c files on generated headers (these made
`make -JN' work provided `depend' was made first). Sorted sources lists.


35466 26-Apr-1998 bde

Fixed `make -j9' by putting generated headers in ${SRCS}. Removed bogus
dependencies of generated .c files on generated headers (these made
`make -JN' work provided `depend' was made first). Sorted sources lists.


34809 23-Mar-1998 charnier

.Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq.


32160 01-Jan-1998 bde

Restored xref to diskless(8). diskless(8) existed but was not installed.

PR: 2153


30570 19-Oct-1997 joerg

Fix a number of buffer overflow conditions.

PR: bin/4610
Submitted by: David Holland (dholland@burgundy.eecs.harvard.edu)


29102 04-Sep-1997 charnier

Use err(3). Add usage and prototypes. Remove Xref: Diskless(8) does not
exist. Use An/Aq macros for Author.


26826 23-Jun-1997 steve

Show the real revision date and not the date that this
manpage is being viewed.


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$


22954 20-Feb-1997 mpp

#include <string.h> to help silence -Wall.


21880 20-Jan-1997 wosch

Sort cross references.


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.


20827 23-Dec-1996 mpp

Convert to mdoc format.


19953 25-Nov-1996 msmith

Correct the syntax of the example to reflect reality, and note that the
'host:' element is mandatory.
A better fix would involve reworking bootparamd not to require a ':'
in the response string.


15126 07-Apr-1996 mpp

Change references from rpc.bootparamd to bootparamd.


14890 28-Mar-1996 joerg

Add bootparams.5.

Obtained from: NetBSD


13123 30-Dec-1995 peter

This commit was generated by cvs2svn to compensate for changes in r13122,
which included commits to RCS files with non-trunk default branches.


9718 25-Jul-1995 wpaul

main.c:
- use daemon() to daemonify ourselves
- the 'Usage' printf() was missing an argument
- remove declaration of rindex and #include <string.h> instead

bootparam.c:
- get rid of local declarations of YP functions and include headers
from /usr/include/rpcsvc instead.


9394 04-Jul-1995 bde

Add a dependency on the .x source file and avoid copying it.

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.


8857 30-May-1995 rgrimes

Remove trailing whitespace.


7385 26-Mar-1995 wpaul

Stop callbootd from dumping core when attempting to directly query a
bootparam server on a host that isn't running bootparamd: if clnt_create()
comes back with a NULL pointer, bail out with an error.


6843 02-Mar-1995 wpaul

Took out .include "../../Makefile.inc" which shouldn't be needed now that I
put a proper Makefile.inc in the top level of the bootparam heirarchy.
(Someday I'll learn. *sigh*)


6841 02-Mar-1995 wpaul

Whoops. I knew I was forgetting something.


6805 01-Mar-1995 jkh

My patch this morning was not complete. I never tested make install - stupidly
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>


6798 01-Mar-1995 phk

The current bootparamd makefiles break if you do a make obj first. It does
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>


6752 26-Feb-1995 wpaul

This commit was generated by cvs2svn to compensate for changes in r6751,
which included commits to RCS files with non-trunk default branches.