dragonfly.git
4 years agodevelopment.7: Add style(9) xref and a pointer to dragonfly.el.
Sascha Wildner [Sat, 5 Dec 2009 19:37:22 +0000 (20:37 +0100)]
development.7: Add style(9) xref and a pointer to dragonfly.el.

4 years agoMove tools/tools/editing/dragonfly.el to share/misc.
Sascha Wildner [Sat, 5 Dec 2009 19:30:33 +0000 (20:30 +0100)]
Move tools/tools/editing/dragonfly.el to share/misc.

4 years agoAdd a profile for indent(1) which matches our style quite well.
Sascha Wildner [Sat, 5 Dec 2009 18:51:28 +0000 (19:51 +0100)]
Add a profile for indent(1) which matches our style quite well.

Adapted-from: NetBSD

4 years agoClean up some Makefiles (let the user decide which options they want).
Sascha Wildner [Sat, 5 Dec 2009 18:14:19 +0000 (19:14 +0100)]
Clean up some Makefiles (let the user decide which options they want).

4 years agoMerge commit 'lentferj/top_update'
Aggelos Economopoulos [Sat, 5 Dec 2009 17:57:01 +0000 (19:57 +0200)]
Merge commit 'lentferj/top_update'

4 years agotop - correctly prototype compare_* functions. Remove debug option from Makefile.
Jan Lentfer [Sat, 5 Dec 2009 17:41:19 +0000 (18:41 +0100)]
top - correctly prototype compare_* functions. Remove debug option from Makefile.

4 years agoHAMMER VFS - Change default from version 3 to version 4
Matthew Dillon [Sat, 5 Dec 2009 17:20:27 +0000 (09:20 -0800)]
HAMMER VFS - Change default from version 3 to version 4

* Version 4 is now the default for newfs_hammer and is no longer
  considered a work in progress.

* Filesystems may be upgraded to version 4 in-place.  The UNDO FIFO
  (typically 1G) is reformatted so the upgrade might take a minute or
  two depending.

* Version 4 allows the UNDO FIFO to be flushed without also having
  to flush the volume header, removing 2 of the 4 disk syncs typically
  required for an fsync() and removing 1 of the 2 disk syncs typically
  required for a flush sequence.

  This is accomplished by adding a sequence number of the UNDO entries
  in the FIFO and preventing them from crossing a 512-byte boundary,
  so each 512-byte block starts with an entry.  HAMMER's mount code
  is then able to scan the UNDO FIFO to determine the start and end
  for recovery purposes.

* Version 4 implements the infrastructure needed for REDO, but does not
  implement any REDO operations.

4 years agotop - style cleanup and removal of unnecessary code
Jan Lentfer [Sat, 5 Dec 2009 16:58:45 +0000 (17:58 +0100)]
top - style cleanup and removal of unnecessary code

4 years agoImport hotplugd(8) from OpenBSD.
Alexander Polakov [Fri, 4 Dec 2009 22:32:26 +0000 (01:32 +0300)]
Import hotplugd(8) from OpenBSD.

4 years agoImport hotplug(4) pseudo-device.
Alexander Polakov [Fri, 4 Dec 2009 21:43:14 +0000 (00:43 +0300)]
Import hotplug(4) pseudo-device.

Obtained-from: OpenBSD.

4 years agokernel - Fix recursive lockmgr lock panic when creating a hardlink
Matthew Dillon [Fri, 4 Dec 2009 22:32:48 +0000 (14:32 -0800)]
kernel - Fix recursive lockmgr lock panic when creating a hardlink

* HAMMER uses non-recursive vnode locks.  Fix a case where attempting
  to hardlink A to B where both already exist and point to the same
  inode can result in a panic if B is not in the namecache.

  HAMMER must temporarily lock the vnode it returns in the resolver
  and kern_link() was already holding A locked.  This all occurs
  before kern_link() is able to check whether A and B are the same
  so it can't be avoided.

  Solve the problem by unlocking A while resolving B.

Reported-by: Goetz Isenmann <info@goetz-isenmann.de>
4 years agoMerge commit 'lentferj/top_update'
Aggelos Economopoulos [Fri, 4 Dec 2009 22:27:49 +0000 (00:27 +0200)]
Merge commit 'lentferj/top_update'

