dragonfly.git
3 years agokernel - Update random number generator
Matthew Dillon [Sat, 15 May 2010 16:54:37 +0000 (09:54 -0700)]
kernel - Update random number generator

* Update the random number generator with recommended changes to IBAA.
  This addresses a short-cycle problem and prevents bad initial states.

* Passes diehard (as did the original).

* Note that DragonFly continuously injects entropy and was likely not
  subject to these issues, and with these changes is even less so.

Submitted-by: Robin Carey <robin.carey1@googlemail.com>
3 years agoFix the x86_64 kernel build with 'options BUS_DEBUG'.
Sascha Wildner [Fri, 14 May 2010 23:07:03 +0000 (01:07 +0200)]
Fix the x86_64 kernel build with 'options BUS_DEBUG'.

Reported-by: Thomas Klausner <wiz@netbsd.org>
3 years agoRemove unused vm.stats.misc.cnt_prezero sysctl.
Venkatesh Srinivas [Sun, 9 May 2010 20:32:07 +0000 (13:32 -0700)]
Remove unused vm.stats.misc.cnt_prezero sysctl.

3 years agocxm(4): Right now, cxm(4) isn't built as a module.
Sascha Wildner [Fri, 14 May 2010 00:58:10 +0000 (02:58 +0200)]
cxm(4): Right now, cxm(4) isn't built as a module.

Reported-by: Thomas Klausner <wiz@netbsd.org>
3 years agopatch: Free temporary buffer after stripping.
Venkatesh Srinivas [Fri, 30 Apr 2010 07:56:48 +0000 (00:56 -0700)]
patch: Free temporary buffer after stripping.

Imported from OpenBSD 2010/01.

3 years agoumass(4): Add IDs for the Sony Cybershot, model DSC-W80.
Sascha Wildner [Thu, 13 May 2010 20:16:56 +0000 (22:16 +0200)]
umass(4): Add IDs for the Sony Cybershot, model DSC-W80.

Submitted-by: Francis Gudin <fgudin@nerim.net>
Dragonfly-bug: <http://bugs.dragonflybsd.org/issue1765>

3 years agoSilence some warnings in the kernel.
Sascha Wildner [Thu, 13 May 2010 19:52:57 +0000 (21:52 +0200)]
Silence some warnings in the kernel.

3 years agorelease.7: The USB image is now built by default.
Sascha Wildner [Wed, 12 May 2010 19:39:06 +0000 (21:39 +0200)]
release.7: The USB image is now built by default.

3 years agoAdd a manual page for the ioprio_get() and ioprio_set() system calls.
Sascha Wildner [Wed, 12 May 2010 19:34:25 +0000 (21:34 +0200)]
Add a manual page for the ioprio_get() and ioprio_set() system calls.

3 years agohammer utility - Update manual page
Matthew Dillon [Wed, 12 May 2010 17:48:32 +0000 (10:48 -0700)]
hammer utility - Update manual page

* Update the manual page with information on how to properly restore from
  a snapshot.

3 years agorelease build - 'img' is now the default.
Matthew Dillon [Wed, 12 May 2010 17:42:12 +0000 (10:42 -0700)]
release build - 'img' is now the default.

* Both the ISO and the IMG will be generated by default now instead of just
  the ISO.

3 years agoSync zoneinfo database with tzdata2010j from elsie.nci.nih.gov
Sascha Wildner [Tue, 11 May 2010 03:57:00 +0000 (05:57 +0200)]
Sync zoneinfo database with tzdata2010j from elsie.nci.nih.gov

northamerica:   8.30 -> 8.31
zone.tab:       8.35 -> 8.36

Bahia de Banderas (municipality in the Mexican state of Nayarit) changed
time zone from UTC-7 to UTC-6. This requires introducing a new zone
(America/Bahia_Banderas).

3 years agoIncrease the LiveCD's /var a bit since it was at 104% capacity.
Sascha Wildner [Sun, 9 May 2010 23:15:08 +0000 (01:15 +0200)]
Increase the LiveCD's /var a bit since it was at 104% capacity.

3 years agoAdd a mutex(9) manual page.
Sascha Wildner [Sun, 9 May 2010 18:20:41 +0000 (20:20 +0200)]
Add a mutex(9) manual page.

