Commit Graph

9418 Commits

Author SHA1 Message Date
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