4 years agotop - Import DragonFly specific patches for 3.8beta1.
Jan Lentfer [Fri, 4 Dec 2009 21:21:59 +0000 (22:21 +0100)]
top - Import DragonFly specific patches for 3.8beta1.
       * fix commands.c renice function to prevent segfault on wrong number of parameters.

4 years agoHAMMER VFS - Fix bug in statvfs()
Matthew Dillon [Thu, 3 Dec 2009 23:13:02 +0000 (15:13 -0800)]
HAMMER VFS - Fix bug in statvfs()

* statvfs() had a coding error which caused it to return 0 free space
  until the first statfs() call was made.

Reported-by: Johannes Hofmann <johannes.hofmann@gmx.de>
4 years agosysperf /call-loop test - Ensure the nop() call is not optimized out
Matthew Dillon [Thu, 3 Dec 2009 23:11:47 +0000 (15:11 -0800)]
sysperf /call-loop test - Ensure the nop() call is not optimized out

4 years agovkernel test - Add a NFS root / boot feature to the vkernel test environment
Matthew Dillon [Thu, 3 Dec 2009 23:09:12 +0000 (15:09 -0800)]
vkernel test - Add a NFS root / boot feature to the vkernel test environment

* Add a NFS root / boot feature to the vkernel test environment.  By
  default set IP to 10.0.0.53 and mount the root from 10.0.0.1:/netboot2,
  using overridable make variables.

4 years agohammer utility - minor adjustment to snaprm
Matthew Dillon [Thu, 3 Dec 2009 23:04:25 +0000 (15:04 -0800)]
hammer utility - minor adjustment to snaprm

* Allow the removal of snapshots with a transaction id of 0.  Such
  snapshots are a degenerate case which can occur only during testing.

4 years agoadventure(6): Fix saving games on x86_64.
Sascha Wildner [Thu, 3 Dec 2009 22:56:44 +0000 (23:56 +0100)]
adventure(6): Fix saving games on x86_64.

Submitted-by: tuxillo
4 years agocxm_extract_fw(8): Fix indent.
Sascha Wildner [Thu, 3 Dec 2009 21:12:14 +0000 (22:12 +0100)]
cxm_extract_fw(8): Fix indent.

4 years agoMerge branch 'master' of ssh://crater.dragonflybsd.org/repository/git/dragonfly
Matthew Dillon [Thu, 3 Dec 2009 20:59:32 +0000 (12:59 -0800)]
Merge branch 'master' of ssh://crater.dragonflybsd.org/repository/git/dragonfly

4 years agocpdup - Multiple additions, fixes, and one removal
Matthew Dillon [Thu, 3 Dec 2009 20:55:24 +0000 (12:55 -0800)]
cpdup - Multiple additions, fixes, and one removal

* Make -x/-X (cpignore) work with remote sources.

* Add Makefile hack for _ST_FLAGS_PRESENT_ on FreeBSD.

* Suppress "Handshaked with <host>" and "Not running as root"
  messages when the -q option was specified.

* Mount points are now skipped completely.  (Before this,
  the directories and .cpignore inside them were still read.)

* Extract scanning directories (src and dst) from DoCopy() into
  a function ScanDir(), and use ScanDir() for both src and dst.

* Remove threads support.  It never worked very well and is
  getting in the way of new development.  The intention is to
  develop a more efficient pipelined algorithm in the future
  which does not require threading the program.

* Use getopt(3) instead of non-standard parser, making sure
  that all options still work exactly as documented in the
  manual page.

* Use fnmatch(3) instead of WildCmp(), adding support for
  bracket expressions (e.g. [xyz0-9]) and escaping (e.g. foo\*).
  I also suspect that fnmatch() is more efficient.

* Use the same syntax for remote paths as scp(1), so local paths
  that contain colons can be specified (e.g. "./foo:bar");
  extract that code into its own function SplitRemote().

* Add protocol commands hc_geteuid() and hc_getgroups().
  Use them to properly check permissions for various operations
  that would require root privileges on the target machine.

* Bugfix:  If a symlink already existed on the target but the
  owner/group didn't match, cpdup missed to update it.
  Added a call to hc_lchown() to fix that, if privileges allow.

* Bugfix:  The dispatch[] array wasn't initialized, so the slave
  crashed upon an unknown command instead of calling rc_badop().

* Bump protocol version to 3 in order to be able to maintain
  backwards compatibility with older clients.