Submitted-by: Venkatesh Srinivas <me@endeavour.zapto.org>
3 years agoAdd manual pages for pfind(), pgfind() and zpfind() (taken from FreeBSD).
Sascha Wildner [Sun, 9 May 2010 10:17:30 +0000 (12:17 +0200)]
Add manual pages for pfind(), pgfind() and zpfind() (taken from FreeBSD).

3 years agomake upgrade: Don't remove rc scripts which could be from pkgsrc.
Sascha Wildner [Sat, 8 May 2010 22:37:15 +0000 (00:37 +0200)]
make upgrade: Don't remove rc scripts which could be from pkgsrc.

3 years agoMakefile_upgrade.inc: Fix some merging artifacts.
Sascha Wildner [Sat, 8 May 2010 22:24:43 +0000 (00:24 +0200)]
Makefile_upgrade.inc: Fix some merging artifacts.

3 years agomake upgrade: Remove BIND's rc script, too.
Sascha Wildner [Sat, 8 May 2010 22:22:45 +0000 (00:22 +0200)]
make upgrade: Remove BIND's rc script, too.

3 years agoRemove some more (BIND related) files via 'make upgrade'.
Sascha Wildner [Sat, 8 May 2010 22:17:34 +0000 (00:17 +0200)]
Remove some more (BIND related) files via 'make upgrade'.

3 years agopthread* manual pages: <pthread_np.h> needs <pthread.h>.
Sascha Wildner [Sat, 8 May 2010 20:43:42 +0000 (22:43 +0200)]
pthread* manual pages: <pthread_np.h> needs <pthread.h>.

3 years agoextattr.9: Some cosmetic changes.
Sascha Wildner [Sat, 8 May 2010 19:56:20 +0000 (21:56 +0200)]
extattr.9: Some cosmetic changes.

3 years agoBring in a extattr(2) manual page (from FreeBSD, with changes).
Sascha Wildner [Sat, 8 May 2010 19:56:02 +0000 (21:56 +0200)]
Bring in a extattr(2) manual page (from FreeBSD, with changes).

3 years agoieee80211.9: Comment out reference to ieee80211_amrr(9).
Sascha Wildner [Sat, 8 May 2010 06:56:16 +0000 (08:56 +0200)]
ieee80211.9: Comment out reference to ieee80211_amrr(9).

3 years agoRemove some unnecessary lines in Makefile_upgrade.inc.
Sascha Wildner [Sat, 8 May 2010 05:54:12 +0000 (07:54 +0200)]
Remove some unnecessary lines in Makefile_upgrade.inc.

3 years agomake.conf(5): Remove some no longer used (BIND related) options.
Sascha Wildner [Fri, 7 May 2010 18:52:55 +0000 (20:52 +0200)]
make.conf(5): Remove some no longer used (BIND related) options.

3 years agomtree: Remove /usr/include/isc
Sascha Wildner [Fri, 7 May 2010 10:03:44 +0000 (12:03 +0200)]
mtree: Remove /usr/include/isc

3 years agoMakefile_upgrade.inc: Remove conflict marker.
Sascha Wildner [Thu, 6 May 2010 21:00:57 +0000 (23:00 +0200)]
Makefile_upgrade.inc: Remove conflict marker.

On-behalf-of: lentferj

3 years agoBIND: add pkgsrc/bind96 to nrelease
Jan Lentfer [Thu, 6 May 2010 20:53:42 +0000 (22:53 +0200)]
BIND: add pkgsrc/bind96 to nrelease

* Add BIND 9.6 to nrelease so it will be build
  as a replacement for the base BIND during CD builds.

3 years agoBIND removal: more cleanup
Jan Lentfer [Thu, 22 Apr 2010 18:33:47 +0000 (20:33 +0200)]
BIND removal: more cleanup

* remove more BIND leftovers

3 years agoBIND-Removal: Add removals to make upgrade.
Jan Lentfer [Mon, 8 Mar 2010 14:50:00 +0000 (15:50 +0100)]
BIND-Removal: Add removals to make upgrade.

