Commit Graph

5187 Commits

Author SHA1 Message Date
wiz
b75432a4bf Use standard headers. 2002-02-02 02:05:29 +00:00
wiz
f5e1a54bb6 Sort sections. 2002-02-02 02:03:48 +00:00
wiz
253bbb63be Fix xref. 2002-02-02 02:03:13 +00:00
wiz
09141f935a Sort sections. 2002-02-02 02:02:44 +00:00
wiz
16f5077dde Drop a .Pp, add move comma to end of word instead of beginning of next line. 2002-02-02 02:00:19 +00:00
wiz
54e99130b1 Drop a .Pp, sort SEE ALSO. 2002-02-02 01:59:04 +00:00
wiz
2b666b304a Drop a .Pp, sort sections. 2002-02-02 01:57:35 +00:00
wiz
10780add08 Drop a superfluous .Pp. 2002-02-02 01:54:29 +00:00
wiz
b77937b920 Drop two superfluous .Pps, sort sections, drop trailing dot in SEE ALSO. 2002-02-02 01:52:32 +00:00
wiz
60ea852eba Use standard headers. 2002-02-02 01:51:20 +00:00
wiz
c51c412a70 Sort SEE ALSO, remove empty BUGS section. 2002-02-02 01:50:23 +00:00
wiz
f7b0046cee Sort SEE ALSO. 2002-02-02 01:49:59 +00:00
wiz
d71cd67ba6 Sort sections and SEE ALSO, correct markup for AUTHORS section. 2002-02-02 01:48:08 +00:00
wiz
ddac63620b Sort sections and SEE ALSO. 2002-02-02 01:47:36 +00:00
wiz
9a047ef78b Drop a .Pp. 2002-02-02 01:44:59 +00:00
wiz
2218541f7f Use standard headers. 2002-02-02 01:44:58 +00:00
wiz
ccd1965ef5 Sort sections, drop a .Pp. 2002-02-02 01:44:31 +00:00
wiz
1d9fe6b842 Use standard headers, mark up AUTHORS section. 2002-02-02 01:43:52 +00:00
wiz
146392e159 Sort sections. 2002-02-02 01:42:45 +00:00
wiz
fa58e5cf9d Sort sections, use standard headers, drop a .Pp. 2002-02-02 01:42:22 +00:00
wiz
0cedb12b9c Sort sections. 2002-02-02 01:41:22 +00:00
wiz
65d97d1e55 Improve markup, unquote header. 2002-02-02 01:40:52 +00:00
wiz
46f735035c Drop a comma. 2002-02-02 01:40:02 +00:00
wiz
419231002f Use standard headers. 2002-02-02 01:39:23 +00:00
wiz
04f4cfd571 Punctuation nits, sort sections and SEE ALSO, improve markup, use standard headers. 2002-02-02 01:38:54 +00:00
wiz
915c6c1865 Sort sections and SEE ALSO, use standard headers. 2002-02-02 01:37:13 +00:00
wiz
7ec6567148 Sort sections, use standard headers. 2002-02-02 01:35:30 +00:00
wiz
d30b208c5a Drop an unnecessary empty line. 2002-02-02 01:33:55 +00:00
wiz
df220a8153 Paragraph markup improvements, use Xr in one place. 2002-02-02 01:32:25 +00:00
wiz
ddb67af4bb Drop superfluous .Pp. 2002-02-02 01:31:50 +00:00
wiz
b85170c751 Improve markup, sort section, sort SEE ALSO. 2002-02-02 01:31:16 +00:00
wiz
923aa5f99b Drop an empty line. 2002-02-02 01:30:39 +00:00
wiz
e24be883e9 Sort sections. 2002-02-02 01:27:52 +00:00
wiz
3bd1b31f25 Use Xr for xrefs and use standard headers. 2002-02-02 01:27:22 +00:00
wiz
cfc1b4eee7 Sort sections, use standard headers. 2002-02-02 01:26:51 +00:00
wiz
7bdc66a6c8 Sort section, punctuation nit. 2002-02-02 01:26:18 +00:00
wiz
b083512733 Sort sections, mark up xrefs with .Xr. 2002-02-02 01:25:25 +00:00
wiz
1f9a8d013a Sort sections, use standard headers. 2002-02-02 01:23:39 +00:00
wiz
6aaa7bfd72 Sort section, punctuation nits. 2002-02-02 01:22:18 +00:00
wiz
ca3452180b Punctuation nits. 2002-02-02 01:21:44 +00:00
wiz
73d8bdb949 Drop a superfluous .Pp. 2002-02-02 01:21:00 +00:00
wiz
9e32083ba9 Sort sections, sort SEE ALSO. 2002-02-02 01:19:48 +00:00
tv
9fbd88883c Roll in fixes to permit cross-compiling from non-NetBSD hosts. This
round has been tested on Solaris/x86 and Linux hosts.