* Bump utility version to 1.16.

* Make the source compile with WARNS=6.
  It still doesn't pass -ansi -pedantic, though.  :-)

* Document -j0, -k and -K in usage message (misc.c).

* Update the manual page, fix mdoc markup and various details.

* Add "ssh security tips" section to the BACKUPS text file.

Submitted-by: Oliver Fromme <olli@fromme.com>
4 years agocxm_extract_fw.8: Small mdoc correction.
Sascha Wildner [Thu, 3 Dec 2009 20:54:38 +0000 (21:54 +0100)]
cxm_extract_fw.8: Small mdoc correction.

4 years agoMerge commit 'lentferj/bind_vendor2'
Aggelos Economopoulos [Thu, 3 Dec 2009 16:44:00 +0000 (18:44 +0200)]
Merge commit 'lentferj/bind_vendor2'

4 years agobind - Changed bind dependend Makefiles to fit to new contrib/bind without version...
Jan Lentfer [Thu, 3 Dec 2009 14:24:20 +0000 (15:24 +0100)]
bind - Changed bind dependend Makefiles to fit to new contrib/bind without version tag.

4 years agoMerge branch 'vendor/BIND' into bind_vendor2
Jan Lentfer [Thu, 3 Dec 2009 14:22:11 +0000 (15:22 +0100)]
Merge branch 'vendor/BIND' into bind_vendor2

4 years agobind - Removed version tag from contrib directory and updated README.DRAGONFLY.
Jan Lentfer [Thu, 3 Dec 2009 13:46:20 +0000 (14:46 +0100)]
bind - Removed version tag from contrib directory and updated README.DRAGONFLY.

4 years agoMerge branch 'master' of ssh://crater.dragonflybsd.org/repository/git/dragonfly
Matthew Dillon [Wed, 2 Dec 2009 22:08:08 +0000 (14:08 -0800)]
Merge branch 'master' of ssh://crater.dragonflybsd.org/repository/git/dragonfly

4 years agoUnbreak ptrace on x86_64
Aggelos Economopoulos [Tue, 1 Dec 2009 12:46:09 +0000 (14:46 +0200)]
Unbreak ptrace on x86_64

The asm code was calling __tls_get_addr in order to set errno to 0
before the system call and that was trashing registers holding the
syscall arguments. Don't bother setting errno to 0 anymore (the
in-tree users are careful to set that themselves when appropriate).
While here, declare it properly as a weak symbol. At this point we
could just drop the hand-written assembly.

Proxies-to-x86_64-dfly: Antonio Huete Jimenez, Jan Lentfer
Dragonfly-bug: http://bugs.dragonflybsd.org/issue1571

4 years agoRegenerate the pciconf(8) database
Sascha Wildner [Tue, 1 Dec 2009 11:29:58 +0000 (12:29 +0100)]
Regenerate the pciconf(8) database

...from the following files:

Hart:    Jan 22, 2008 (version 671)
Boemler: Dev  1, 2009
Mares:   Nov 23, 2009

4 years agotop - Import 3.8beta1 sources into new vendor/TOP branch. vendor/TOP
Jan Lentfer [Sat, 28 Nov 2009 19:16:07 +0000 (20:16 +0100)]
top - Import 3.8beta1 sources into new vendor/TOP branch.

4 years agotop - Remove contrib/top from base in perparation of update.
Jan Lentfer [Sat, 28 Nov 2009 18:44:54 +0000 (19:44 +0100)]
top - Remove contrib/top from base in perparation of update.

4 years agolibm: Fix typos in Makefile comments.
Stathis Kamperis [Sat, 28 Nov 2009 15:34:07 +0000 (17:34 +0200)]
libm: Fix typos in Makefile comments.

4 years agolibm: Import nearbyint{,f}() functions from FreeBSD.
Stathis Kamperis [Sat, 28 Nov 2009 12:28:58 +0000 (14:28 +0200)]
libm: Import nearbyint{,f}() functions from FreeBSD.

nearbyintl() requires rintl() which we currently miss.

Dragonfly-bug: <http://bugs.dragonflybsd.org/issue1546>

4 years agocpdup - Fix the sense of a uid check when files are otherwise identical
Matthew Dillon [Sat, 28 Nov 2009 04:09:05 +0000 (20:09 -0800)]
cpdup - Fix the sense of a uid check when files are otherwise identical