3 years agoBIND: entirely purge BIND and related stuff from base
Jan Lentfer [Mon, 8 Mar 2010 10:17:32 +0000 (11:17 +0100)]
BIND: entirely purge BIND and related stuff from base

3 years agoBIND: remove bind/ from contrib.
Jan Lentfer [Sat, 6 Mar 2010 19:15:27 +0000 (20:15 +0100)]
BIND: remove bind/ from contrib.

First step to entirely get rid of BIND.

3 years agoiostat - add read/write details to output
Jan Lentfer [Wed, 5 May 2010 20:17:40 +0000 (22:17 +0200)]
iostat - add read/write details to output

This adds option "-D" that will output read/write
details to the output as described in the manpage.
This is based on Matt Dillon's addition to systat.

3 years agonrelease - try to workaround a problem with ./bootstrap v2.7.3
Matthew Dillon [Fri, 30 Apr 2010 18:10:06 +0000 (11:10 -0700)]
nrelease - try to workaround a problem with ./bootstrap

* setenv share_dir during the bootstrap build to try to work around a
  problem where recent changes in the build cause bmake to try to access
  the system mk files in /usr/share/mk.

3 years agokernel - Try to fix NULL pointer issue in syncache_timer_handler()
Matthew Dillon [Fri, 30 Apr 2010 18:08:14 +0000 (11:08 -0700)]
kernel - Try to fix NULL pointer issue in syncache_timer_handler()

* There seems to be a case where a tcpcb's inp can be NULL when accessed
  from syncache_timer_handler().  Try to handle it.

3 years agokernel - Disallow dsioctl when no media is present
Matthew Dillon [Fri, 30 Apr 2010 18:06:56 +0000 (11:06 -0700)]
kernel - Disallow dsioctl when no media is present

* Attempt to fix a panic which can occur when attempts are made to
  call ioctl() via a slice/partition on removable drives with no media.

3 years agoRemove references to VAX and MIPS from ddb(4).
Venkatesh Srinivas [Fri, 30 Apr 2010 06:58:29 +0000 (23:58 -0700)]
Remove references to VAX and MIPS from ddb(4).

3 years agokernel - mmap offset is invalid for MAP_ANON
Samuel J. Greear [Fri, 30 Apr 2010 04:30:05 +0000 (22:30 -0600)]
kernel - mmap offset is invalid for MAP_ANON

Submitted-by: Venkatesh Srinivas
Dragonfly-bug: <http://bugs.dragonflybsd.org/issue1723>

3 years agobpf(4): Fix the division by zero check in bpf_validate().
Sascha Wildner [Fri, 30 Apr 2010 10:03:52 +0000 (12:03 +0200)]
bpf(4): Fix the division by zero check in bpf_validate().

BPF_RVAL() was being used where BPF_SRC() would have been correct.

Reported-by: Guy Harris <guy@alum.mit.edu>
Dragonfly-bug: <http://bugs.dragonflybsd.org/issue1748>

3 years agokernel - Fix resident_count problems with kernel_pmap & related crashes
Matthew Dillon [Fri, 30 Apr 2010 02:48:58 +0000 (19:48 -0700)]
kernel - Fix resident_count problems with kernel_pmap & related crashes

* kernel_pmap.pm_stats.resident_count could get out of sync due to the
  lwbuf code calling kmem_free() on KVM with pages that were entered
  via pmap_kenter().  Delete the pages before calling kmem_free().

  This in turn caused various failures and kernel panics due to conditionals
  based on resident_count == 0.  Heavy sendfile() activity could trigger
  the bug but it was taking a few days for the resident_count to decrement
  to zero.

* Fix a similar issue in zdestroy() on ZONE_INTERRUPT zones.  Nothing calls
  this routine so it was not a vector for crashes.

* Document the case.

3 years agoieee80211.9: Fix typo.
Sascha Wildner [Thu, 29 Apr 2010 22:45:54 +0000 (00:45 +0200)]
ieee80211.9: Fix typo.

3 years agoieee80211.9: Remove some references to manual pages which don't exist.
Sascha Wildner [Thu, 29 Apr 2010 20:35:01 +0000 (22:35 +0200)]
ieee80211.9: Remove some references to manual pages which don't exist.

