Commit Graph

9584 Commits

Author SHA1 Message Date
hubertf
2058a998c8 Fix -p:
* rm_eo is the first character *after* the match, so no need for a +1
 * Blowfish hashes are only 53 chars long, not 54
2009-10-15 23:03:02 +00:00
plunky
8ac5e94172 reinstate a sentence partly removed in v1.43 regarding the default
facility/priority for local kernel messages
2009-10-15 20:35:07 +00:00
joerg
1444b07e5e Explicitly request literal mode after .Xr. 2009-10-15 02:15:19 +00:00
joerg
45354b5b39 Expand [= prog-name =] in man pages. 2009-10-15 01:28:10 +00:00
joerg
cb83818524 Fix markup. 2009-10-15 00:59:01 +00:00
joerg
dd5fba70d0 Fix markup. 2009-10-14 22:59:11 +00:00
pooka
bf3992af18 Adjust names of external rump control interfaces to match the
new rump_pub namespace.
2009-10-14 18:22:50 +00:00
christos
da2c7e7359 - use const where appropriate
- don't cast return value from malloc
2009-10-13 12:11:19 +00:00
apb
138c8d4f23 /usr/X11R7/lib/X11/xkb/symbols/pc used to be a directory, but changed
to a file on 2009-06-12.  Fixing this requires removing the directory
(which we can do) and re-extracting the xbase set (which we can't do),
or at least adding that one file (which we may be able to do if X11SRCDIR
is available).

Reviewed by mrg, snj
2009-10-13 07:47:00 +00:00
yamt
76034769e6 deal with the output of new objdump. 2009-10-13 00:49:38 +00:00
pooka
a5cf1bb4b7 make this compatible with bool.h. no functional change intended. 2009-10-11 16:30:19 +00:00
wiz
0bfda1e22c Sort sections, fix SEE ALSO. End sentence with dot. 2009-10-11 09:25:19 +00:00
sborrill
f549e36e60 Add hdaudioctl(8), a tool to manipulate hdaudio(4) devices.
It offer the following subcommands:
	list - shows all child codec
	get - get a plist of the chosen codec's widget configuration
	set - forcibly reconfigure a specified codec from a plist
	graph - generate a graphviz file for the specified codec
2009-10-11 08:57:54 +00:00
pooka
68c5575108 Start cleaner without the sleep(1) hack now that it's possible. 2009-10-09 16:38:21 +00:00
plunky
7583393055 handle device page timeout value as LE 2009-10-09 12:58:28 +00:00
plunky
d8166becbf use the bt_dev(3) api instead of rolling our own inquiry and
request functions
2009-10-08 19:50:03 +00:00
plunky
7efcafc964 fiddle with printing of "Class of Device" values
- pass the class of device octet stream to the function
  - only print where the format is known (we only know format #0)
  - use language from the Baseband Assigned numbers document
  - use bit numbers from the Baseband Assigned numbers document
  - add Health device major class

(only these changes this time :)
2009-10-08 19:31:41 +00:00
plunky
3729e633c8 revert previous commit
(bah, I committed the wrong version and there are some other
changes that may not work with current sources)
2009-10-08 19:29:42 +00:00
plunky
ba4cd6cd5e fiddle with printing of "Class of Device" information
- pass the octet stream pointer to the function
  - only print where the format is known (we only know format #0)
  - use language from the Baseband Assigned numbers document
  - use bit numbers from the Baseband Assigned numbers document
  - add Health device major class
2009-10-08 19:25:24 +00:00
cegger
82c98410be fix acpidump segfault 2009-10-08 13:16:13 +00:00
pooka
d07d1f307a Support disklabels. 2009-10-07 20:59:09 +00:00
pooka
018821014f No need to ukfs_modload() ext2fs anymore. 2009-10-07 20:11:05 +00:00
plunky
89a4552c35 use the bt_dev(3) API for increased portability 2009-10-05 12:34:26 +00:00
joerg
4ab84a7335 Fix markup. Handle the DECnet documentation like a journal. 2009-10-04 20:53:23 +00:00
jmcneill
204f5f079e - add newer VIA C7 core and VIA Nano.
- when printing an unknown VIA CPU, default to 'Unknown IDT/VIA' instead of 'C3'
2009-10-02 13:54:01 +00:00
tsarna
a8bcd3b5c3 Multicast DNS ("Bonjour") support, based on Apple's mDNSResponder. 2009-09-29 23:56:26 +00:00
mbalmer
98c9076713 Rename 'pulse' to 'pulsate' to make clear it is a continuous strain of
pulses and and not a single shot pulse that is emitted by devices
supporting this kind of operation.
2009-09-25 20:27:50 +00:00
mbalmer
e5d5fe6e06 Jonatha Kollasch has a GPIO device that can pulse the output lines.
Support it wuth the GPIO_PIN_PULSE attribute and the 'pulse' paramater
to gpioctl.  Discussed with Jonathan.
2009-09-25 19:37:03 +00:00
apb
8f2b54e18a Fix errors in previous: "optional" and "ignore" keywords also need the
appendfield treatment.
2009-09-22 04:38:21 +00:00
njoly
5fde6173c5 Make do_mtree correctly report failure if either special or
NetBSD.dist checks failed, not only the last one.
2009-09-21 18:03:03 +00:00
apb
4f2b672958 Do not print a trailing space on each line with "mtree -C". 2009-09-19 21:41:43 +00:00
apb
4133fb0075 Fix the "mtree -M" problem reported in PR 42031 by Geoff Wing.
The cause of the problem was that part of the code assumed that
nodecmp() on two nodes with the same name would return 0, but in
fact nodecmp() would return -1 or +1 if one of the nodes was a
directory and the other was not.  The fix is to separate the notion
of whether or not a duplicate name was found from the notion of
where the new node should appear in the list.
2009-09-19 20:42:06 +00:00
plunky
6fe312c1a9 offer some actual information about what PaX might be, and provide
tips for further reading.
2009-09-17 08:07:17 +00:00
mlelstv
d2979fb02a Distinguish between UFS1 and UFS2 inodes by reading the ufsmount structure,
the previous heuristic of comparing the size fields of inode and dinode
failed.
2009-09-16 07:27:41 +00:00
skrll
52749c1bca Rely on the new and "just as awful as the old" hack in the battle of rump
vs link sets.
2009-09-14 17:24:20 +00:00
degroote
2d48ac808c Import pfsync support from OpenBSD 4.2
Pfsync interface exposes change in the pf(4) over a pseudo-interface, and can
be used to synchronise different pf.

This work was part of my 2009 GSoC

No objection on tech-net@
2009-09-14 10:36:48 +00:00
plunky
9501383a83 print features from 3.0 + HS spec, including extended features 2009-09-11 19:22:15 +00:00
skrll
b7d7171c7c Allow this to build while link sets and rump are broken. 2009-09-11 06:48:50 +00:00
mrg
cfb8df7f4f install the fontconfig files into /etc/fonts/conf.avail, and symlink
the default ones into /etc/fonts/conf.d, as per default.

reported by jukka marin on netbsd-users.
2009-09-07 21:07:02 +00:00
mrg
2bd0cf0757 - do not create X11 subdirs always anymore
- we now only create them when building X11, and only create the ones
  we need (X11R6 xor X11R7)

- all these subdirs are now in the xbase set

- move the logic for running mtree into etc/mtree/Makefile

- split NetBSD.dist into 3 files, and have the build and postinstall handle
  creating a possibly merged one.  we still have a single installed file
  called "NetBSD.dist".
2009-09-07 19:34:29 +00:00
pooka
f59c73ba56 Build & install rump_smbfs 2009-09-06 21:03:27 +00:00
pooka
b0d965c6f5 Add rump_smbfs. It's innards are different from most file systems
in two respects:
    * in addition to vfs (and networking), it depends on kernel
      device code to provide /dev/nsmb
    * mounting involves having lengthy chats with the kernel smb
      device instead of the typical "parse args and mount(2) away".

Seems to be pretty stable, at least data seems to flow over it
faster than over in-kernel nfs.
2009-09-06 20:26:47 +00:00
plunky
0b2b507e45 bump date for previous 2009-09-01 18:20:14 +00:00
plunky
e4d755d754 add xrefs for bluetooth drivers bcsp(4), btbc(4) and sbt(4) 2009-09-01 18:19:08 +00:00
plunky
ff3abe1407 update/correct printing of HCI version numbers according to the
recently published Assigned Numbers documents at www.bluetooth.com
2009-09-01 18:04:33 +00:00
plunky
9abf5ef727 actually exit on errors 2009-08-30 19:24:40 +00:00
hubertf
545302a120 improve wording a bit 2009-08-28 21:19:13 +00:00
christos
12102b7fae port to non NetBSD systems. 2009-08-27 19:40:06 +00:00
enami
fad8f6cbde - The value getdbent() returns when no record is found is not -1 but 1.
Testing if it returns -1 is always false.
- Use the same expression for the size to write and for the size to
  advance a pointer.
2009-08-25 09:27:25 +00:00
wiz
8b0f1ea834 Bump date for previous. 2009-08-24 22:05:26 +00:00
plunky
26f09dd36e add "imode" parameter to allow setting the Inquiry Mode. This supercedes
the "rssi" parameter (which remains for compatibility)

imode takes an argument: "std", "rssi" or "ext"
2009-08-24 20:43:35 +00:00
joerg
f2670f529d Kill -offset without argument. 2009-08-24 09:45:30 +00:00
skrll
7842ef85bb No-one wins in rump vs link sets.
XXX Someone(tm) needs to fix this properly.
2009-08-21 14:41:22 +00:00
elad
9229a44cd8 PR/41911: Jukka Ruohonen: A bug in veriexecgen
Do as suggested and add the missing 'T' to getopt() and update usage.

Thanks for the PR!
2009-08-21 04:09:41 +00:00
he
463a3128d5 Use NOAOUT so that this builds without a.out support, and enable
that define if we're building for mips.
2009-08-20 22:26:19 +00:00
he
2a7ab7d442 Define NOAOUT if we're building for mips. 2009-08-20 21:59:12 +00:00
plunky
b7dec17fbf add a per-unit master setting, to control requesting the master role
when accepting connections.
2009-08-20 21:40:59 +00:00
he
74fd55ff5a Remove what appears to be a spurious include of a.out.h. 2009-08-20 21:25:59 +00:00
wiz
acf7ed853a New sentence, new line. 2009-08-20 15:59:57 +00:00
joerg
5050cfce50 Simplify. 2009-08-20 15:51:28 +00:00
plunky
c1cd0cdec6 clarify role switching for "switch" option
bump date for wiz
2009-08-20 11:45:51 +00:00
wiz
bda39b5016 Bump date for previous. 2009-08-18 21:31:51 +00:00
plunky
b486cef1fe update the "Class of Device" information, now that the Assigned Numbers
documents are available at www.bluetooth.com
2009-08-18 17:40:31 +00:00
drochner
d2c5cda8f9 give up root's supplementary group memberships when switching
to _sdpd._sdpd privileges, approved by plunky
2009-08-13 17:50:41 +00:00
wiz
96f565924e Fix parenthesis problem in ifdef SVR4 code.
From Henning Petersen in PR 41839.
2009-08-07 13:55:22 +00:00
wiz
18de4741b9 Improve wording, based on suggestions by Jukka Ruohonen in private mail. 2009-08-06 22:01:36 +00:00
mbalmer
da7930a7f1 Add gpio to rc checks.
Diff from Geoff Wing <gcw@pobox.com>, thanks.
2009-08-06 08:31:58 +00:00
pooka
ceedea85d6 run lfs cleaner 2009-08-06 01:00:04 +00:00
pooka
3e3523f9c8 add commented-out rump_fdesc along with an explanation 2009-07-31 19:21:55 +00:00
pooka
ad25a49dbe rump_fdesc. it works, but it's actually not very sexy out of
developer clothes, since the server cannot fetch the fd information
from the kernel.  Therefore, don't build it by default.
2009-07-31 19:18:46 +00:00
tsutsui
c3ee8e5613 - use program header rather than section header to find file offset for vmaddr
- make sure that passed vmaddr is in TEXT or DATA section
2009-07-30 15:56:01 +00:00
tsutsui
fcb0df9205 WARNS'fy sources which are left for reference.
src/usr.sbin/mdsetimage has been superseded by src/gnu/usr.sbin/mdsetimage
for toolchain to handle cross build binaries, but these old sources for
local executable binaries still can be used for tools to patch binaries,
like binpatch utility in sys/arch/amiga/stand and sys/arch/atari/stand.
2009-07-30 15:16:37 +00:00
mbalmer
32eeaba5d3 Reworked gpioctl(8) command to reflect recent gpio(4) changes. 2009-07-25 16:18:09 +00:00
pooka
92eb973615 don't need absolute paths for fs component names 2009-07-21 00:40:44 +00:00
pooka
d6d0aeb45d Make rump_lfs work again: load fs components dynamically instead
of trying to link them in on the command line and get pounded by
link set failage.
2009-07-21 00:37:25 +00:00
christos
1e5d85413c moduli moved with openssh 2009-07-20 21:03:42 +00:00
mbalmer
6ef876ad7c Use EXIT_FAILURE/EXIT_SUCCESS instead of numerical values when exiting. 2009-07-18 08:35:19 +00:00
jakllsch
0f020c836e doswitch() has changed the value of argc by the time it's checked here,
adjust accordingly.
2009-07-17 20:31:20 +00:00
yamt
805e61e887 draft-ietf-syslog-protocol-23 -> RFC 5424 2009-07-16 13:33:44 +00:00
wiz
c267463d84 New sentence, new line; remove trailing whitespace. 2009-07-14 08:24:15 +00:00
dholland
b7c32656db Fix typo; also do some minor wording adjustments nearby. 2009-07-14 07:43:16 +00:00
roy
7027866a09 Rename internal getline() function to get_line() so it does
conflict with the soon to be added getline(3) libc function.
2009-07-13 19:05:39 +00:00
mbalmer
b98fada729 No need to set BINDIR here, since ../Makefile.inc has it.
Noticed by hannken@eis.cs.tu-bs.de, thx.
2009-07-06 12:47:38 +00:00
cegger
49fc067aae make functions static 2009-07-04 20:34:23 +00:00
ahoka
39c5e1f59f Get rid of the DOS line endings in the file.
No change of the code intended.
2009-07-04 14:31:38 +00:00
cegger
c9c9fcbb99 remove unused global variable. 2009-07-04 13:54:14 +00:00
cegger
efe8489506 use EXIT_FAILURE in places I missed in previous. 2009-07-04 13:50:08 +00:00
cegger
6face9fc9c - use EXIT_FAILURE, EXIT_SUCCESS
- main() needs no prototype
- ansify usage()
No functional changes.
2009-07-04 09:12:46 +00:00
wiz
674e49816b New sentence, new line. Remove unnecessary Bk/Ek pairs. 2009-07-02 18:32:04 +00:00
dyoung
53e43e1e70 Deprecate wiconfig's -r, -g, -m options. Note that equivalent
options are available in ifconfig(8).
2009-07-02 17:45:25 +00:00
mbalmer
cf8e7832f4 Fix write loop. 2009-07-01 07:49:12 +00:00
mbalmer
649bcbf015 - No need to include paths.h twice (christos, you oversaw that paths.h
was already included)
- use "usage", not "Usage", like other tools
2009-06-26 21:55:28 +00:00
christos
1ede09dfc2 - include <paths.h> for _PATH_BPF explicitly.
- make sure that everything sets errno appropriately so we can use warn/err
- only open and setup bpf once since if this does not work we fail and don't
  do extra work.
- use getprogname
- static local functions and no parameters.

I think this utility should be renamed wakeonlan because wake is too generic.
2009-06-26 17:38:32 +00:00
wiz
8615942dc8 Fix Dd argument, remove superfluous quotes, add author name. 2009-06-26 09:25:39 +00:00
mbalmer
0161c10332 /dev/bpf is cloneable, no need to dance around /dev/bpfN to find an
available device.
2009-06-26 09:00:49 +00:00
agc
664fc89d11 iscsi distribution has moved to src/external/bsd/iscsi 2009-06-25 23:42:21 +00:00
mbalmer
c57bd217eb Switch from bcopy to memcpy. Requested by and ok christos. 2009-06-25 22:26:54 +00:00
mbalmer
bcbaac7ec1 Add a blank line after the cvs marker and add a descriptive one line comment.
requested by matt green.
2009-06-25 18:50:46 +00:00
mbalmer
35f74629dc wake(8) is a command to send Wake-on-LAN packets to machines on the local
ethernet, allowing machines to be powered up without physical access to them.

tonnerre@ and tron@ reviewed it and decided that the bin directories
are not to full for this small and useful command.
2009-06-25 18:41:21 +00:00
agc
474f9d04b2 Switch over to building iscsi library, target and initiator from the
external framework.
2009-06-25 13:58:59 +00:00
tron
7d5e451c60 Switch to building Postfix 2.6.2 via "external/ibm-public/postfix". 2009-06-23 17:58:22 +00:00
agc
b27d6094e3 Fix from Jukka Salmi - get BINDIR from further up the tree 2009-06-20 17:58:21 +00:00
christos
3fe391d776 fix for non NetBSD systems 2009-06-20 17:03:25 +00:00
christos
c08a8944a8 fix typo 2009-06-20 16:19:46 +00:00
christos
adee5457b1 don't complain if file does not exist either. 2009-06-20 14:25:47 +00:00
agc
0e74d43b5e Enable the iSCSI initiator 2009-06-20 04:18:39 +00:00
agc
dc40c47744 Add a library implementation of modload(3) and modstat(3).
Conditionally compiled in when MODULAR_KERNEL is defined in the Makefile
(or during the build process).

Use kmod functions to see if the puffs module is loaded in the kernel,
and to load it if it is not already loaded.
2009-06-20 04:12:55 +00:00
dyoung
4ec9bd2b05 Use the definition in <sys/param.h> instead of redefining MAX().
(Used to work because the redefinition was identical to the original
definition, but no longer.)

While I'm here, define sizeofA() in terms of __arraycount() from
<sys/cdefs.h>.
2009-06-19 23:36:41 +00:00
wiz
2be246d2b7 Add RCS Id.
Sort options.
End sentences with dots.
Use standard section headers.
Fix Xref.
Make HTML-ready.
2009-06-19 19:31:18 +00:00
christos
33681fbe60 Fix for unprivileged build. 2009-06-19 16:46:52 +00:00
agc
8d1ae2fc62 Bump up to WARNS=4 2009-06-19 16:13:49 +00:00
christos
e946d9550c pass lint 2009-06-19 15:23:26 +00:00
agc
1a46bf4662 Move the iSCSI initiator from the examples section under src/share to
usr.sbin. At the same time, rename the utility to iscsi-initiator(8).
2009-06-19 07:17:09 +00:00
wiz
e6a36c516d Sort sections. New sentence, new line. Punctuation fixes. 2009-06-19 05:50:39 +00:00
christos
2739d569fd allow overwriting the version record. 2009-06-18 22:13:56 +00:00
christos
9dbe62df2a remove duplicated code by merging the insecure and secure database handling.
add warning flag.
2009-06-18 21:59:24 +00:00
christos
ed742f5718 support reading and writing both version 0 and version 1 databases using
-V <version>. By default the databases stay in their current version when
rebuilding/updating.
2009-06-18 17:46:24 +00:00
kardel
4a186c8fa5 resolve import ntp-4-2-4p7 2009-06-13 12:02:07 +00:00
pooka
540fcdb7ef +pseudo-device putter 2009-06-09 14:27:17 +00:00
christos
432691963c Avoid -mcmodel=kernel so that we can build in PIC mode. 2009-06-04 12:19:35 +00:00
njoly
4c9ac951c7 Fix a crash while trying to read nodes on amd64, reported in PR/41494,
by not doing any transfert when offset exceed the actual data length.

From and ok by pooka@.
2009-05-28 10:07:06 +00:00
christos
39ac8a1e03 - prevent recursive error calls fatal -> die -> cleanup -> sys_cleanup -> cf* ->
fatal/error etc.
- prefix all the errors with __func__.
This allows me to unplug my 3G modem and have pppd exit correctly.
2009-05-24 20:31:25 +00:00
christos
6a9b5acd29 print the proper client address (ryo shimizu) 2009-05-23 03:24:51 +00:00
pgoyette
8a01920225 Make the makedev step fail if either MAKEDEV or MAKEDEV.local need to
be updated.  Patch from njoly@
2009-05-22 15:23:17 +00:00
pooka
d6c25c2b9b wait() for dead ssh processes (but don't block, so we might have
one teeny zmobie in the system).
2009-05-20 15:04:36 +00:00
pooka
b5cb6a6ca0 Fix SNAFU in previous: connection handshake is already handled by
the connect routine now, so we're not required/allowed to do it twice.
Makes reconnect on dead link work again.
2009-05-20 14:39:42 +00:00
pooka
dac06153a9 Copyright year management. no functional change (unless sarah disagrees) 2009-05-20 14:08:21 +00:00
pooka
8ff915319e Introduce -c [12], which can be used to open 1 or 2 ssh connections
to the server.  If "2" is specified, a separate connection is used
for data and directory operations.  Using two connections can
significantly increase directory operation performance on a saturated
link, at least up to 30x faster.
2009-05-20 13:56:36 +00:00
he
bf6708350b Spread some 'const' to deal without warnings with string constants. 2009-05-20 08:16:52 +00:00
wiz
49d8d543b2 Update references to firmware handling (mostly by removing outdated stuff
and pointing to iwi(4)). Bump date.

Addresses PR 41444 by Taylor R. Campbell.
2009-05-18 12:55:28 +00:00
wiz
afc1ce3f86 Sort SEE ALSO. 2009-05-18 12:03:56 +00:00
wiz
b649b20e90 New sentence, new line.
Adapt wording from FreeBSD to apply to pkgsrc. Bump date.
2009-05-18 11:57:30 +00:00
mrg
b71ffbf87a if there is no "name" properly, don't assert(), pretend it is empty.
now "ofctl" works on the shark.  fixes PR#36733.
2009-05-18 05:51:53 +00:00
rmind
c873419d8f Skip LSIDL and LSZOMB threads when retrieving info. 2009-05-16 23:59:56 +00:00
pgoyette
0bade9429b Add a few more processor extended models for Intel Family 6 2009-05-14 20:16:10 +00:00
jnemeth
2dac444cfe fetch /etc/dhcpcd.conf from the correct place when building the system 2009-05-13 23:44:26 +00:00
wiz
0ef2a88d96 New sentence, new line. 2009-05-13 23:03:54 +00:00
wiz
6937bb0cf0 Sort option descriptions. 2009-05-13 22:36:39 +00:00
pgoyette
1463b8efaf 1. Extend CPU probe of Intel processors to handle extended-models. This
allows us to properly identify new Intel 45nm processors, Core i7,
   Atom, and the 45nm Xeon MP.

2. Properly decode several new Intel cache descriptors, as listed in the
   most recent (March 2009) edition of Intel's Application Note 485.

3. Convert decode of the various features masks to use the newly added
   snprintb_m(3) routine.

Addresses my PR bin/41289
Addresses my PR bin/41290
2009-05-13 22:25:51 +00:00
christos
a1776a6de9 make this compile where size_t is not unsigned int. 2009-05-13 03:21:41 +00:00
plunky
ab1f45acf7 update to use the new Service Discovery API 2009-05-12 21:50:38 +00:00
plunky
309b0691a2 add an exit hook at the tap so that on the way out (for whatever reason),
btpand will mark down the interface.
2009-05-12 21:21:23 +00:00
plunky
493f204d6d rework the channel shutdown code path, each channel now has its own
action to process which separates the server and client code.
2009-05-12 21:08:30 +00:00
plunky
3be8934b8b rather than debug message, exclaim in error for failed set filter 2009-05-12 19:57:59 +00:00
plunky
170631f4a8 update to use new sdp(3) and sdp_data(3) APIs 2009-05-12 18:39:20 +00:00
wiz
2407dcceaa New sentence, new line. 2009-05-12 14:56:22 +00:00
tsutsui
5164332007 Fix for -Wcast-qual.
XXX want wscons...
2009-05-12 14:15:31 +00:00
plunky
cf71b1e8c5 no longer needs libsdp 2009-05-12 13:11:18 +00:00
plunky
c9c58ee818 does not need libsdp any longer 2009-05-12 13:09:43 +00:00
wiz
9793fd6bf2 Sort sections, fix section header. 2009-05-12 10:27:53 +00:00
plunky
dfbf818a22 Add in the new Service Discovery Protocol API as announced previously in
http://mail-index.netbsd.org/tech-userlevel/2009/02/27/msg001764.html

  in lib/libbluetooth, add new SDP functions and bump minor version
  replace usr.sbin/sdpd with new version
  install sdp.h and sdp.3 from lib/libbluetooth

(Don't remove libsdp yet since some programs still refer to it)
2009-05-12 10:05:06 +00:00
jnemeth
8714d998c8 install /etc/rc.d/dhcpcd as well 2009-05-12 02:17:49 +00:00
jnemeth
363f93e8d1 install /etc/dhcpcd.conf 2009-05-12 01:53:07 +00:00
plunky
539b5ab318 Ensure that these programs continue to build while I am in the
process of updating the Service Discovery Protocol API.
2009-05-07 18:08:55 +00:00
spz
fd8187a569 adjust the ADMINPORTDIR to match that of racoon (with which it'll want to talk)
fixes PR 41376
2009-05-07 09:31:40 +00:00
lukem
bb51419c1e Add reminder to confirm the ffs format using dumpfs(8). 2009-05-07 07:09:49 +00:00
lukem
7c56c3165d refer to FFSv1 instead of UFSv1 2009-05-07 07:03:39 +00:00
lukem
18f0896759 Display the superblock format as the second line ("FFSv1" or "FFSv2").
No need to display the magic format further down.
2009-05-07 06:40:38 +00:00
wiz
cc8e7a968a Add missing apostrophe. 2009-05-04 22:31:36 +00:00
wiz
36ad9ca39e Remove superfluous comma. 2009-05-04 20:54:50 +00:00
wiz
d85266f985 Fix formatting. New sentence, new line. 2009-05-04 20:47:48 +00:00
wiz
274aaf51a5 New sentence, new line. 2009-05-04 19:11:49 +00:00
kefren
975948c441 Fix formatting for printing size_t 2009-05-03 07:24:55 +00:00
plunky
e5826973cc add a noisy debug message for overlong packets
(I do get them from my phone)
2009-05-02 20:13:44 +00:00
plunky
02f520acc7 use assert() instead of _DIAGASSERT()
suggested by emax@freebsd
2009-05-02 20:07:51 +00:00
christos
11a630f123 easier done with a goto instead of closing in each error. 2009-05-02 16:19:36 +00:00
elad
0b783346d2 PR/41332: Jason V. Miller: paxctl(8) leaks file descriptors
Always close(fd) before returning.

Thanks for the report!
2009-05-02 06:01:30 +00:00
pooka
45ef580f17 Merge librumpfs_ufs into librumpfs_ffs. This reflects what happened
with the ffs kernel module and follows the trend of retiring ufs.
It also allows to get rid of a special case kludge in runtime module
loading, since ufs was not really a module.  librumpfs_ufs is now
obsoleted and ffs consumers should be linked solely against
librumpfs_ffs.
2009-05-02 01:15:52 +00:00
agc
b79fe05de0 Get rid of files which aren't used 2009-05-01 23:40:32 +00:00
nakayama
c7386761f6 WARNS=4 fixes. 2009-04-30 16:10:10 +00:00
nakayama
4ff5774174 WARNS=4 fixes. 2009-04-30 07:45:28 +00:00
nakayama
1d09b9bbae More WARNS=4 fixes, for sparc and sun3. 2009-04-29 09:13:58 +00:00
joerg
70e3d67b70 Create images with 0666 - umask, not 0777 - umask (e.g. without x bits). 2009-04-28 22:49:26 +00:00
nonaka
50010e742d Fix WARNS=4 issues. 2009-04-28 10:57:24 +00:00
lukem
103ca7bc06 Fix issue I introduced in WARNS=4 -- addition of extra argument to default argv.
Found & fixed by Geoff Wing.
2009-04-28 08:32:56 +00:00
mlelstv
094ee5306f don't discard const qualifiers 2009-04-26 19:56:20 +00:00
mlelstv
4c90ae5cf0 don't discard const qualifiers 2009-04-26 19:24:18 +00:00
lukem
e92226ab69 Fix WARNS=4 issues (-Wcast-qual -Wsign-compare)
Fixes PR bin/41283
2009-04-26 04:54:27 +00:00
lukem
7a4c7e7ffc Fix WARNS=4 issues (-Wextra -Wcast-qual).
Resolves PR bin/41282
2009-04-26 01:51:07 +00:00
lukem
a3417b09b0 WARNS=1 for pf 2009-04-23 05:25:06 +00:00
lukem
74f7394a13 Allow WARNS=4 after Christos' fix sys/cdefs.h 2009-04-23 01:37:55 +00:00
lukem
6c17577005 Fix -Wsign-compare issue 2009-04-23 01:36:56 +00:00
christos
33c521093c WARNS=4 2009-04-22 18:10:38 +00:00
lukem
d877c4c3c0 Enable WARNS=4 by default, except for:
cpuctl  dumplfs  hprop  ipf  iprop-log  kadmin  kcm  kdc  kdigest
	kimpersonate  kstash  ktutil  makefs  ndbootd  ntp  pppd  quot
	racoon  racoonctl  rtadvd  sntp  sup  tcpdchk  tcpdmatch  tcpdump
	traceroute  traceroute6  user  veriexecgen  wsmoused  zic
(Mostly third-party applications)
2009-04-22 15:23:01 +00:00
joerg
e7f29a3386 Split fsck during boot into two phases. Check the root file system
first, mount root and run the various disk providers. Add swap and
check the remaining file systems after that.
This breaks the dependency cycle for lvm, which needs writeable /dev.
Depend on rndctl in cgd.
2009-04-21 16:08:57 +00:00
drochner
0fa7059102 define YY_NO_INPUT where appropriate, from Kurt J. Lidl per PR misc/41160 2009-04-20 16:05:29 +00:00
mschuett
0d53a16d76 Add queue macros SLIST_FOREACH_SAFE, STAILQ_FOREACH_SAFE, STAILQ_LAST,
SIMPLEQ_CONCAT, and SIMPLEQ_LAST.

Remove seperate definitions outside of queue.h.
2009-04-20 09:56:07 +00:00
ad
4d8f47ae2f cpuctl:
- Add interrupt shielding (direct hardware interrupts away from the
  specified CPUs). Not documented just yet but will be soon.

- Redo /dev/cpu time_t compat so no kernel changes are needed.

x86:

- Make intr_establish, intr_disestablish safe to use when !cold.

- Distribute hardware interrupts among the CPUs, instead of directing
  everything to the boot CPU.

- Add MD code for interrupt sheilding. This works in most cases but there is
  a bug where delivery is not accepted by an LAPIC after redistribution. It
  also needs re-balancing to make things fair after interrupts are turned
  back on for a CPU.
2009-04-19 14:11:36 +00:00
lukem
193dbe5711 fix -Wshadow 2009-04-19 08:53:37 +00:00
lukem
9a5b6d41c6 fix -Wshadow 2009-04-19 08:40:48 +00:00
lukem
0350114585 Fix WARNS=4 issues (-Wshadow -Wsign-compare) 2009-04-19 07:54:08 +00:00
lukem
96bb91fe3c Fix WARNS=4 issues (-Wextra -Wshadow) 2009-04-19 07:49:07 +00:00
lukem
6bc6e73b91 Fix -Wsign-compare issues 2009-04-19 06:09:42 +00:00
lukem
d3d3aa621a Fix WARNS=4 issues (-Wshadow -Wcast-qual -Wsign-compare) 2009-04-19 06:06:39 +00:00
lukem
9797780352 Fix -Wsign-compare issue 2009-04-19 04:01:06 +00:00
lukem
c7dd380491 Fix -Wsign-compare issues 2009-04-19 02:25:48 +00:00
lukem
228475234f Fix WARNS=4 issues (-Wextra -Wsign-compare) 2009-04-19 01:53:17 +00:00
lukem
6363aba79d Fix WARNS=4 (-Wcast-qual -Wextra) 2009-04-19 01:52:09 +00:00
lukem
975b87b4f5 Fix -Wcast-qual and -Wshadow issues 2009-04-19 00:56:32 +00:00
lukem
802fa86c68 Fix -Wcast-qual issue 2009-04-19 00:44:49 +00:00
lukem
dfb301f79f Fix WARNS=4 issues (-Wshadow -Wcast-qual) 2009-04-19 00:26:18 +00:00
lukem
1638ad2757 Fix WARNS=4 issues (-Wextra -Wsign-compare) 2009-04-18 14:06:58 +00:00
lukem
e4e2f3f32e Fix -Wextra issue 2009-04-18 14:02:42 +00:00
lukem
899b971d2c Fix -Wsign-compare issue 2009-04-18 14:01:37 +00:00
lukem
6c07b7244e Fix -Wshadow 2009-04-18 13:57:44 +00:00
lukem
ca5cba9384 remove unnecessary comments 2009-04-18 13:55:11 +00:00
lukem
c2fdfea89a Fix -Wcast-qual and -Wsign-compare issues 2009-04-18 13:53:59 +00:00
lukem
46a41907e1 Fix WARNS=4 issues (-Wcast-qual -Wsign-compare).
XXX: could improve parsing of -v option and store "cutoff" as a uint64_t.
2009-04-18 13:37:04 +00:00
lukem
e3823f584e Fix -Wsign-compare issue 2009-04-18 13:05:54 +00:00
lukem
0466bbb6dd Fix -Wshadow and -Wcast-qual issues 2009-04-18 13:02:36 +00:00
christos
2eded15942 delete old bind 2009-04-18 13:01:19 +00:00
lukem
46c55ef395 Fix -Wshadow and -Wcast-qual issues 2009-04-18 12:57:10 +00:00
lukem
54f1cbbf7a Fix -Wshadow issue 2009-04-18 09:25:50 +00:00
lukem
aad74fbea3 Fix -Wcast-qual issues 2009-04-18 09:20:40 +00:00
lukem
178a598d18 Fix WARNS=4 issues (-Wsign-compare -Wcast-qual) 2009-04-18 09:18:17 +00:00
lukem
09ae632551 Fix WARNS=4 issues (-Wshadow -Wsign-compare -Wextra) 2009-04-18 08:50:23 +00:00
lukem
88c712c252 Fix -Wcast-qual issues 2009-04-18 08:20:41 +00:00
lukem
4d2da769ca Fix -Wcast-qual issue 2009-04-18 08:17:23 +00:00
lukem
4780f87772 Fix WARNS=4 issues (-Wsign-compare -Wcast-qual) 2009-04-18 08:08:36 +00:00
lukem
aecc7237da Fix WARNS=4 issues (-Wshadow -Wcast-qual -Wsign-compare) 2009-04-18 08:05:18 +00:00
lukem
9559646817 Fix WARNS=4 issues (-Wsign-compare -Wextra) 2009-04-18 07:17:16 +00:00
lukem
35a4cbea60 Compare size_t vs off_t by casting both to uintmax_t 2009-04-18 06:28:19 +00:00
lukem
d5d23344d7 Fix -Wcast-qual issues 2009-04-18 05:09:15 +00:00
lukem
c83cfc0c59 Fix WARNS=4 issues (-Wshadow -Wcast-qual -Wsign-compare) 2009-04-17 16:12:46 +00:00
lukem
58cb611abb Fix WARNS=4 (-Wshadow -Wsign-compare -Wcast-qual) 2009-04-17 16:05:43 +00:00
lukem
a23ae1c696 Fix WARNS=4 issues (-Wsign-compare -Wcast-qual) 2009-04-17 14:07:45 +00:00
lukem
95087e98e0 Fix WARNS=4 issues (-Wshadow -Wcast-qual -Wextra -Wsign-compare) 2009-04-17 14:02:21 +00:00
lukem
0076abc054 Fix WARNS=4 issues (-Wshadow -Wcast-qual -Wsign-compare) 2009-04-17 13:56:33 +00:00
lukem
f7271183be Fix WARNS=4 issues (many -Wshadow, -Wcast-qual) 2009-04-17 04:16:57 +00:00
lukem
b1b382ae67 Fix WARNS=4 issues (-Wshadow -Wextra -Wcast-qual -Wsign-compare) 2009-04-17 04:03:39 +00:00
dyoung
7af558eba1 Distinguish read(2) failure due to a short read from other causes, and
suggest in the error message a possible cause: the size= attribute in
the metalog (if one is given) may be different from the source file's
actual size.
2009-04-16 18:54:16 +00:00
lukem
43e54b3a2f Fix -Wcast-qual issues 2009-04-16 07:13:16 +00:00
lukem
2269fc7ff3 Fix -Wsign-compare issues 2009-04-16 06:52:08 +00:00
lukem
24d76f1bcc Fix -Wsign-compare issues 2009-04-16 06:27:43 +00:00
lukem
3365bf7170 Fix -Wsign-compare issues 2009-04-16 06:14:13 +00:00
lukem
5b43984129 Fix WARNS=4 issues (-Wcast-qual -Wshadow) 2009-04-16 06:07:53 +00:00
lukem
ed9b940f4a Fix WARNS=4 (-Wshadow -Wcast-qual) 2009-04-16 05:59:56 +00:00
lukem
18f69179c9 Fix WARNS=4 issues (-Wshadow -Wcast-qual -Wsign-compare) 2009-04-16 05:56:32 +00:00
lukem
6651d58dfb Fix -Wcast-qual issue 2009-04-16 02:11:44 +00:00
lukem
107925002e Fix -Wsign-compare issues 2009-04-15 10:05:41 +00:00
lukem
778b72dfdb Fix -Wsign-compare issues 2009-04-15 08:40:59 +00:00
lukem
8d37bc2951 Fix -Wsign-compare issue 2009-04-15 08:38:37 +00:00
pooka
73871be1ed fix WARNS=4, recipe from lukem 2009-04-15 08:36:21 +00:00
lukem
a35a433358 Fix -Wshadow and 'setjmp clobber' warnings. 2009-04-15 08:33:04 +00:00
lukem
f6c4f0aee4 Fix WARNS=4 (-Wshadow -Wcast-qual -Wsign-compare) 2009-04-15 08:26:34 +00:00
lukem
98e270d73f Fix -Wsign-compare issue 2009-04-15 06:01:01 +00:00
lukem
04532254ee Fix -Wsign-compare issue 2009-04-15 05:50:20 +00:00
lukem
984afef138 Fix WARNS=4 issues (-Wsign-compare -Wextra) 2009-04-15 05:43:22 +00:00
lukem
3d305af9f2 Fix -Wsign-compare issue 2009-04-15 05:41:09 +00:00
lukem
19a92f1b8c Fix -Wsign-compare issue 2009-04-15 01:01:06 +00:00
lukem
d8a2ebd20f Fix -Wsign-compare issues 2009-04-15 00:40:01 +00:00
lukem
2132a832ac Fix -Wsign-compare issue 2009-04-15 00:37:05 +00:00
lukem
020f7791cb Fix -Wsign-compare issues 2009-04-15 00:35:04 +00:00
lukem
4d8dfd66df Fix -Wsign-compare issues.
(Use %u not %d for unsigned ints.)
2009-04-15 00:32:23 +00:00
lukem
7affd6558f Fix -Wsign-compare issues 2009-04-15 00:13:50 +00:00
wiz
fe9ffd31fe New sentence, new line. Use .An. 2009-04-12 19:39:52 +00:00
joerg
bd9cbe41e8 Remove conditional, groff now knows how to deal with ASCII output. 2009-04-12 18:51:33 +00:00
christos
b9beabb76c unhook bind 2009-04-12 17:13:06 +00:00
apb
6e9108295a When an mtree spec file omits a parent directory, "missing directory in
specification", instead of "no such file or directory".
2009-04-11 14:32:51 +00:00
wiz
5f950b1010 New sentence, new line. 2009-04-11 13:24:37 +00:00
wiz
159965be32 Sort option descriptions. 2009-04-11 13:24:17 +00:00
wiz
3bafbbb30d New sentence, new line. Remove empty section. Add comma in enumeration. 2009-04-11 13:24:00 +00:00
lukem
f93f13ab6f fix -Wsign-compare issue on amd64 2009-04-11 12:55:29 +00:00
lukem
7f26f737dc fix -Wcast-qual issues 2009-04-11 12:44:29 +00:00
lukem
ad5ee40a86 fix WARNS=4 issues 2009-04-11 07:51:59 +00:00
reed
85ecea6539 Make sure named-compilezone manual page is available too.
(Upstream provides as a symlink to named-checkzone, but using MLINKS
here.)
2009-04-10 03:50:38 +00:00
apb
02a79f3336 * Rewrite intro to mention all three things mtree can do (check directory
tree against spec; create spec; modify spec).
* Consistently use "options" to refer to command line options.  "flags"
  is used to refer to file flags.
* Some other clarifications and changes for consistency.
2009-04-09 09:53:37 +00:00
joerg
a5e9c389e6 Quote potential macro used as literal. Don't use .Xo/.Xc to work around
ancient groff macro argument limit.
2009-04-09 04:10:40 +00:00
joerg
d87cddc68e .br -> .Pp, capitalize subsection titles 2009-04-09 02:41:44 +00:00
joerg
d942d2f2cd Don't depend on magic default value for -offset. Don't use .br, use a
paragraph. Use more sane indentation and avoid compact style for huge
list to make it more readable.
2009-04-09 02:30:51 +00:00
wiz
d1b96e557a Sync usage with man page. 2009-04-08 19:43:05 +00:00
wiz
7b2130ba39 Sort options and option descriptions.
Remove an incomplete sentence ("It will") -- probably pasto.
Give the tagged lists more space for the first column.
Remove unnecessary Bk/Ek pairs.
2009-04-08 19:39:23 +00:00
apb
ef658dd50e The recent addition of sorting to "mtree -C" broke some third party
scripts.  Now make sorting optional, controled by the "-S" flag.
2009-04-08 19:03:13 +00:00
joerg
bd027b10ec Fix markup. 2009-04-08 14:36:41 +00:00
joerg
b20b8e52a6 Add missing quotes. 2009-04-08 14:33:12 +00:00
joerg
cdea36b6f8 Fix markup. 2009-04-08 14:20:38 +00:00
joerg
2cfdc9a96c Convert to more semantic markup. 2009-04-08 13:47:07 +00:00
joerg
d2c5af5c91 Use semantic markup. 2009-04-08 13:41:54 +00:00
joerg
f4bfcdb4ae Improve markup. 2009-04-08 13:36:32 +00:00
joerg
663328acb0 Remove non-sensical .ad macro. Don't use .Xo/.Xc. 2009-04-08 13:31:38 +00:00
joerg
32a51b5de6 Fix markup. 2009-04-08 13:13:42 +00:00
apb
62b6b42c6f fix another missing "prev" link 2009-04-07 18:06:41 +00:00
martin
ecad31aebd Now that we use ?= to optionally assing to ddb.onpanic, match that when
testint existing configurations too.
2009-04-06 00:30:33 +00:00
apb
dc1b0e5339 Fix broken "prev" pointer in one case. 2009-04-05 15:47:03 +00:00
dogcow
f0f15c8b0d Watch one's "p"s and "q"s and fix cast aspersions on alpha ("warning: field
precision should have type 'int', but argument 2 has type 'long int'")
2009-04-05 12:15:07 +00:00
lukem
aa4393e8f7 WARNS=4 2009-04-05 12:04:04 +00:00
lukem
cf65938aa6 fix sign-compare issues 2009-04-05 12:03:48 +00:00
lukem
2b2f4703f2 fix sign-compare issues 2009-04-05 11:48:02 +00:00
apb
c5c8c1dcb2 Tags are internally stored with leading and trailing commas, for ease
of using strstr(3) to check them against inclusion or exclusion lists.
Don't output the leading or trailing commas.
2009-04-04 21:49:49 +00:00
christos
9587268219 fix pasto: don't print the critcap when the warncap was asked. Also off by
one in length. From Anon-Ymous.
XXX: Should pull up to 5.0
2009-04-04 18:43:01 +00:00
wiz
88ada6d2b7 Convert to mdoc. Bump date for previous. 2009-04-04 17:29:59 +00:00
perry
4cfab35c9c New feature: "?" for time specifications, means a single time selected at
random from within the range at file read time. Very useful if you
want to avoid having a fleet of machines melt a server by all trying to
contact it at a precise time every morning. See docs for details.

Reviewed by: christos, apb, vixie, others.

XXX apb suggests, quite reasonably, that ?10-16/2 should mean
something like 10,12,14,16 or 11,13,15. I'm too lazy to do it right
now, but it should be done.

XXX vixie suggests, quite reasonably, that if you're using "?" one
should delay randomly by 0-59 seconds. In the modern NTP world, you
could imagine that with a million well synchronized machines the
second just at the minute would be hit quite hard. I'm too lazy to do
it right now, but it should be done.

XXX cron needs to be updated to Vixie's cron 4.1 code.
2009-04-04 16:05:10 +00:00
apb
5e464841ab Make "mtree -C" sort its output.
As the input is read from a specfile into a tree of linked lists,
keep each linked list sorted.  The sort order is the same as that
already used by "mtree -c": directories sort after non-directories, but
otherwise names are sorted in the order used by strcmp().
2009-04-03 21:18:59 +00:00
christos
af069eb3c7 Centralize the ROUNDUP and ADVANCE macro in a header file, give them an
RT_ prefix and use them appropriately, instead of making copies. Make
pppd use the RT_ROUNDUP macro; fixes proxyarp setting on 64 bit hosts.

XXX: All this should be pulled up to 5.0
2009-04-02 21:02:06 +00:00
martin
4e59766728 Make the ddb.onpanic line acceptable even if commented out 2009-04-01 16:38:46 +00:00
pooka
d3739e6172 Save errno before descending to cleanup gehennom. 2009-03-29 16:06:53 +00:00
dholland
a1d97be176 Minor fix, from Alan R. S. Bueno in PR 41046, adjusted by me to not use
the default operand of .Ar on grounds of source clarity.
2009-03-29 06:04:50 +00:00
ad
5d2a6ba964 Add -x: summarize events, and do not report on lock types. 2009-03-21 13:02:19 +00:00
mike
c7f073e0ff Fix check for duplicate gid when '-g =uid' is specified to usermod.
Closes PR bin/40391
2009-03-20 02:53:47 +00:00
pooka
61260da885 In case the portal provider fails, do not try to pass an
uninitialized fd value.  Also, propagate errno to the caller.
2009-03-18 09:10:16 +00:00
mike
0779b10efc Do not allow duplicate group id in groupmod unless -o is specified.
Closes PR bin/40393
2009-03-18 04:59:45 +00:00
tsutsui
38357705f9 Increase size of buffer for humanize_number(3) to print cache sizes
so that it can return 128KB, 256KB and 512KB properly instead of
truncated 0MB or rounded 1MB.

Problem reported by nisimura@ on port-amd64 and port-i386.
2009-03-16 12:25:40 +00:00
wiz
2f43aa5f3a Fix Xref, prepare for HTML output. 2009-03-15 21:43:28 +00:00
joerg
7ec31b06bd Fix markup, making it symmetrical between filter6_values and
filter_values.
2009-03-15 12:30:09 +00:00
joerg
70f96e3d54 Fix markup. 2009-03-15 10:09:29 +00:00
joerg
6c62880d49 Remove .Pp as it breaks visible context. 2009-03-15 10:04:27 +00:00
yamt
538489ba39 print some SVM info if available. 2009-03-12 09:10:15 +00:00
martin
7d53797861 Switch the default value (if no options DDB_ONPANIC is defined) for
ddb.onpanic to 1, change it back to 0 in sysctl.conf and make sure
postinstall installs this setting.
This avoids us trying to dump while booting from install CD, but keeps
the default the same once we are far enough through /etc/rc.d. Failing
earlier is unlikely to be recovered by an automatic reboot.
OK: core.
2009-03-11 23:22:57 +00:00
joerg
4945fc29a8 Simplify markup by not using .Xo/.Xc. 2009-03-11 18:52:54 +00:00
joerg
d6f49c1ea9 Improve and fix markup. 2009-03-11 18:47:52 +00:00
joerg
9ae0c77a07 Don't use .Xo/.Xc to avoid ancient macro argument limit.
Replace .Sm off / .Sm on with .Ns.
2009-03-11 18:23:38 +00:00
joerg
284c3410b6 Don't use .Xo/.Xc. Replace use of .Sm off / .Sm on with .Ns. 2009-03-11 18:10:05 +00:00
joerg
e4e7c43459 Don't workaround ancient macro argument limit with .Xo/.Xc. 2009-03-11 18:02:00 +00:00
dyoung
8bd55ddc61 Delete misplaced period and line ending. 2009-03-11 17:54:03 +00:00
christos
7022cb2a8d bin/40994: Michael van Elst: usermod -l change password so user is unable to
login. User getpwnam_r to avoid trashing result of previous call to getpwnam().
2009-03-11 14:18:03 +00:00
joerg
0bdacf5008 Fix markup 2009-03-11 14:00:29 +00:00
joerg
afe5a26320 Fix preamble 2009-03-11 13:59:33 +00:00
mrg
01a13dba2c convert getfiles() to use KERN_FILE2 sysctl.
now it can survive "struct file" changing, as is upcoming.
2009-03-11 06:00:11 +00:00
plunky
7a71a8c7db use the generic SIOCALIFADDR to add an active link layer address
instead of the (soon to be) deprecated SIOCSIFPHYADDR
2009-03-10 22:12:17 +00:00
joerg
c33b9a443e Remove redundant .Xo / .Xc scope. 2009-03-10 13:34:45 +00:00
jakllsch
46fa0abcaf sizeof(time_t) is no longer the same as the sizeof(uint32_t)
that RFC 868 specifies.

no functional change intended.
2009-03-10 00:26:20 +00:00
joerg
997634fe14 Fix preamble to match order set out by mdoc(7). Discussed with wiz. 2009-03-09 19:24:26 +00:00
ad
69f9e17075 Don't bother with file_t::f_iflags any more, as it's not used.
Noted by mrg@.
2009-03-08 12:52:08 +00:00
ad
101a9782a2 Add crash(8), a utility to diagnose kernel crashes. This is basically
ddb running on crash dumps, but with two notable changes:

- Breakpoints, watches, etc are obviously never going to work so they
  are not handled.

- You can pipe output to the shell, e.g. ps | grep foo

Items remaining to be done:

- Port it to architectures other than i386. This isn't difficult, just
  a case of making db_disasm.c/db_trace.c or their equivalent compile
  and work.

- Make more of the "show" commands work, e.g "show uvmexp".
2009-03-07 22:08:07 +00:00
apb
09ba0a6ca8 Replace local swap16, swap32, and swap64 inline functions with the
NetBSD conventional bswap16, bswap32, and bswap64 functions or macros.

In a non-tools build, include <sys/types.h> and <machine/bswap.h> to
get definitions of these functions.  In a tools build, rely on the
functions or macros being provided by nbtool_config.h, but don't incluce
<machine/bswap.h> (which might not exist in a cross build).

This should address a problem building on OpenBSD, which has swap16,
swap32, and swap64 macros that conflicted with the local definitions.
The problem was reported by Alexander Bluhm, but this patch is quite
different from the one he suggested.
2009-03-06 19:05:11 +00:00
christos
41802a0069 fix horrible memory trashing. 2009-03-04 18:22:14 +00:00
nonaka
674f8b31d6 do WSMOUSEIO_SETVERSION when WSMOUSEIO_SETVERSION is defined. 2009-03-03 18:43:15 +00:00
apb
c163e7100a As long as we don't yet have a working TOOL_GREP,
fgrep is more portable than grep -F.
2009-02-26 10:32:43 +00:00
apb
b56c1a749f In file_exists_exact(), fix an incorrect test of "1" instead of "$1",
and improve the comment explaining what this function does.
2009-02-26 08:25:50 +00:00
apb
6eefb4e5ea "grep -q" is not portable; use "grep >/dev/null" instead. Also add a
comment saying that postinstal is invoked during a cross build.
2009-02-26 08:05:09 +00:00
wiz
2dba01f8d6 Make "sftp" a link. 2009-02-26 07:14:36 +00:00
sketch
bb0a3b607e Use awk and grep host tools where required. 'build.sh release' now works
on Solaris (but only with HOST_CC=/usr/sfw/bin/gcc for now).
2009-02-25 20:38:30 +00:00
pooka
928c35bfce add caveat about info displayed by df(1) 2009-02-25 18:05:32 +00:00
dyoung
ac7c88b5d2 Look for MAKEDEV.local in both ${SRC_DIR}/dev/ and ${SRC_DIR}/etc/,
so that 'postinstall check makedev' works whether the sources told
by the -s argument are a NetBSD source tree, etc.tgz, or a DESTDIR.
2009-02-25 01:11:50 +00:00
sketch
7ce9d1c8ea Make 'build.sh tools' work with the Sun Studio compiler, although bugs in
some of the generated tools still prevent building a full release using them.
2009-02-24 22:25:24 +00:00
pooka
72d8b8b617 Support statvfs@openssh.com extension where available. Makes df(1)
return something other than just 0.
caveat: statvfs is done for the mountpoint path, so might not give
the truth about a directory inside the mountpoint.
2009-02-23 18:43:46 +00:00
yamt
9287e91c00 do_makedev: look at a correct directory for MAKEDEV.local 2009-02-22 15:27:44 +00:00
ad
33774d3216 Report LB_MISC events, for one-off instrumentation. 2009-02-22 15:08:58 +00:00
christos
b86f9ffb61 CID 4393: plug memory leak. 2009-02-18 20:06:27 +00:00
is
11927f0b16 synchronize error flags with own comment and with traceroute, as discussed
on tech-net.
2009-02-16 20:36:11 +00:00
reinoud
9277c1a831 Remove idd `tag' left over from importing this file into NetBSD.
Thanks Soren :)
2009-02-16 06:46:54 +00:00
pooka
501138e80e regen: putter in synopsis and note about experimental status 2009-02-15 18:01:26 +00:00
pooka
0838b02036 * include "pseudo-device putter" in synopsis as requested by hubertf
* note that rump p2k utilities are currently experimental (noted
  already on the rump manpages, but better note it here also)
2009-02-15 18:00:16 +00:00
wiz
845915475d New sentence, new line. Bump date for previous. 2009-02-15 00:01:19 +00:00
ahoka
4f97e87b0c Add support for showing temperatures in Kelvin. 2009-02-14 16:08:22 +00:00
abs
515e52158b Convert more MACHINE tests to MACHINE_ARCH 2009-02-14 13:50:50 +00:00
uebayasi
a6f7a3d986 Disable debug. 2009-02-13 16:16:26 +00:00
uebayasi
a6533b8fed Comment out CFLAGS+=-g. 2009-02-13 16:02:05 +00:00
pooka
1ca3ac22a3 regen: note that vnconfig not required 2009-02-10 15:08:40 +00:00
pooka
108fcd8ae3 Note that the rump file servers do not require use of vnconfig when
mounting images.  Suggested by apb
2009-02-10 15:04:35 +00:00