* Fix the sense of a uid check when files are otherwise identical
  (Oliver).

* Also slightly reduce network overhead by removing unnecessary chflags
  calls when running as a user and the only differences are in the
  root-only chflags bits (Matt).

Submitted-by: Oliver Fromme <olli@fromme.com> (RunningAsRoot fix)
4 years agosyscons(4): Use 100x37 when the VESA800X600 flag is specified.
Sascha Wildner [Fri, 27 Nov 2009 21:51:14 +0000 (22:51 +0100)]
syscons(4): Use 100x37 when the VESA800X600 flag is specified.

4 years agovga(4): Remove VGA_SLOW_IOACCESS option.
Sascha Wildner [Tue, 24 Nov 2009 06:01:37 +0000 (07:01 +0100)]
vga(4): Remove VGA_SLOW_IOACCESS option.

Byte outs should not be needed anymore since years.

For example, they are described as being obsolete in M.Abrash's
"Graphics Programming Black Book" (1997).

4 years agoMerge branch 'master' of ssh://swildner@crater.dragonflybsd.org/repository/git/dragonfly
Sascha Wildner [Fri, 27 Nov 2009 12:17:11 +0000 (13:17 +0100)]
Merge branch 'master' of ssh://swildner@crater.dragonflybsd.org/repository/git/dragonfly

4 years agonpx(4): Silence a warning in the SMP build.
Sascha Wildner [Fri, 27 Nov 2009 12:16:58 +0000 (13:16 +0100)]
npx(4): Silence a warning in the SMP build.

4 years agoMerge branch 'master' of ssh://crater.dragonflybsd.org/repository/git/dragonfly
Michael Neumann [Fri, 27 Nov 2009 11:16:50 +0000 (12:16 +0100)]
Merge branch 'master' of ssh://crater.dragonflybsd.org/repository/git/dragonfly

4 years agoSync man page with code
Michael Neumann [Fri, 27 Nov 2009 11:15:35 +0000 (12:15 +0100)]
Sync man page with code

DragonFly uses size_t instead of int.

4 years agoMerge branch 'vendor/BIND' into bind_vendor2
Jan Lentfer [Fri, 27 Nov 2009 09:07:36 +0000 (10:07 +0100)]
Merge branch 'vendor/BIND' into bind_vendor2

4 years agobind - Upgraded vendor branch to 9.5.2-P1
Jan Lentfer [Fri, 27 Nov 2009 09:06:46 +0000 (10:06 +0100)]
bind - Upgraded vendor branch to 9.5.2-P1

4 years agobind - Applied DragonFly specific patches for 9.5.2
Jan Lentfer [Fri, 27 Nov 2009 09:02:05 +0000 (10:02 +0100)]
bind - Applied DragonFly specific patches for 9.5.2

4 years agoMerge branch 'vendor/BIND' into bind_vendor2
Jan Lentfer [Fri, 27 Nov 2009 08:59:25 +0000 (09:59 +0100)]
Merge branch 'vendor/BIND' into bind_vendor2

4 years agoImport bind 9.5.2 vendor sources.
Jan Lentfer [Fri, 27 Nov 2009 08:58:23 +0000 (09:58 +0100)]
Import bind 9.5.2 vendor sources.

4 years agoDeleted wrongly imported bind sources from base.
Jan Lentfer [Fri, 27 Nov 2009 08:49:04 +0000 (09:49 +0100)]
Deleted wrongly imported bind sources from base.

4 years agoDetect FPU by checking CPUID features.
Alexander Polakov [Thu, 26 Nov 2009 17:17:34 +0000 (20:17 +0300)]
Detect FPU by checking CPUID features.

Fixes problems on AMD Geode LX-800.

Reported-by: bleader <bleader@ratonland.org>
Obtained-from: FreeBSD

4 years agoboot - Improve lsdev (2)
Alex Hornung [Thu, 26 Nov 2009 14:31:59 +0000 (14:31 +0000)]
boot - Improve lsdev (2)

* Mark partitions from which it may be possible to load modules with a
  '*' prefix.

* Change loader(8) man page accordingly.

Suggested-by: Sascha Wildner
4 years agoRevert "AMD64 - add missing assignments to fix garbled backtrace."
YONETANI Tomokazu [Thu, 26 Nov 2009 13:26:43 +0000 (22:26 +0900)]
Revert "AMD64 - add missing assignments to fix garbled backtrace."