* Add host tools cap_mkdb, ctags, m4, uudecode.
* Protect __RCSID() and __COPYRIGHT() better.
* Reduce the number of places that need to include "config.h", to keep
  sources closer to their "vanilla" versions.
* Add more compat #defines and autoconf-checked functions.
2002-01-31 22:43:33 +00:00
tv
76834aef57 Protect __RCSID and __COPYRIGHT from being invoked if not defined. 2002-01-31 19:36:47 +00:00
tv
6f9b615f48 Make sure DESTDIR is defined before attempting to use it in a dependency. 2002-01-31 15:21:09 +00:00
tv
2b7bf32264 Make sure DESTDIR is set before using it in a dependency. 2002-01-31 15:16:21 +00:00
tv
a328e34106 Make almost all tools compile and run properly on non-NetBSD hosts. (In
particular, most tools now run correctly on Solaris 7.)
2002-01-29 10:20:28 +00:00
lukem
6dba6d95f7 add <util.h> back in for native builds. 2002-01-29 00:31:37 +00:00
lukem
4e4ee42772 don't bother initialising pwfile[] to _PATH_MASTERPASSWD and grfile[]
to _PATH_GROUP, because the simple_get{pw,gr}*() functions should not
be called by anything before those path arrays are setup by setup_getid().
2002-01-29 00:29:32 +00:00
tv
fcae5f73b7 Add hooks to make mtree compilable from src/tools. 2002-01-29 00:07:27 +00:00
ichiro
3ee53752e9 It is missing fflush() when scanning the network and no avaible AP. 2002-01-28 22:07:30 +00:00
simonb
f69ac131ba Drop the setgid'ness now that ../../usr.bin/vmstat/dkstats.c uses
sysctls now.
2002-01-28 02:16:56 +00:00
martin
977cd3d18e Fix leftover from ioctl generalization, causing crashes by checking
the first character of a NULL pointer to detect zero length strings.

Do not set PPP authentication multiple times while parsing the config
file, just do it once later.
2002-01-26 19:31:20 +00:00
lukem
72b9ef303f be a little bit more verbose 2002-01-26 13:27:53 +00:00
lukem
aa99e59f3d - crank default cpg from 16 to 65536, and let the auto-sizing code in
mkfs() do its job
- pass cpgflg=1 to mkfs() if the user provided cpg, =0 otherwise
- improve error reporting in ffs_write_file()
- only add superblock & block map slop for one cylinder group.
  trying to calculate the number of required cylinder groups caused
  too many problems when tweaking parameters for small file systems.
  rely upon slop from minfree, and upon ffs_write_file() to complain
  if the user is too aggressive about tweaking the parameters
2002-01-26 13:22:16 +00:00
martti
53a8f3ca45 Added few ipf examples 2002-01-26 09:30:53 +00:00
wennmach
fbd3eb4819 sync usage() message with realty 2002-01-25 20:30:41 +00:00
christos
d08bc504d8 If WI_RID_SCAN_APS is not defined, then don't support it. 2002-01-25 17:17:21 +00:00
martti
bdbbd6ee47 Fixed link between ipf.5 and ipf6.conf.5 2002-01-24 14:48:37 +00:00
martti
c2d00e7ce1 Added missing libraries, filenames and man pages 2002-01-24 08:24:38 +00:00
lukem
002b1b8ff4 -N dbdir allows reading user & group info from a different source 2002-01-24 03:21:34 +00:00
lukem
5781235dfe Add '-N dbdir', to specify that user & group lookups (via pwcache(3)) are to
be done from dbdir/master.passwd and dbdir/group, using simple text file
parsing routines from ../mtree/getid.c
2002-01-24 03:21:07 +00:00
lukem
9ca22e1409 Add '-N dbdir', to specify that user & group lookups (via pwcache(3)) are to
be done from dbdir/master.passwd and dbdir/group, using simple text file
parsing routines.
2002-01-24 03:20:11 +00:00
lukem
25cdf6cf5b add "-i input-device", to specify another device to monitor for activity 2002-01-24 01:34:13 +00:00
thorpej
ebc45776d2 vslprintf: Slight hack (?) to make "%r" work with the stdarg
implementation on x86-64.
2002-01-23 18:23:02 +00:00
lukem
3296e70335 revert part of previous; don't monitor framebuffers for input because
they get mtime updates on output.

XXX: need to find out how to monitor a wscons input device other than
ttyE0 that gets updated when keys are pressed on the console keyboard...
2002-01-23 17:30:17 +00:00
lukem
cd95ffb688 - check framebuffers for input, because /dev/ttyE0 (wscons framebuffer)
gets modified, not /dev/console or /dev/wskbd
- use /dev/wskbd instead of /dev/wskbd0
- use /dev/wsmouse instead of /dev/wsmouse0
2002-01-23 16:57:51 +00:00
lukem
5647b7df77 Merge create_fsinode() into create_fsnode(), so that a newly created
fsnode always has a valid inode member.   Problem noted by Artem Belevich.
2002-01-23 02:26:21 +00:00
lukem
e30101d9d6 more stuff 2002-01-23 02:14:19 +00:00
is
ef3617499c add config.h when compiled as host tool. 2002-01-22 13:03:57 +00:00
ichiro
66a56d4efe If the interface isn't up, up and scan.
then, down it when scanning is done.

