jhawk
4ac5e36af2
Improve error messages; instead of "getfile failed", now:
...
getfile can't resolve client %s
getfile can't resolve server %s for %s
getfile lookup failed for %s
(the second condition had me chasing my tail for a while recently...)
2001-04-11 06:21:49 +00:00
wiz
aa3d785edc
Add section to a .Xr.
2001-04-03 11:28:44 +00:00
cgd
25bdbb661e
convert to use getprogname()
2001-02-19 23:22:40 +00:00
lukem
13220245b2
use explicit name rather than __progname in openlog
2001-01-11 01:43:25 +00:00
cgd
4bf5f7086b
${RPCGEN}, not hard-coded rpcgen
2000-07-25 06:29:44 +00:00
thorpej
29ea834f56
If we don't get direct match on the token, only attempt to canonicalize
...
the token if it does not contain globbing characters, and just skip onto
the next line if it does.
2000-07-20 06:21:51 +00:00
enami
e9aaacc880
If the line wasn't for the client we are looking for, skip it.
...
While I'm here, I indented the continuation line properly.
2000-07-04 08:18:44 +00:00
thorpej
c1b4b34401
Add support for globbing when matching the host name in the
...
bootparams(5) file, a'la Solaris. This is extremely useful
for configuring Jumpstart servers.
From Dan Mercer <dmercer@zembu.com>.
2000-06-28 01:30:56 +00:00
tron
a3b6375d9a
Add comment to prevent further bogus commits.
2000-06-14 11:15:58 +00:00
explorer
7dca1ce955
Ok, back out previous change. It seems wrong that 'rm -rf /usr/include/*' doesn't DTRT...
2000-06-14 06:54:20 +00:00
explorer
4d23eb7241
Use %lu since BOOTPARAMVERS is defined as ((u_long)1)
2000-06-14 06:27:25 +00:00
mycroft
45d698dd33
Make the rpcsvc dependencies work a bit better.
2000-06-12 01:57:25 +00:00
dan
03facbbdb8
back out previous. I tried hard to make sure that i had up to date
...
rpcgen and headers so that I didn't do something stupid, but somehow
I still did something stupid.
2000-06-08 12:00:46 +00:00
dan
4891c17d26
tidy up a warning - format specifier for a u_long parameter
2000-06-08 11:40:32 +00:00
cjs
d0814a7d34
Revert last change; one needs a new rpcgen and has to do a bit of other
...
magic described in current-users by fvdl.
2000-06-06 02:18:05 +00:00
cjs
a5b96ca6ad
BOOTPARAMVERS is apparently a long, so use %lu rather than %u to print it.
2000-06-06 01:40:19 +00:00
veego
dc3bf4930d
Back out the last commit. It seems that your includes are out of date.
2000-06-04 13:49:21 +00:00
perry
f47416ac02
BOOTPARAMVERS is an unsigned long now, it seems
2000-06-04 03:49:49 +00:00
fvdl
643a284d5b
Fix printf argument mismatch for version number.
2000-06-03 14:25:20 +00:00
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