This reverts commit 6c865583cbc5149a2adcc96408bd969a23da4433.
The added code has no effect, since in frame_type == NORMAL case
it never reaches the switch statement at the bottom of db_nexttrace().

4 years agoTest
Antonio Huete Jimenez [Wed, 25 Nov 2009 21:53:55 +0000 (22:53 +0100)]
Test

4 years agoAMD64 - add missing assignments to fix garbled backtrace.
YONETANI Tomokazu [Wed, 25 Nov 2009 16:45:45 +0000 (01:45 +0900)]
AMD64 - add missing assignments to fix garbled backtrace.

arguments are still missing because we don't have working db_numargs().

4 years agoMerge branch 'master' of git://git.dragonflybsd.org/dragonfly
Michael Neumann [Wed, 25 Nov 2009 11:57:00 +0000 (12:57 +0100)]
Merge branch 'master' of git://git.dragonflybsd.org/dragonfly

4 years agohammer expand: Refactor a bit
Michael Neumann [Tue, 24 Nov 2009 21:08:24 +0000 (22:08 +0100)]
hammer expand: Refactor a bit

4 years agohammer expand: Fix "umount flushing...giving up!" problem.
Michael Neumann [Tue, 24 Nov 2009 19:42:36 +0000 (20:42 +0100)]
hammer expand: Fix "umount flushing...giving up!" problem.

No need to modify header of the volume to be added. This fixes
the outstanding "umount flushing...giving up" problem.

4 years agoMerge branch 'master' of ssh://crater.dragonflybsd.org/repository/git/dragonfly
Matthew Dillon [Tue, 24 Nov 2009 19:09:24 +0000 (11:09 -0800)]
Merge branch 'master' of ssh://crater.dragonflybsd.org/repository/git/dragonfly

4 years agocpdup - Add -F<ssh-opt>, add code to remove need for FreeBSD ports patch
Matthew Dillon [Tue, 24 Nov 2009 19:07:18 +0000 (11:07 -0800)]
cpdup - Add -F<ssh-opt>, add code to remove need for FreeBSD ports patch

* Add -F<ssh-opt>, allow arbitrary options to be passed to ssh.

* Ignore UFS2 snapshots (FreeBSD)

* Add missing #include (FreeBSD)

Submitted-by: Oliver Fromme <olli@fromme.com>
4 years agohammer expand: Move free bigblock accounting out of loop
Michael Neumann [Tue, 24 Nov 2009 16:47:23 +0000 (17:47 +0100)]
hammer expand: Move free bigblock accounting out of loop

4 years agoAllow null mounts to accept -o update
Stathis Kamperis [Sun, 22 Nov 2009 16:54:57 +0000 (18:54 +0200)]
Allow null mounts to accept -o update

Dragonfly-bug: <http://bugs.dragonflybsd.org/issue1537>
Reviewed-by: dillon@, y0netan1@, swildner@
Final patch contains modifications proposed by y0netan1@.

4 years agobind - restore lost resolv.h and revive weak entry points for res_*
Jan Lentfer [Thu, 19 Nov 2009 20:26:40 +0000 (21:26 +0100)]
bind - restore lost resolv.h and revive weak entry points for res_*

4 years agomorse: use cos envelope and 8ms ramp time
Simon Schubert [Thu, 19 Nov 2009 22:53:14 +0000 (23:53 +0100)]
morse: use cos envelope and 8ms ramp time

The previous code still created key clicks, probably due to the short
(~2ms) ramp time.  Using a simple cosine envelope and 8ms ramp time
reduces clicks significantly.

4 years agoRevert part of 34cbd93da4f67eb751b2b0cfaf0f268ac441c9ce.
Sascha Wildner [Sat, 21 Nov 2009 07:52:05 +0000 (08:52 +0100)]
Revert part of 34cbd93da4f67eb751b2b0cfaf0f268ac441c9ce.

.Rs only line breaks in SEE ALSO. In STANDARDS, we still need the .Pp.

4 years agomandoc(1): Update to 1.9.14.
Sascha Wildner [Thu, 19 Nov 2009 08:31:02 +0000 (09:31 +0100)]
mandoc(1): Update to 1.9.14.