3 years agoath.4: We don't have a pcic.4 manual page.
Sascha Wildner [Thu, 29 Apr 2010 20:34:24 +0000 (22:34 +0200)]
ath.4: We don't have a pcic.4 manual page.

3 years agoieee80211_proto.9: Fix typo in function name.
Sascha Wildner [Thu, 29 Apr 2010 20:33:01 +0000 (22:33 +0200)]
ieee80211_proto.9: Fix typo in function name.

3 years agoieee80211_scan.9: Fix typo in function name.
Sascha Wildner [Thu, 29 Apr 2010 20:29:27 +0000 (22:29 +0200)]
ieee80211_scan.9: Fix typo in function name.

3 years agoAdd a regdomain.5 manual page (from FreeBSD).
Sascha Wildner [Thu, 29 Apr 2010 20:18:05 +0000 (22:18 +0200)]
Add a regdomain.5 manual page (from FreeBSD).

3 years agoComment out a reference to iwi(4) for now until it is ported.
Sascha Wildner [Thu, 29 Apr 2010 20:09:16 +0000 (22:09 +0200)]
Comment out a reference to iwi(4) for now until it is ported.

3 years agoieee80211_{ddb,radiotap}.9: Remove some unneeded .Pp's.
Sascha Wildner [Thu, 29 Apr 2010 19:58:56 +0000 (21:58 +0200)]
ieee80211_{ddb,radiotap}.9: Remove some unneeded .Pp's.

3 years agoDisable ieee80211_amrr.9 for now.
Sascha Wildner [Thu, 29 Apr 2010 19:58:07 +0000 (21:58 +0200)]
Disable ieee80211_amrr.9 for now.

This was replaced by the new ratectl code.

3 years agomptutil(8): Misc. cleanup
Sascha Wildner [Wed, 28 Apr 2010 23:23:14 +0000 (01:23 +0200)]
mptutil(8): Misc. cleanup

* Raise WARNS to 6

* Move CVS IDs to the comments

* Bump date in the manual page

3 years agoips - Make use of new dumping scheme
YONETANI Tomokazu [Wed, 28 Apr 2010 15:57:05 +0000 (00:57 +0900)]
ips - Make use of new dumping scheme

3 years agoips - The comment no longer applies as b_blkno has been yanked off years ago.
YONETANI Tomokazu [Wed, 28 Apr 2010 15:57:04 +0000 (00:57 +0900)]
ips - The comment no longer applies as b_blkno has been yanked off years ago.

3 years agomkioctls: Miscellaneous cleanup.
Sascha Wildner [Wed, 28 Apr 2010 22:48:56 +0000 (00:48 +0200)]
mkioctls: Miscellaneous cleanup.

* Add a proper '#!/bin/sh' since this is a shell script.

