Commit Graph

44 Commits

Author SHA1 Message Date
itojun 03b1bcc663 net/if.h is necessary for IFF_LOOPBACK.
accept lo[0-9] or lo$ if we check if_name.
2000-04-27 09:48:59 +00:00
itojun 08507c14c9 declare new function for getting my IPv4 address.
get_myaddress() is not usable any more for security reasons.
the change addresses PR8119.
2000-04-14 12:14:40 +00:00
kleink 03126e1c99 Use full month names with .Dd, as per mdoc.samples(7). 1999-09-12 18:47:10 +00:00
christos d3964689a5 add better debugging info 1999-08-23 01:09:42 +00:00
thorpej 653c3855f5 Use pidfile(3). 1999-06-06 02:38:00 +00:00
abs bf094b728a If -s and/or -d set, report invalid host entries in bootparams when parsed.
Currently an invalid entry will cause any subsequent entries to fail
if hostlookups take take several seconds (This can happen with DNS).
Now we can more easily detect this situation.
1999-04-26 02:35:17 +00:00
cgd b22750720f change:
.Sh "SEE ALSO"
to:
	.Sh SEE ALSO
The doc macros check for the latter (actually just for 'SEE' as the first
argument to .Sh) to set the section header SEE ALSO flag, which modifies
some behaviour (e.g. references done with .Rs/.Re).
1999-04-06 04:54:19 +00:00
nathanw 88e775014b Avoid using a long to store an IP address and simplify slightly.
Makes this work on the Alpha.
(What, nobody's netbooted a sun from an alpha before?)
1999-03-24 22:01:38 +00:00
garbled d1407362ba More and more .Os cleanups. .Os is defined in the tmac.doc-common file,
so we shouldn't override it with versions in the manpages.  Many more to
come.
1999-03-22 18:43:46 +00:00
lukem e8664c7183 revert; we can't break the existing ABI and API 1998-02-12 03:32:51 +00:00
lukem 80d1e4afc8 use %d instead of %ld to print rpc version 1998-02-10 06:46:10 +00:00
lukem 0a94f4f077 use CPPFLAGS instead of CFLAGS 1997-10-25 06:57:53 +00:00
lukem 7e8074195e use memcmp/memset/memmove instead of bcmp/bzero/bcopy 1997-10-18 11:27:49 +00:00
lukem 6d66b6be40 WARNSify; generate ansi c code with rpcgen, cleanup manpage 1997-10-17 15:59:05 +00:00
mrg ddc2dd4f02 be safe with buffers, from dholland@eecs.harvard.edu in pr#4138 1997-09-23 07:28:29 +00:00
mikel 312c78327b kill excess newlines in debug output; from Enami Tsugutomo in PR bin/4076 1997-09-08 02:21:52 +00:00
mikel e72c8b76e8 eliminate extra dashes before option arguments; from Enami Tsugutomo
in PR bin/4000.
also add xref to syslog(3) and fix some typos.
1997-08-19 04:20:40 +00:00
thorpej b54686772c Fix a bunch of compiler warnings. 1997-07-28 06:03:54 +00:00
cjs 7a66732d34 Back out BUILDDIR and NOINSTALL changes. 1997-05-31 21:21:13 +00:00
cjs 5fd7ce7066 These updates to the build allow building against include files
and libs in the object tree, if you use a separate object tree,
while maintaining backward compatability with other build methods.
See the notes in src/share/mk/bsd.README for full details. Note
that the `make includes' target now only installs the include files
in the build directory (if you use one--otherwise they go in DESTDIR
just like before); `make install' will install include files in
DESTDIR.
1997-05-26 03:55:19 +00:00
mrg a64b21ab51 expand a bit on the sematics required. 1997-04-23 00:28:03 +00:00
mycroft ee7207b7ef Eliminate local variable `progname'. 1996-12-08 13:53:25 +00:00
mycroft 0d53a465b5 Use daemon() corrently.
Use err*(3) and warn*(3).
1996-12-08 13:44:26 +00:00
cgd b7dcf10e80 If gethostbyaddr() fails, use inet_ntoa() to turn the IP address into
a dotted-quad string.  Make this compile with -Wunused and -Wnested-externs.
Kill unnecessary and trivial-to-remove global variables.
1996-10-14 19:28:09 +00:00
cgd 010a229c99 compare client names case-insensitively, since hostnames are case-insensitive. 1996-10-04 19:00:31 +00:00
thorpej 52110e02f0 RCS id police. 1996-08-30 20:03:54 +00:00
briggs 14cd82db79 Minor formatting update. 1996-06-18 17:45:24 +00:00
briggs 3a5ebfc1d7 paths are specified as server:/path and the server and path are both
returned.
1996-06-18 17:30:16 +00:00
mark d907c07635 Use an integer instead of a char to store the getopt() return value in
order to match the function prototype and to work with compilers that
default to unsigned chars.
Compare the getopt() return value with -1 instead of EOF.
1996-03-30 23:53:51 +00:00
pk d8f00aa36c Conform to rpcgen generated names and prototypes.
The server-side worker routines now have "_svc" appended to avoid
conflict with client-side prototypes.
1995-06-24 15:03:49 +00:00
jtc a005fb19e3 fix typo 1995-04-12 05:19:51 +00:00
jtc cc47146dee Install manpage as both bootparamd(8) and rpc.bootparamd(8).
Changed manpage so both bootparamd and rpc.bootparamd are mentioned in NAME
section.
1995-04-12 00:53:09 +00:00
cgd d8806814a6 specify man pages the new way. 1994-12-22 11:32:57 +00:00
glass f392a2616f bin/595 fixed. reported and fix provided by Chuck Silvers <chs@cs.cmu.edu> 1994-11-29 15:03:13 +00:00
deraadt d517107722 document that YP works 1994-10-24 08:01:56 +00:00
gwr ae9da3f71d Fix SEE ALSO and FILES. 1994-10-03 19:26:13 +00:00
gwr cd8e5bc1c9 Add a man page and a link for bootparamd(8). 1994-10-03 18:48:40 +00:00
cgd 467c1faae5 don't need -lutil 1994-01-28 01:05:30 +00:00
deraadt 031bfecc25 fix from roland 1994-01-23 21:55:56 +00:00
jtc ac5d013c5c rpc.bootparamd lives in /usr/sbin, not /usr/libexec. 1994-01-21 01:54:21 +00:00
deraadt 51fe63d28c whoops. typo. 1994-01-17 15:13:32 +00:00
deraadt b53b616201 remove two links before recreating them 1994-01-14 19:45:51 +00:00
deraadt 0d8ec8d0db improved parser by <roland@frob.com> to handle \-continuation and YP. 1994-01-10 14:04:44 +00:00
deraadt ae99bc57e3 rpc.bootparamd written by Klas Heggemann <klas@nada.kth.se>
(yes, it belongs in usr.sbin, not libexec)
1994-01-08 13:22:03 +00:00