point out from lha@stacken.kth.se, kern/15328
2002-01-22 02:09:11 +00:00
enami
d1998d430a Use .Fl instead of hardcoding -. 2002-01-22 01:35:39 +00:00
wiz
b36c0a5406 deamon -> daemon 2002-01-21 14:42:26 +00:00
ichiro
780b3934d4 display Beacon Interval of STA 2002-01-21 12:59:50 +00:00
ichiro
1635f76bf6 forces if_wi to initiate one round of access point scan.
This code was written by jrb@cs.pdx.edu, modified and bug-fixed by ichiro@netbsd.org
2002-01-21 11:35:06 +00:00
wiz
c43de8bde2 Include err.h for err(3) prototype. 2002-01-19 17:07:51 +00:00
wiz
a2d753e3ef Whitespace nits. 2002-01-19 11:44:57 +00:00
mjl
7ea8665c72 Catch open failure and exit with error instead of crashing. 2002-01-19 06:10:13 +00:00
wiz
483f92284e Whitespace nits. 2002-01-19 03:39:46 +00:00
wiz
59652c8572 Punctuation nits. 2002-01-19 03:38:36 +00:00
wiz
1b9e345181 Whitespace nits, sort SEE ALSO. 2002-01-19 03:37:38 +00:00
wiz
f79ee8e50f Sort sections, mark up AUTHORS section. 2002-01-19 03:36:44 +00:00
wiz
30a3135df2 Sort SEE ALSO and sections, use .An in AUTHORS section. 2002-01-19 03:36:20 +00:00
wiz
7e266c9a07 Improve markup. 2002-01-19 03:35:21 +00:00
wiz
4e823ac145 Whitespace nits. 2002-01-19 03:35:05 +00:00
wiz
8f48ce1461 Sort sections, sort SEE ALSO, whitespace nit. 2002-01-19 03:27:06 +00:00
wiz
aaba2b6d8a Whitespace nits. 2002-01-19 03:26:30 +00:00
wiz
3ecf4fd4b7 Whitespace nits, sort SEE ALSO and sections. 2002-01-19 03:26:04 +00:00
wiz
f01b2c896b Drop an unnecessary .Pp, sort sections, add postfix .Xr, and improve markup. 2002-01-19 03:25:12 +00:00
wiz
5d2bc3031d empty line -> .Pp; sort sections. 2002-01-19 03:24:14 +00:00
wiz
00dce9aae8 Sort sections, whitespace nit. 2002-01-19 03:23:47 +00:00
wiz
6051a9a396 Sort sections. 2002-01-19 03:23:11 +00:00
wiz
34828cce4a Convert .Xr to non-existing program to Ic. 2002-01-19 03:22:53 +00:00
wiz
d8081e42ef Sort SEE ALSO and sections. 2002-01-19 03:22:19 +00:00
wiz
51d0450786 Whitespace and punctuation nits, use standard headers. 2002-01-19 03:21:59 +00:00
wiz
81bf50c114 Whitespace nits. 2002-01-19 03:21:15 +00:00
wiz
01497fccea Whitespace nits, use standard headers. 2002-01-19 03:20:56 +00:00
wiz
3aebd5a62c Improve markup, sort sections. 2002-01-19 03:20:33 +00:00
wiz
6955458037 Whitespace nits. 2002-01-19 03:20:06 +00:00
wiz
6e1dd286e7 Drop unhelpful BUGS section and a trailing empty line. 2002-01-19 03:19:42 +00:00
wiz
5a14269d52 Sort sections. 2002-01-19 03:19:21 +00:00
wiz
f931748857 Drop unhelpful BUGS section. 2002-01-19 03:18:52 +00:00
wiz
ecff1ade60 Drop some unnecessary empty lines, improve markup in some places. 2002-01-19 03:18:35 +00:00
wiz
b86bccf480 Drop some unnecessary empty lines. 2002-01-19 03:17:42 +00:00
wiz
ea5e7da234 Drop a trailing empty line. 2002-01-19 03:17:08 +00:00
wiz
45c833365a Drop some unnecessary .Pp and an unnecessary section, and replace an empty
line with .Pp.
2002-01-19 03:16:41 +00:00
wiz
9afed566e5 Sort sections. 2002-01-19 03:15:44 +00:00
wiz
6b626e5f08 Use standard headers, sort sections, mark up AUTHORS section a bit more. 2002-01-19 03:15:05 +00:00
wiz
546138910d Drop some unnecessary .Pp, sort sections and SEE ALSO. 2002-01-19 03:14:33 +00:00
wiz
cf8a1479f6 Whitespace and punctuation nits, improve some markup. 2002-01-19 03:14:10 +00:00
wiz
c982600639 Drop .Pp before subsection, whitespace nit and sort sections. 2002-01-19 03:12:56 +00:00
wiz
8beb130316 Whitespace and punctuation nits, sort SEE ALSO. 2002-01-19 03:12:18 +00:00
wiz
76cb93f4d7 Drop a trailing empty line. 2002-01-19 03:11:44 +00:00
wiz
51d5c7d6bd Whitespace nit, sort sections. 2002-01-19 03:11:34 +00:00
wiz
5ba5a79d16 Sort SEE ALSO. 2002-01-19 03:10:41 +00:00
wiz
6b314d973d Whitespace nits. 2002-01-19 03:10:26 +00:00
wiz
98832f4861 Whitespace nit, sort sections. 2002-01-19 03:10:06 +00:00
wiz
5db87f557b Whitespace nits. 2002-01-19 03:09:21 +00:00
wiz
578af6b124 Fix xref. 2002-01-19 03:09:06 +00:00
wiz
3abdd84a78 Whitespace nits, and standardize an xref. 2002-01-19 03:08:50 +00:00
wiz
b0729ea665 Whitespace and punctuation nits. 2002-01-19 03:08:12 +00:00
wiz
7986ed946b Whitespace nits. 2002-01-19 03:07:54 +00:00
wiz
1a73e0f493 Whitespace and punctuation nits. 2002-01-19 03:07:33 +00:00
wiz
320ebd413b Whitespace nits. 2002-01-19 03:06:54 +00:00
wiz
99fc854a8f Whitespace nit, sort sections. 2002-01-19 03:06:26 +00:00
wiz
302fd23037 Whitespace nits. 2002-01-19 03:05:58 +00:00
wiz
776f7c2e1e Sort SEE ALSO, fix an xref. 2002-01-19 03:05:35 +00:00
wiz
611cc11bd4 Sort SEE ALSO. 2002-01-19 03:05:00 +00:00
wiz
04a507da91 Whitespace nits. 2002-01-19 03:04:34 +00:00
wiz
a2b8af2136 Sort SEE ALSO. 2002-01-19 03:04:20 +00:00
wiz
bc145df2ee Use .Nx, replace empty line with .Pp. 2002-01-19 02:01:35 +00:00
lukem
f3c2d5334e logpath_add(): store pointer to strdup(3)ed copy of path provided.
fixes -P /some/file.
2002-01-18 10:27:50 +00:00
lukem
f482103022 use -1 instead of 0 as the value to indicate if a numeric parameter
hasn't been set and thus needs a default override.
allows minfree and rotdelay to take a value of 0.
2002-01-18 08:39:23 +00:00
lukem
be917c6b28 apply changes from revs 1.56-1.59 of newfs/mkfs.c:
* revision 1.56
	the change of calculation of inodes per group in rev 1.52 was far too
	aggressive; rework to be a bit less susceptable to round-off error.
	now it's likely that the density might not be obtained with a small
	filesystem with a large number of inodes (e.g -s 4M -i 1k), but that's
	an extremely unlikely corner case that can easily be rectified with
	command-line arguments.
	fixed provided in private email by Takao Shinohara <shin@sm.sony.co.jp>
	should resolve PRs [bin/14049] and [bin/14046]
    [ this fixes a problem in makefs(8) that matt green reported ]