- fixed proper font cascading (no double-mode in -Tascii)
- added correct scoping of \f
- fixed handling of \c for all input/outputs

Thanks-to: Kristaps Dzonsons

4 years agoatomic - fix inline assembly
Alex Hornung [Wed, 18 Nov 2009 19:54:13 +0000 (19:54 +0000)]
atomic - fix inline assembly

* Mark eax as early clobber in atomic_intr_cond_try. This solves a
  longstanding and previously conditionalized issue with clang.
  Marking it as early clobber avoids it being used as a register
  elsewhere, apart from explicit uses.
  GCC behaviour is not affected.

Suggested-by: Dale Johannesen <dalej@apple.com>
4 years agodevfs - Remove old debug
Alex Hornung [Wed, 18 Nov 2009 12:47:00 +0000 (12:47 +0000)]
devfs - Remove old debug

* Remove old debug/warning messages about device removal:
"devfs: Please check that only the right *** devices were
removed!"
  as they are not needed anymore.

Reported-By: Sascha Wildner, Hasso Tepper
4 years agoboot - Improve lsdev
Alex Hornung [Wed, 18 Nov 2009 11:53:46 +0000 (11:53 +0000)]
boot - Improve lsdev

Following functionality has been added to boot's lsdev:

* Add support for disklabel64

* Add knowledge about other partition types such as HAMMER, ZFS and JFS2

* Add knowledge about NetBSD slices, and also try to read the netbsd
  disklabel

Dragonfly-bug: http://bugs.dragonflybsd.org/issue1536

NOTE: there is still some problem with the offset of partitions in a
disklabel64. For some reason, the offset is always zero.

4 years agoleftover from 0202303b: fix critical section mismatch.
YONETANI Tomokazu [Wed, 18 Nov 2009 09:42:00 +0000 (18:42 +0900)]
leftover from 0202303b: fix critical section mismatch.

The caller of ext2_fsync_bp() no longer enters a critical section,
so this function shouldn't attempt to exit from or re-enter it either.

DragonFly-bug: <http://bugs.dragonflybsd.org/issue1601>

4 years agoFix some typos/wording in our manual pages.
Sascha Wildner [Tue, 17 Nov 2009 13:16:55 +0000 (14:16 +0100)]
Fix some typos/wording in our manual pages.

4 years agodriver.9: improve code example
Alexander Polakov [Tue, 17 Nov 2009 13:06:56 +0000 (16:06 +0300)]
driver.9: improve code example

4 years agohammer cleanup: HAMMER version 3+ slave PFS fix
Thomas Nikolajsen [Mon, 16 Nov 2009 21:25:10 +0000 (22:25 +0100)]
hammer cleanup: HAMMER version 3+ slave PFS fix

For HAMMER version 3+ slave PFS without PFS shapshots directive set is legal.

Slave PFS without snapshots directive set was always rejected.

4 years agohammer viconfig: remove 2nd 'rebalance'
Thomas Nikolajsen [Mon, 16 Nov 2009 21:16:29 +0000 (22:16 +0100)]
hammer viconfig: remove 2nd 'rebalance'

it will be skipped anyway, period hasn't passed since 1st 'rebalance' run.

4 years agops: Sync usage() to SYNOPSIS
Thomas Nikolajsen [Sun, 15 Nov 2009 14:47:38 +0000 (15:47 +0100)]
ps: Sync usage() to SYNOPSIS

4 years agoktrace.2: Add description of kern.ktrace_suid
Thomas Nikolajsen [Sun, 15 Nov 2009 14:29:45 +0000 (15:29 +0100)]
ktrace.2: Add description of kern.ktrace_suid

4 years agohostname.1: Fix markup
Thomas Nikolajsen [Sun, 15 Nov 2009 12:54:55 +0000 (13:54 +0100)]
hostname.1: Fix markup

4 years agoSync zoneinfo database with tzdata2009s from elsie.
Sascha Wildner [Mon, 16 Nov 2009 21:29:24 +0000 (22:29 +0100)]
Sync zoneinfo database with tzdata2009s from elsie.

antarctica:     8.6  -> 8.7
australasia:    8.14 -> 8.15

* Fiji will re-introduce DST from November 29, 2009 to April 25, 2010

* Cosmetic change in 'antarctica' (2:0 -> 2:00)