* Clean up the list of excluded /usr/include/* softlinks.

* Remove unneeded #include's.

* Remove some empty lines.

3 years agomake upgrade: ieee80211_free_node() still exists.
Sascha Wildner [Wed, 28 Apr 2010 13:41:09 +0000 (15:41 +0200)]
make upgrade: ieee80211_free_node() still exists.

3 years agoieee80211*.9: Fix include paths.
Sascha Wildner [Wed, 28 Apr 2010 12:53:11 +0000 (14:53 +0200)]
ieee80211*.9: Fix include paths.

3 years agoieee80211_node.9: Fix section number.
Sascha Wildner [Wed, 28 Apr 2010 12:50:33 +0000 (14:50 +0200)]
ieee80211_node.9: Fix section number.

3 years agoieee80211_{amrr,vap}.9: Fix typos in .Dt
Sascha Wildner [Wed, 28 Apr 2010 12:49:13 +0000 (14:49 +0200)]
ieee80211_{amrr,vap}.9: Fix typos in .Dt

3 years agoieee80211.9: Adjust .Dt
Sascha Wildner [Wed, 28 Apr 2010 12:48:15 +0000 (14:48 +0200)]
ieee80211.9: Adjust .Dt

3 years agoSync our ieee80211*(9) manual pages with FreeBSD.
Sascha Wildner [Wed, 28 Apr 2010 12:47:13 +0000 (14:47 +0200)]
Sync our ieee80211*(9) manual pages with FreeBSD.

3 years agofixup errors for mkdir & rmdir '/' - EEXIST & EACCES, respectively
b86 [Wed, 28 Apr 2010 06:35:56 +0000 (01:35 -0500)]
fixup errors for mkdir & rmdir '/' - EEXIST & EACCES, respectively

3 years agoSync ath.4 and ath_hal.4 manual pages with FreeBSD.
Sascha Wildner [Tue, 27 Apr 2010 20:16:17 +0000 (22:16 +0200)]
Sync ath.4 and ath_hal.4 manual pages with FreeBSD.

3 years agoYet another round of typo fixes in manpages and messages.
Sascha Wildner [Tue, 27 Apr 2010 20:04:53 +0000 (22:04 +0200)]
Yet another round of typo fixes in manpages and messages.

3 years agoral.4/firmware.9: Fix some mdoc issues in two manual pages.
Sascha Wildner [Tue, 27 Apr 2010 19:49:59 +0000 (21:49 +0200)]
ral.4/firmware.9: Fix some mdoc issues in two manual pages.

3 years agoRemove ieee80211_ioctl.9 from Makefile, too
Alex Hornung [Tue, 27 Apr 2010 06:29:52 +0000 (06:29 +0000)]
Remove ieee80211_ioctl.9 from Makefile, too

Reported-by: Dylan Reinhold
3 years agoRemove ieee80211_ioctl.9 manual page and MLINKS.
Sascha Wildner [Tue, 27 Apr 2010 00:37:37 +0000 (02:37 +0200)]
Remove ieee80211_ioctl.9 manual page and MLINKS.

3 years agoBring in FreeBSD's tools/tools/{ath,net80211}.
Sascha Wildner [Mon, 26 Apr 2010 17:25:37 +0000 (19:25 +0200)]
Bring in FreeBSD's tools/tools/{ath,net80211}.

3 years agoMove wlandebug(8) to usr.sbin (like FreeBSD) and sync.
Sascha Wildner [Mon, 26 Apr 2010 16:37:33 +0000 (18:37 +0200)]
Move wlandebug(8) to usr.sbin (like FreeBSD) and sync.

3 years agoral.4: Sync with FreeBSD.
Sascha Wildner [Mon, 26 Apr 2010 16:26:56 +0000 (18:26 +0200)]
ral.4: Sync with FreeBSD.

3 years agokernel - make sysent update
Matthew Dillon [Mon, 26 Apr 2010 16:04:21 +0000 (09:04 -0700)]
kernel - make sysent update

* Update for changes in the extattr family of system calls.

3 years agokernel - Update extattr infrastructure
Matthew Dillon [Mon, 26 Apr 2010 16:03:04 +0000 (09:03 -0700)]
kernel - Update extattr infrastructure

* Update the extattr infrastructure to match FreeBSD.  Numerous arguments
  have changed in the system calls and created an issue with libarchive.

3 years agodiskless: Miscellaneous fixes.
Sascha Wildner [Mon, 26 Apr 2010 10:11:12 +0000 (12:11 +0200)]
diskless: Miscellaneous fixes.

* Increase the space reserved for /etc whose size has grown considerably
  due to the blacklists in /etc/ssh.

* Remove the check for devfs which has been around long enough.

* Use tmpfs instead of mfs.

* Pass whatever is in md_size (e.g. 10M) directly to mount_tmpfs. For
  backwards compatibility, treat number-only values as sectors (i.e.,
  multiply by 512 and pass that to mount_tmpfs).

Submitted-by: Rumko <rumcic@gmail.com>
Dragonfly-bug: <http://bugs.dragonflybsd.org/issue1732>

3 years agoWrong variable used.
Rumko [Wed, 14 Apr 2010 21:09:48 +0000 (21:09 +0000)]
Wrong variable used.

3 years agodsched.h - don't provide _KERNEL_STRUCTURES stuff
Alex Hornung [Mon, 26 Apr 2010 08:27:22 +0000 (08:27 +0000)]
dsched.h - don't provide _KERNEL_STRUCTURES stuff

* Don't provide anything for _KERNEL_STRUCTURES, since that would
  require sysctl.h to export the sysctl_ctx_list for _KERNEL_STRUCTURES,
  too.

Reported-by: luxh, Siju George
3 years agoReally exclude the ndis(4) manual page from the build for now.
Sascha Wildner [Mon, 26 Apr 2010 06:03:50 +0000 (08:03 +0200)]
Really exclude the ndis(4) manual page from the build for now.

3 years agokern/subr_firmware.c: Oops, forgot a {
Sascha Wildner [Sun, 25 Apr 2010 23:54:22 +0000 (01:54 +0200)]
kern/subr_firmware.c: Oops, forgot a {

3 years agofirmware(9): Check for securelevel > 0 instead of PRIV_ROOT.
Sascha Wildner [Sun, 25 Apr 2010 22:19:26 +0000 (00:19 +0200)]
firmware(9): Check for securelevel > 0 instead of PRIV_ROOT.

The patch is modeled after FreeBSD and fixes a panic when loading a
firmware image.

Submitted-by: Johannes Hofmann <johannes.hofmann@gmx.de>
Dragonfly-bug: <http://bugs.dragonflybsd.org/issue1735>

3 years agodsched - Support policy switching via sysctl
Alex Hornung [Sun, 25 Apr 2010 21:21:24 +0000 (21:21 +0000)]
dsched - Support policy switching via sysctl

* Add the sysctl dsched.policy tree to show the current policy of disks
  / serial numbers of disks and allow for switching to another available
  policy.

Requested-by: Sascha Wildner
3 years agoMove dsched to sys/kern/.
Sascha Wildner [Sun, 25 Apr 2010 14:30:58 +0000 (16:30 +0200)]
Move dsched to sys/kern/.

3 years agoRemove firmware(9) from LINT, too.
Sascha Wildner [Sun, 25 Apr 2010 12:53:16 +0000 (14:53 +0200)]
Remove firmware(9) from LINT, too.

3 years agoMake firmware(9) standard again instead of optional.
Sascha Wildner [Sun, 25 Apr 2010 12:50:29 +0000 (14:50 +0200)]
Make firmware(9) standard again instead of optional.

ral(4), which is in GENERIC, uses it and we don't want all people with
GENERIC-derived systems to have to add 'device firmware' to their
configs.

3 years agoifconfig(8): Raise WARNS to 2 and fix the resulting warnings.
Sascha Wildner [Sun, 25 Apr 2010 12:00:35 +0000 (14:00 +0200)]
ifconfig(8): Raise WARNS to 2 and fix the resulting warnings.

3 years agofirmware(9): GC our old firmware framework in favor of the one from FreeBSD.
Sascha Wildner [Sun, 25 Apr 2010 11:23:15 +0000 (13:23 +0200)]
firmware(9): GC our old firmware framework in favor of the one from FreeBSD.

* Move the helper module to kern/firmware and name it firmware.ko. Also
  make it buildable into the kernel. Add it to GENERIC.

* Adjust mxge(4) to use the new framework, too. Therefore, bring in firmware
  modules from FreeBSD.

* Update the firmware(9) manual page.

* Bring in other missing bits and pieces (share/examples/kld/firmware).

* Adjust 'make upgrade'.

3 years agoRemove /usr/include/kadm5 and sort etc/mtree/BSD.include.dist.
Sascha Wildner [Sat, 24 Apr 2010 23:43:22 +0000 (01:43 +0200)]
Remove /usr/include/kadm5 and sort etc/mtree/BSD.include.dist.

3 years agoSync the wlan*(4) manual pages with FreeBSD for the 802.11 update.
Sascha Wildner [Sat, 24 Apr 2010 20:55:20 +0000 (22:55 +0200)]
Sync the wlan*(4) manual pages with FreeBSD for the 802.11 update.

3 years agoAdjust a bit more for the 802.11 upgrade.
Sascha Wildner [Sat, 24 Apr 2010 14:11:31 +0000 (16:11 +0200)]
Adjust a bit more for the 802.11 upgrade.

3 years agomptutil.8: Remove trailing whitespace.
Sascha Wildner [Sat, 24 Apr 2010 14:07:35 +0000 (16:07 +0200)]
mptutil.8: Remove trailing whitespace.

3 years agomount_nfs.8: Write "RFC xxxx" instead of "RFCxxxx".
Sascha Wildner [Sat, 24 Apr 2010 14:07:09 +0000 (16:07 +0200)]
mount_nfs.8: Write "RFC xxxx" instead of "RFCxxxx".

3 years agopthread.3: Add missing section.
Sascha Wildner [Sat, 24 Apr 2010 14:06:21 +0000 (16:06 +0200)]
pthread.3: Add missing section.

3 years agoAdjust manual page installation for the 802.11 upgrade.
Sascha Wildner [Sat, 24 Apr 2010 13:17:39 +0000 (15:17 +0200)]
Adjust manual page installation for the 802.11 upgrade.

3 years agoevtr: ktrfmt.tab.h is not supposed to be installed to /usr/include.
Sascha Wildner [Sat, 24 Apr 2010 10:32:21 +0000 (12:32 +0200)]
evtr: ktrfmt.tab.h is not supposed to be installed to /usr/include.

3 years agomanpages: Fix some mdoc issues and remove trailing whitespace.
Sascha Wildner [Sat, 24 Apr 2010 01:47:23 +0000 (03:47 +0200)]
manpages: Fix some mdoc issues and remove trailing whitespace.

3 years agoxstr(1): Sync with FreeBSD.
Sascha Wildner [Sat, 24 Apr 2010 01:45:23 +0000 (03:45 +0200)]
xstr(1): Sync with FreeBSD.

3 years agodsched - serno support
Alex Hornung [Fri, 23 Apr 2010 10:17:09 +0000 (10:17 +0000)]
dsched - serno support

* Add support for serno loader tunables, e.g. dsched.policy.WD1293193 =
  "fq".

* Incidentally do another name change on the loader tunables from
  kern.dsched.* to dsched.* to have the same namespace as the sysctls.

* Add a sysctl dsched.policies showing the currently available policies.

3 years agoevtr: hook into the x86_64 build
Aggelos Economopoulos [Fri, 23 Apr 2010 14:22:18 +0000 (17:22 +0300)]
evtr: hook into the x86_64 build

Submitted-by: swildner@
3 years agoevtranalyze: clean up warnings
Aggelos Economopoulos [Fri, 23 Apr 2010 14:17:28 +0000 (17:17 +0300)]
evtranalyze: clean up warnings

Compilation-on-x86_64-by: swildner@

3 years agolibevtr: portability fixes
Aggelos Economopoulos [Fri, 23 Apr 2010 14:12:51 +0000 (17:12 +0300)]
libevtr: portability fixes

Compilation-on-x86_64-by: swildner@

3 years agolibevtr: get rid of unused yyunput() definition
Aggelos Economopoulos [Fri, 23 Apr 2010 14:10:14 +0000 (17:10 +0300)]
libevtr: get rid of unused yyunput() definition

Reminder-by: swildner@
3 years agolibevtr.h: cleanup evtr.h a bit
Aggelos Economopoulos [Fri, 23 Apr 2010 12:24:17 +0000 (15:24 +0300)]
libevtr.h: cleanup evtr.h a bit

Prodded-by: alexh@
3 years agoevtranalyze: fix thinko in debug code
Aggelos Economopoulos [Fri, 23 Apr 2010 11:37:23 +0000 (14:37 +0300)]
evtranalyze: fix thinko in debug code

3 years agoevtr: initial implementation of a DSL
Aggelos Economopoulos [Wed, 17 Mar 2010 23:48:54 +0000 (01:48 +0200)]
evtr: initial implementation of a DSL

libevtr:
- abstract out the hash table, convert to using uintptr_t's
  internally
- move a bunch of fields and most of the error logic from
  evtr to evtr_query
- don't try to resolve format strings to id's and reject
  records that don't match early; this needs way more care
  now that we might want to interpret the format strings
- start implementation of a minimal Domain Specific Language
- add the ability to filter based on the event type
- lots of fixes all around

evtranalyze:
- catch up w/ API changes in libevtr
- add toy 'stats' command