* revision 1.58
	clamp bsize to MAXBSIZE

* revision 1.59
	don't bother printing a warning about the cylinder group size being
	restricted if -c isn't given; it just confuses a user of newfs (and
	the cpg info is printed as part of the display anyway), and prints an
	unnecessary warning for mount_mfs.

XXX: I must rework newfs/mkfs.c to make it easier to just .PATH into makefs(8)
2002-01-18 08:32:34 +00:00
lukem
d860e86b14 don't need ffs/buf.h here 2002-01-18 08:20:32 +00:00
wiz
d2eb889fd9 Whitespace nits; use standard headers. 2002-01-16 12:01:12 +00:00
onoe
34bf2039e8 Fixed the range of max data length (dot11FragmentationThreshold)
for -d option: 350..2304 -> 256..2346 (default is 2304)
Fixed the range of RTS/CTS threshold (dot11RTSThreshold)
for -r option: 0..2047 -> 0..2347 (default is 2347)
2002-01-16 06:54:17 +00:00
wiz
a0bbd28ed1 Drop trailing dot in .Nd, sort SEE ALSO, use standard headers, format AUTHORS
section.
2002-01-15 14:19:27 +00:00
lukem
92a4d3d477 pwd_mkdb doesn't need a private version of getpwent.o any more. 2002-01-15 11:41:43 +00:00
wiz
633ece12e5 Update re getopt()ing of sunlabel. 2002-01-15 01:58:45 +00:00
wiz
0690e2497a Add sunlabel(8). 2002-01-15 00:57:27 +00:00
manu
e1ef443282 Enable clockctl 2002-01-13 15:49:11 +00:00
yamt
59998d6154 check if timeout already expired before select.
from OpenBSD/FreeBSD.
2002-01-12 02:42:58 +00:00
itojun
dad921a24e daemon(3) has to be called prior to file descriptor initialization. 2002-01-11 05:33:22 +00:00
itojun
5f38ec918c daemon(3) has to be called prior to file descriptor setups. 2002-01-11 04:35:52 +00:00
itojun
4a1ad619af daemon(3) has to be called before opening file descriptors.
noticed by markus@openbsd, sync with kame
2002-01-11 04:20:55 +00:00
christos
03dae382df - KNF... Add NetBSD copyright, pass lint, getopt, modernize, blah. 2002-01-10 21:43:10 +00:00
martin
7b6f872d11 Add, #ifdef SPPP_IF_SUPPORT, special case treatment for sys/net/if_spppsubr.c
based interfaces. Note: all other interface types work the same as before,
and no names are hardcoded.