4 years agoundo.1: Add some words about the new fake transaction id warning.
Sascha Wildner [Mon, 16 Nov 2009 21:18:17 +0000 (22:18 +0100)]
undo.1: Add some words about the new fake transaction id warning.

Suggested-by: polachok
While here, add an "EXIT STATUS" section and fix a sentence about
hammer synctid (filesystem argument is not optional).

4 years agoAttempt to fix "ACPI Warning: Cannot release the ACPI Global Lock"
Alexander Polakov [Mon, 16 Nov 2009 19:12:14 +0000 (22:12 +0300)]
Attempt to fix "ACPI Warning: Cannot release the ACPI Global Lock"

Reported-by: Edward O'Callaghan <eocallaghan@auroraux.org>
4 years agoundo: fix hanging on fake transaction ids.
Alexander Polakov [Mon, 16 Nov 2009 19:07:39 +0000 (22:07 +0300)]
undo: fix hanging on fake transaction ids.

Reported-by: Justin Sherrill <justin@shiningsilence.com>
4 years agoSSHD - Do not attempt to free environ or its contents
Matthew Dillon [Mon, 16 Nov 2009 02:38:11 +0000 (18:38 -0800)]
SSHD - Do not attempt to free environ or its contents

* DragonFly's libc manages environ in such a way that if sshd attempts to
  free it, libc blows up and causes sshd to crash.

* This may not be the best fix but for now I really do not want to
  completely rewrite libc's environment handling code.

Reported-by: YONETANI Tomokazu <qhwt+dfly@les.ath.cx>
4 years agoCover some of the recently added ACPI modules by the LINT build.
Sascha Wildner [Mon, 16 Nov 2009 02:12:34 +0000 (03:12 +0100)]
Cover some of the recently added ACPI modules by the LINT build.

While here, add some better descriptions for ACPI stuff in LINT (taken
from FreeBSD).

4 years agoHAMMER VFS - Remove some debug kprintfs from the rebalance code
Matthew Dillon [Sun, 15 Nov 2009 20:26:52 +0000 (12:26 -0800)]
HAMMER VFS - Remove some debug kprintfs from the rebalance code

* Remove two debug kprintf()s for cases which have now been well tested.

4 years agoSSHD - Change default security
Matthew Dillon [Sun, 15 Nov 2009 18:33:06 +0000 (10:33 -0800)]
SSHD - Change default security

This only effects fresh installs.

* Allow root logins via public key only (previously: root logins not allowed
  at all via ssh).  I've done this for years, it allows an authorized_keys
  file in ~root/.ssh to work without having to adjust /etc/ssh/sshd_config
  on every install.

* Do not allow any login, root or otherwise, via tunneled plaintext password
  (previously: non-root logins were allowed via plaintext password).

  Often people want plaintext passwords on e.g. workstations for xdm or
  console logins, but do not want to allow their use over networked
  connections.  Since tunneled plaintext passwords are not considered very
  secure and alternatives exist (aka public key logins) we now disallow
  them by default.

4 years agoMerge commit 'crater/master'
Aggelos Economopoulos [Sat, 14 Nov 2009 21:03:44 +0000 (23:03 +0200)]
Merge commit 'crater/master'

4 years agoMerge branch 'less_update'
Aggelos Economopoulos [Sat, 14 Nov 2009 21:00:40 +0000 (23:00 +0200)]
Merge branch 'less_update'

4 years agoMerge branch 'master' of git://chlamydia.fs.ei.tum.de/dragonfly
Aggelos Economopoulos [Sat, 14 Nov 2009 20:58:43 +0000 (22:58 +0200)]
Merge branch 'master' of git://chlamydia.fs.ei.tum.de/dragonfly

4 years agokernconf.5,config.8: minor cleanup
Thomas Nikolajsen [Sat, 14 Nov 2009 14:59:45 +0000 (15:59 +0100)]
kernconf.5,config.8: minor cleanup

 * sort FILES section

 * add X86_64_GENERIC to config.8 & mention that GENERIC is i386 specific

 * mandoc(1) clean kerconf.5 by removing .Xo / .Xc & other minor things

4 years agohammer: minor doc update
Thomas Nikolajsen [Sat, 14 Nov 2009 14:43:51 +0000 (15:43 +0100)]
hammer: minor doc update

 * SYNOPSIS for -f changed to just '-f blkdevs'

 * sync SYNOPSIS & usage()

 * s/filesystem/file system/ (was already used in most places)

 * add description for show-undo

 * fix a few minor typos