When a if_spppsubr.c based interface is marked IFF_UP, but has not yet
reached phase NETWORK (i.e. it didn't connect yet or authentication has not
yet completed) do not call the ip-up script for it on the initial pass
over all IFF_UP interfaces.

This fixes a race condition on startup when ip-up/ip-down are statefull
and need to be called pairwise (for example if ip-up adds and ip-down
removes a default route).
2002-01-10 20:21:50 +00:00
martin
0f93714245 Pass the remote address (or broadcast addres) to the up/down scripts as
well. This is very usefull for setting up the right routes ;-)

Thanks to Bjoern Labitzke for pointing out this missing feature.
2002-01-10 19:38:51 +00:00
mrg
4ef0e6e1a3 - add a -h option
- kill warnings
- use getmaxpartitions()

XXX: consider renaming options to more standard names and use getopt(3).
2002-01-10 16:26:01 +00:00
mrg
3b989ef166 makefile for sunlabel. 2002-01-10 16:24:41 +00:00
mrg
2c57f36327 der Mouse's sunlabel.doc 2002-01-10 16:15:37 +00:00
agc
cfa115fedf Explain a bit more fully the collating sequence which pkg_info(1) uses when
comparing package versions strings.
2002-01-10 10:46:28 +00:00
lukem
bf7e120361 setprogname(argv[0]) 2002-01-10 05:31:07 +00:00
agc
b85b4de6a6 Bump version number to reflect the pkg_info version number recognition
changes.
2002-01-09 18:50:17 +00:00
agc
2afa28bf02 Pull in a much simplified version of the vtest functionality. This new
functionality adds recognition of '_' and "pl" as pseudonyms for '.',
so that 1.2p2 == 1.2.2, and adds recognition of "pl" and "rc" strings,
which stand for "patchlevel" and "release candidate" respectively.

In addition, this version should handle alphabetic characters properly
(so that 1.2e == 1.2.5)

Normal NetBSD revision number processing has been retained (and is always
compared after all other tests have been performed).

64-bit integers are used internally for each component of the version
number.
2002-01-09 16:17:08 +00:00
mrg
6659b0b88f der Mouse's sunlabel 2002-01-09 12:59:29 +00:00
lukem
3d76579746 need ufs/ufs/dinode.h for ufs/ffs/fs.h 2002-01-08 06:00:14 +00:00
lukem
ee3c027c25 need ufs/ufs/dinode.h for ufs/ffs/fs.h 2002-01-08 05:32:45 +00:00
lukem
944794a509 add "ffs/ufs_inode.h" with a minimal struct inode, to replace
<ufs/ufs/inode.h>, since the latter has a lot of cruft we don't need
and it #include's way more stuff in <sys/*> (etc) than is needed here.
yet another nail in the "let's make makefs a proper host tool" coffin.
2002-01-07 16:56:26 +00:00
lukem
557afc6071 - pull in <ufs/ufs/dinode.h> before <ufs/ffs/fs.h>
- #include <ufs/[uf]fs/*.h> instead of "ufs/[uf]fs/*.h", and don't bother
  with -I../../sys; we'll solve the hostprog problem another way and
  unconditionally pulling in NetBSD-current's usr/src/sys on a host system
  could be a Bad Thing.
2002-01-07 16:27:22 +00:00
lukem
d74b2fc0ea fix bugs reported by matt green:
- when calculating file size, round up to frag size not block size
- #define FFS_EI in makefs.h, and include that before [uf]fs/*.h