4 years agohammer info: align display, include PFS#0 & show correct snapshot count
Thomas Nikolajsen [Sat, 14 Nov 2009 14:08:46 +0000 (15:08 +0100)]
hammer info: align display, include PFS#0 & show correct snapshot count

 * show snapshot count for HAMMER version 2- & 3+

 * fix snapshot count for HAMMER version 3+

 * show HAMMER version

 * show inode count

 * show PFS #0 (HAMMER FS)

 * align display

4 years agoman pages: remove reference to /usr/share/doc/{psd,smm,usd}
Thomas Nikolajsen [Sat, 14 Nov 2009 09:55:14 +0000 (10:55 +0100)]
man pages: remove reference to /usr/share/doc/{psd,smm,usd}

/usr/share/doc/{psd,smm,usd}, 4.4BSD documents apart from man pages,
haven't been installed on DragonFly for several years.

Also improve references for articles to make it easier searching them.

4 years agobusdma: Put alignment/boundary check failure under bootverbose
Thomas Nikolajsen [Wed, 11 Nov 2009 19:50:36 +0000 (20:50 +0100)]
busdma: Put alignment/boundary check failure under bootverbose

Handle pc64 and vkernel platforms like pc32 was done in
e94a9b8c37942b871eb5b23f0643bce535926862

4 years agohammer: hammer_recover_stage2() may only be called for read-write mounts
Thomas Nikolajsen [Wed, 11 Nov 2009 17:56:47 +0000 (18:56 +0100)]
hammer: hammer_recover_stage2() may only be called for read-write mounts

This fixes panic doing readonly mount.

4 years agoInclude pkgin(1) as part of the official distribution.
Sascha Wildner [Sat, 14 Nov 2009 10:17:20 +0000 (11:17 +0100)]
Include pkgin(1) as part of the official distribution.

pkgin is a useful tool for installing/upgrading packages and their
dependencies, using a remote repository.

It also adds sqlite to the distribution as a dependency.

Discussed-with: tuxillo, dillon

4 years agoRemove nsupdate.8 via 'make upgrade'.
Sascha Wildner [Sat, 14 Nov 2009 09:21:38 +0000 (10:21 +0100)]
Remove nsupdate.8 via 'make upgrade'.

4 years agoImport less-436.
Jan Lentfer [Sat, 14 Nov 2009 08:18:02 +0000 (09:18 +0100)]
Import less-436.

4 years agoMerge branch 'vendor/LESS' into less_update
Jan Lentfer [Sat, 14 Nov 2009 08:08:55 +0000 (09:08 +0100)]
Merge branch 'vendor/LESS' into less_update

4 years agoImport less-436.
Jan Lentfer [Sat, 14 Nov 2009 08:07:53 +0000 (09:07 +0100)]
Import less-436.

4 years agoACPI - Fix type-o which caused clock interrupts to stop working properly in C3.
Matthew Dillon [Sat, 14 Nov 2009 02:27:35 +0000 (18:27 -0800)]
ACPI - Fix type-o which caused clock interrupts to stop working properly in C3.

Submitted-by: Johannes Hofmann <johannes.hofmann@gmx.de>
4 years agoHAMMER Utility - Fix typo in var declaration.
Stathis Kamperis [Thu, 12 Nov 2009 23:43:32 +0000 (01:43 +0200)]
HAMMER Utility - Fix typo in var declaration.

Reported-by: Antonio Huete Jimenez <tuxillo@quantumachine.net>
4 years agoacpi(4) manpages: Some minor fixes.
Sascha Wildner [Thu, 12 Nov 2009 21:42:19 +0000 (22:42 +0100)]
acpi(4) manpages: Some minor fixes.

4 years agoacpi_thermal(4): Silence a warning.
Sascha Wildner [Thu, 12 Nov 2009 21:29:58 +0000 (22:29 +0100)]
acpi_thermal(4): Silence a warning.

4 years agoHAMMER Utility - Enhance the info command
Matthew Dillon [Thu, 12 Nov 2009 20:50:52 +0000 (12:50 -0800)]
HAMMER Utility - Enhance the info command

* Add PFS details to the 'info' directive.

Submitted-by: Antonio Huete Jimenez <tuxillo@quantumachine.net>