other stuff:
- round up final size to next block (instead of next sector)
- protect makefs.h from multiple inclusion
2002-01-07 05:07:50 +00:00
mrg
b78ea217a6 build this as a host prog. 2002-01-05 07:37:45 +00:00
mrg
2218533d73 build this as a host tool. 2002-01-05 07:00:56 +00:00
martin
4ec800ca5a Adapt to new if_sppp.h ioctls.
Remove limits on names and password length.
2002-01-04 12:24:33 +00:00
ad
6face02d69 Also dump the LCT header, not just the entries. 2002-01-04 10:17:20 +00:00
thorpej
b1b955b60f Simply rid ourselves of the evil cpp tricks being done here. The
fact that one version couldn't be made to work on two different versions
of the cpp says something about how portable the code was.
2002-01-01 06:31:49 +00:00
thorpej
6b3e0a100a Remove -I${DESTDIR}/usr/include and -I${DESTDIR}/usr/include/openssl
from CPPFLAGS.
2001-12-31 20:04:47 +00:00
thorpej
bf0e32f7fc Remove unneeded/unused TREE_ISEMPTY() (which also happens to clash
with the TREE_ISEMPTY() in menutree.h, which gcc 3.1 correctly warns
about).
2001-12-31 20:00:40 +00:00
thorpej
c31bd4704c Fix gcc 3.1 printf format warnings generated by extra arguments being
passed to varargs CPP macros.
2001-12-31 19:52:45 +00:00
thorpej
dbaa175ee7 Add comment delimiters around the token after an #endif 2001-12-31 19:46:57 +00:00
thorpej
1b1d20a895 Need <strings.h> for ffs() prototype (noticed by gcc 3.1). 2001-12-31 19:45:03 +00:00
thorpej
aa38e62655 Need <stdlib.h> for abort() prototype (noticed by gcc 3.1). 2001-12-31 19:44:27 +00:00
thorpej
82f66ec4a0 Add -I${.CUDRIR} to CPPFLAGS. 2001-12-31 19:41:37 +00:00
thorpej
429c29847e Statements must follow labels. 2001-12-31 19:33:58 +00:00
thorpej
d5b972580e Need <string.h> for strcmp() prototype (noticed by gcc 3.1). 2001-12-31 19:31:23 +00:00
hubertf
75b2df2eee don't hardcode "tar"'s program name, use TAR_FULLPATHNAME instead 2001-12-30 04:46:21 +00:00
wiz
654780212e client, not clinet. 2001-12-27 13:22:01 +00:00
abs
dd94d9b295 Convert some 'long's to 'uint32_t's. Now rdate works against an LP64 box. 2001-12-26 17:01:39 +00:00
wiz
3cb5c6721b Typo and grammar fix. 2001-12-26 15:13:57 +00:00
mason
8f3eeb9b40 fix typo - meant to get this in last commit, forgot 2001-12-26 15:10:57 +00:00
mason
0e1a977737 fix typo - s/unltimate/ultimate/ 2001-12-26 15:08:46 +00:00
lukem
28073e3899 - use snprintf() instead of sprintf() when printing strerror.
(from openbsd via freebsd)
- use strtoll instead of strtoq()
2001-12-24 00:54:28 +00:00
thorpej
e6d41917cc Newlines in string literals are not supported by ANSI C, and some
preprocessors complain bitterly when they are encountered.

For now, terminate all lines with \n (and make each line its own
string literal).  The author of this code can figure out how to
do the sed trick another way.
2001-12-23 22:41:27 +00:00
atatat
65ace4b729 Properly use $TMPDIR or /tmp for the temporary config file stuff,
instead of ".".  Read-only source trees are "good".
2001-12-21 19:09:43 +00:00
ad
9523ee5f87 First appeared in 1.5.3. 2001-12-18 13:28:42 +00:00
wiz
c7acbbe729 Nuke syssrc/usr.sbin/dbsym, since it has been replaced by
gnusrc/gnu/usr.sbin/dbsym.
Ok'd by thorpej.
2001-12-17 22:33:11 +00:00
wiz
30bd97e016 Don't descend into dbsym anymore.
Only sun3[x] was building it anyway, and now it's converted to
USE_NEW_TOOLCHAIN, where all ports (will) have it. The other reason to
descend is the man page, but what use is a man page if the program
doesn't get installed? [gnu/usr.sbin/dbsym has its own copy of the
man page.]
Ok'd by thorpej.
2001-12-17 21:22:51 +00:00
atatat
eb0a09d704 Teach config how to store the config in a .h file such that it can be
embedded in the resulting kernel binary.
2001-12-17 15:39:43 +00:00
jhawk
521fae39bb .Nm punct => .Nm "" punct
minor markup fixes.
2001-12-15 21:21:00 +00:00
thorpej
e54cc793b1 Only build dbsym if not USE_NEW_TOOLCHAIN. 2001-12-15 03:23:11 +00:00
thorpej
ddeb0819ad <dev/irdaio.h> -> <dev/ir/irdaio.h> 2001-12-14 20:10:19 +00:00
wiz
2f3bcd9810 Comment out now-empty .Rs/.Re. 2001-12-14 12:32:50 +00:00
lukem
0ab8000335 as this installs in /sbin, set LDSTATIC?=-static. fixes PR [bin/14886] 2001-12-14 00:52:34 +00:00
gmcgarry
367be6a153 Sprinkle around the term "machine description file", since this is
the term used in config(9), autoconf(9) and in Torek's paper.

Also remove (comment out) reference to the 4.4BSD config docs,
since they are not installed in usr/share/doc/smm/02.config and
possibly aren't relevant any longer.  From comments made on
tech-kern by jhawk and tls.
2001-12-13 19:47:19 +00:00
fredette
e4e309c64c Define both NLIST_ELF32 and NLIST_AOUT on m68000. 2001-12-12 22:19:18 +00:00
fredette
bba72d2b40 Add optional "-f disktab" argument, that will look up a disk
typename in the given disktab(5) file, instead of in /etc/disktab.
2001-12-12 16:55:10 +00:00
lukem
b0b0a32ad7 Set NOxxx= before <bsd.own.mk> is pulled in (even indirectly).
Otherwise the appropriate MKxxx=no won't be defined .
2001-12-12 12:24:19 +00:00
tv
8e6f7afb5b MKfoo=no -> NOfoo 2001-12-12 01:48:43 +00:00
martin
b7af7aeccd Move /usr/sbin/pppoectl to /sbin/pppoectl, so we can call it from
ifconfig.pppoe* files.

Rename the source directory and files to match the primary purpose
of this utility - probably noone is using this for ISDN now anymore,
as isdnd has simpler ways to acomplish the same.
2001-12-10 17:22:09 +00:00
wiz
61cbc31fe7 Sort options, fix a typo, and some minor clean-up. 2001-12-10 15:04:51 +00:00
martin
136813d385 Call up-scripts for interface already up on startup to account for the
late start of this daemon on system boot.
Add and document an option to prevent this.
2001-12-10 14:54:09 +00:00
jmc
c1c3d851ce Don't set $ROFF as the default from bsd.doc.mk is the same thing. This way
bsd.own.mk can override for cross builds correctly
2001-12-09 23:40:24 +00:00
atatat
6dce2e2bec Make the kernel depend on vers.o' instead of newvers'. This
eliminates the need to unconditionally rebuild vers.o and subsequently
to relink the kernel every time you type make, even if you just
finished one.
2001-12-09 16:04:03 +00:00
soren
7bee75fe59 Fix pasto. 2001-12-09 07:52:20 +00:00
ross
0e9118e359 put mdsetimage back in for old toolchain platforms 2001-12-09 00:49:09 +00:00
jmc
0ce9aa8e6c Add pwd_mkdb as a toolchain bit for builds 2001-12-07 02:28:53 +00:00
wiz
6a71504b07 Add a ',' between two Xrefs. 2001-12-06 10:57:20 +00:00
atatat
42e4429bad Since defopt has been totally eradicated from the tree and is
considered "bad form", let's tell people they shouldn't use it.
2001-12-05 23:42:37 +00:00
jhawk
22fc75e3b6 Xr config.9 2001-12-05 20:58:04 +00:00
augustss
f11415a9a0 Add EXAMPLES section. 2001-12-05 20:12:37 +00:00
augustss
f0e6efec63 Remove extra / in path name. 2001-12-05 16:11:37 +00:00
wiz
700a908aad Sort options. Use .Pp instead of empty line. Improve English in DIAGNOSTICS. 2001-12-05 11:18:08 +00:00
lukem
ebbf3dddb5 rework fsnode' into two components; fsnode' contains the name and tree
information and a link to the appropriate fsinode, and `fsinode' contains
the inode information and a reference count. multiple fsnodes may point
to the same fsinode.  this replaces the 'dup' pointer in the previous code.
2001-12-05 11:08:53 +00:00
augustss
6c60cf7faa Another xref. 2001-12-05 02:11:23 +00:00
augustss
4d606df9c2 Add a program to attach the IrDA frame level driver to a serial line.
Pretty much like slattach(8).
2001-12-05 02:09:40 +00:00
christos
e363b58375 Make sure that the we have a valid pathname. [We did the check too late,
and we had a buffer overflow].  Bug found by Sebastian Krahmer of SuSE,
fix inspired by patch 008 for OpenBSD-3.0.
2001-12-04 22:52:44 +00:00
wiz
b4371d47f5 Replace some misuses of "then" with "than". 2001-12-04 17:56:30 +00:00
atatat
73aae2a161 Stuff the target names (the kernel names) into a make variable so that
ports that build "alternate" versions of the same target can clean up
properly.
2001-12-04 17:53:40 +00:00
christos
af0366bdde use struct uucred. 2001-11-29 21:23:38 +00:00
lukem
0e59a7f124 revert previous revert previous. now back to rev 1.27 behaviour:
- Don't bother emitting "#define NFOO 0" for defflag foo (whether or
  not "options FOO" was given); it's really useful as is.

  Until I recently started converting stuff from defopt to defflag,
  nothing used defflag, and because defopt doesn't provide NFOO for FOO,
  the NFOO behaviour shouldn't be missed. The NFOO stuff also added
  a lot of #define namespace pollution that we'd rather avoid.

- Remove a couple of unused vars
2001-11-28 09:02:16 +00:00
lukem
7b844b40dc ensure that enabled defflag options get a default value of "1" too 2001-11-28 05:03:31 +00:00
lukem
49379a0a84 revert previous (instead i'll work out why defflag isn't DTRT with Nxxx) 2001-11-28 03:23:35 +00:00
lukem
cbe4dece17 - Don't bother emitting "#define NFOO 0" for defflag foo (whether or
not foo was provided); it's unnecessary #define namespace pollution
- Remove a couple of unused vars
2001-11-28 02:47:42 +00:00
atatat
3b7ac0bb5f Stuff the "swapxxx.o" object name into a make variable that can be
used in build rules.
2001-11-27 14:04:05 +00:00
wiz
e5c2f4953e Drop an unnecessary .Pp, fix a typo, use standard headers, sort sections,
mark up author name.
2001-11-25 23:30:46 +00:00
lukem
ae62d656a9 - Use strsuftoull() from dd(1) to parse numbers, rather than home grown
version. The new version supports products, 'g' (GB) and 't' (TB)
  suffices, and `b' now means `blocks' instead of `bytes'.
  Functionality requested by perry.
- debug is now a u_int instead of an int.
- Ensure that various numbers have sane upper limits (e.g, 99 for %, etc)
2001-11-25 11:22:09 +00:00
christos
607b156b2d Use SA_NOCLDWAIT to avoid zombies. 2001-11-23 17:10:29 +00:00
tron
59d12b63b8 Add a handler for SIGCHLD which collects dead childs via wait3(2) so that
"rpc.statd" won't leave zombies arround.
2001-11-22 12:23:15 +00:00
gmcgarry
8c620e9ea0 Refer to ``moused'' consistently. 2001-11-22 04:10:07 +00:00
lukem
b7eb0e9a18 reference the ufs/[uf]fs headers in ../../sys rather than using those
in /usr/include. this should make it easier to make this a host tool
2001-11-22 02:47:25 +00:00
enami
bbd072ffbb s/^\.Are/.Ar/ 2001-11-21 22:29:20 +00:00
gmcgarry
ec3da3741b Fix RCSID. 2001-11-21 21:05:41 +00:00
wiz
1fd7eeefcd "than" instead of "then". 2001-11-21 19:14:19 +00:00
wiz
55e6492076 Explicitly write explicitly without a second e. 2001-11-21 17:33:26 +00:00
itojun
f8e9dbe7d3 assume the presense of getifaddrs(3). sync with kame 2001-11-21 06:53:13 +00:00
itojun
d1fee0dd15 deal with wait3() returning -1. be careful on malloc failures. sync with kame 2001-11-21 06:52:35 +00:00
martin
b44ac684a5 Add $NetBSD$, remove unneeded includes. 2001-11-19 10:20:34 +00:00
wiz
ea7f2f8913 Add RCS Id. Add Xr in some places. Whitespace fixes, drop a .Pp.
Sort sections. Fix some typos. Sort option descriptions. Mark up paths with
.Pa. Use standard headers.
2001-11-19 10:10:45 +00:00
martin
17b08840ab Enable ifwatchd. 2001-11-19 09:45:46 +00:00
martin
c8b09ee080 New utility: ifwatchd.
Monitors the routing socket for address changes of autonomous (kernel only)
interfaces (like PPPoE) and runs up/down scripts similar to what pppd
does for its interfaces.
2001-11-19 09:43:03 +00:00
perry
fcd452088f Remove a spurious slash and clean up formatting. 2001-11-19 04:11:18 +00:00
itojun
3e54083fa3 __ss_{len,family} hack is no longer necessary 2001-11-19 03:19:10 +00:00
itojun
f559c09989 __ss_{len,family} #define hack is no longer necessary 2001-11-19 03:18:28 +00:00
augustss
2e3aacf23d Adapt to small ioctl(USB_DEVICEINFO) change. 2001-11-17 01:52:56 +00:00
itojun
b0de371030 rcsid cleanup 2001-11-16 07:10:09 +00:00
itojun
c12361e68c sync with latest kame. terminate only if ripng response is not received
for 5 seconds (or length specified by -w).
2001-11-16 07:09:36 +00:00
itojun
074a5eb23b remove LBL_ALIGN. the code leaks memory severely, and makes packet dump
incorrect.
2001-11-15 07:39:25 +00:00
enami
6737e7d6b2 Test absense of command differently to avoid null pointer deference
when only whitespaces are given.
2001-11-14 03:01:15 +00:00
itojun
d67d6cd1bb initialize sockaddr_in6 correctly. sync with kame 2001-11-14 01:56:29 +00:00