dragonfly.git
14 years agoMerge branch 'master' of ssh://crater.dragonflybsd.org/repository/git/dragonfly
Matthew Dillon [Fri, 2 Oct 2009 16:14:30 +0000 (09:14 -0700)]
Merge branch 'master' of ssh://crater.dragonflybsd.org/repository/git/dragonfly

14 years agoHAMMER - Fix root inode creation for slave.
Matthew Dillon [Fri, 2 Oct 2009 16:11:44 +0000 (09:11 -0700)]
HAMMER - Fix root inode creation for slave.

* The root inode for a PFS is only supposed to be created for PFS masters.
  PFS slaves get their root inode from the mirroring operation.  No longer
  create the root inode for a PFS slave.

  The root inode was being incorrectly created for slaves as well as
  masters, causing the root inode from the mirroring operation to be
  ignored.

  This caused the root directory for a slave to show up as empty when
  doing a mirror-copy from a HAMMER version 1 filesystem to a HAMMER
  version 2 filesystem.

Reported-by: "Simon 'corecode' Schubert" <corecode@fs.ei.tum.de>
14 years agoopencrypto - Finish porting
Alex Hornung [Fri, 2 Oct 2009 13:24:19 +0000 (14:24 +0100)]
opencrypto - Finish porting

* Fix all remaining porting issues from the original opencrypto WIP
  commit.
* Remove clashes due to rebase.

14 years agombuf - Add m_apply and m_getptr
Alex Hornung [Mon, 28 Sep 2009 09:52:32 +0000 (10:52 +0100)]
mbuf - Add m_apply and m_getptr

* Import m_apply and m_getptr from FreeBSD.

Obtained-from: FreeBSD

14 years agoWIP crypto/opencrypto update
Sascha Wildner [Sun, 27 Sep 2009 12:49:00 +0000 (14:49 +0200)]
WIP crypto/opencrypto update

14 years agoVIA CPU support: Detect and enable CPU features (RNG, ACE etc.).
Sascha Wildner [Sat, 5 Sep 2009 06:36:27 +0000 (08:36 +0200)]
VIA CPU support: Detect and enable CPU features (RNG, ACE etc.).

Taken from: FreeBSD

14 years agokern_descrip - Remove leftover debug from devfs
Alex Hornung [Fri, 2 Oct 2009 13:55:25 +0000 (14:55 +0100)]
kern_descrip - Remove leftover debug from devfs

* Remove a leftover kprintf from the initial devfs development cycle.

14 years agotaskqueue.9 - Update to reflect ncpu changes
Alex Hornung [Fri, 2 Oct 2009 12:48:22 +0000 (13:48 +0100)]
taskqueue.9 - Update to reflect ncpu changes

14 years agotaskqueue - Improve _start_threads, refactor code
Alex Hornung [Fri, 2 Oct 2009 12:20:30 +0000 (13:20 +0100)]
taskqueue - Improve _start_threads, refactor code

* Change taskqueue_start_threads to take another argument, ncpu, which
  specifies on what cpu the thread(s) should be created.
  If ncpu is <= -1 and count is > 1, then each of the count threads is
  allocated in a round robin fashion to each cpu.

* Switch the per-cpu taskqueues to use the new taskqueue threads API.

Discussed-with: Simon "corecode" Schubert

14 years agoMerge branch 'master' of /repository/git/dragonfly
Peter Avalos [Thu, 1 Oct 2009 19:32:00 +0000 (19:32 +0000)]
Merge branch 'master' of /repository/git/dragonfly

14 years agoUpdate build for libarchive-2.7.1 import.
Peter Avalos [Thu, 1 Oct 2009 19:20:28 +0000 (19:20 +0000)]
Update build for libarchive-2.7.1 import.

14 years agoMerge branch 'vendor/LIBARCHIVE'
Peter Avalos [Thu, 1 Oct 2009 19:13:32 +0000 (19:13 +0000)]
Merge branch 'vendor/LIBARCHIVE'

14 years agoAHCI - Minor fixes
Matthew Dillon [Thu, 1 Oct 2009 19:12:45 +0000 (12:12 -0700)]
AHCI - Minor fixes

* Fix a conditional testing for hot plug removal.  This is mostly
  cosmetic but prevents a bogus "Device removed" message when plugging
  IN devices on ports which do not support hot-plug.

* Print the port capabilities out for each port during device probe.
  This makes it easier to diagnose bug reports if people try to use
  hot-plug on devices (usually old AHCI 1.0 chipsets) which do not
  support hot-plug.  These chipsets do not do device detection on
  the port change event and also usually do not implement CLO, so
  there isn't much the driver can do.

14 years agoImport libarchive-2.7.1.
Peter Avalos [Thu, 1 Oct 2009 19:02:36 +0000 (19:02 +0000)]
Import libarchive-2.7.1.

* Suppress bogus warning about unxz
* Support lzma/xz files compressed with larger buffer sizes.
* Handle gzip files signed with OpenBSD "gzsig" program.
* Avoid false failures when reading from pipe.

14 years agoSync zoneinfo database with tzdata2009n from elsie.
Sascha Wildner [Thu, 1 Oct 2009 09:35:51 +0000 (11:35 +0200)]
Sync zoneinfo database with tzdata2009n from elsie.

asia:           8.40 -> 8.41
southamerica:   8.36 -> 8.37

* Pakistan ends DST on Oct 1, 2009

* Add some comments about Argentinian provinces oppsing 2009/10 DST.

14 years agoCAM - Fix missing SIM lock in cam_periph_release()
Matthew Dillon [Wed, 30 Sep 2009 22:26:05 +0000 (15:26 -0700)]
CAM - Fix missing SIM lock in cam_periph_release()

* When releasing the last reference on a CAM peripheral which has been
  marked invalid, the peripheral is then freed.  Freeing the peripheral
  requires the SIM lock.

  Go through necessary tribulations to acquire the SIM lock.  The lock order
  is important (SIM lock first, XPT lock second), and the SIM lock may or
  may not already be held by the thread.

* The bug could cause a crash after burning a CD as the CD becomes invalid
  after the burn completes in order to reload its state.

14 years agokernel - add missing header commit to interrupt config hooks changes
Matthew Dillon [Wed, 30 Sep 2009 19:57:50 +0000 (12:57 -0700)]
kernel - add missing header commit to interrupt config hooks changes

14 years agokernel - close holes in autoconf's run_interrupt_driven_config_hooks()
Matthew Dillon [Wed, 30 Sep 2009 18:47:25 +0000 (11:47 -0700)]
kernel - close holes in autoconf's run_interrupt_driven_config_hooks()

* Interlock with a ran_config_hooks static variable instead of 'cold'

* Get rid of list races which might occur due to hooks being removed
  while the hooks are being run.

* Use a finer 1-second sleep interval instead of a 10-second sleep.

14 years agokernel - CAM - track busses for configuration
Matthew Dillon [Wed, 30 Sep 2009 18:45:53 +0000 (11:45 -0700)]
kernel - CAM - track busses for configuration

* To prevent an underflow of the busses_to_config variable, track
  which busses were counted towards the busses we are waiting for.

* Add kprintfs for verbose operation plus one or two for normal booting.

14 years agokernel - add missing M_ZERO in taskqueue_create()
Matthew Dillon [Wed, 30 Sep 2009 18:38:53 +0000 (11:38 -0700)]
kernel - add missing M_ZERO in taskqueue_create()

* taskqueue_create() was not ensuring a zero'd task queue structure,
  resulting in a situation where the flags and other fields could end
  up as garbage and prevent the taskqueue from being signaled on enqueue.

* This bug was responsible for situations where CAM fails to complete
  its configuration, generating warnings for 60 seconds and then giving
  up.

14 years agonrelease - gui build www/firefox3 -> www/firefox
Matthew Dillon [Wed, 30 Sep 2009 16:39:52 +0000 (09:39 -0700)]
nrelease - gui build www/firefox3 -> www/firefox

* The www/firefox3 directory was removed from pkgsrc and
  is now just www/firefox.

14 years agoMerge commit 'crater/master'
Simon 'corecode' Schubert [Wed, 30 Sep 2009 15:05:55 +0000 (17:05 +0200)]
Merge commit 'crater/master'

14 years agoacpi_thermal: add sensors framework support
Alexander Polakov [Wed, 30 Sep 2009 16:07:00 +0000 (16:07 +0000)]
acpi_thermal: add sensors framework support

14 years agoFix chdir/fchdir for setuid/setgid binaries
Simon 'corecode' Schubert [Wed, 30 Sep 2009 15:02:24 +0000 (17:02 +0200)]
Fix chdir/fchdir for setuid/setgid binaries

Access checks for a directory have to be done using the euid/egid, not
the ruid/rgid.

14 years agodevelopment.7: clarify vendor import section
Simon 'corecode' Schubert [Wed, 30 Sep 2009 14:38:20 +0000 (16:38 +0200)]
development.7: clarify vendor import section

Vendor imports on branches that already exist have to be handled a bit
differently, so document this.

14 years agoman: fix bug with relative file names
Simon 'corecode' Schubert [Wed, 30 Sep 2009 14:35:32 +0000 (16:35 +0200)]
man: fix bug with relative file names

Man assembles a command chain which only works properly when the passed
file name is absolute or relative without any directory component.

14 years agotcsh: fix warning to keep compiling with WARNS=2
Simon 'corecode' Schubert [Wed, 30 Sep 2009 13:55:28 +0000 (15:55 +0200)]
tcsh: fix warning to keep compiling with WARNS=2

14 years agotcsh: add our READMEs
Simon 'corecode' Schubert [Wed, 30 Sep 2009 13:52:31 +0000 (15:52 +0200)]
tcsh: add our READMEs

14 years agoMerge branch 'vendor/TCSH'
Simon 'corecode' Schubert [Wed, 30 Sep 2009 13:50:00 +0000 (15:50 +0200)]
Merge branch 'vendor/TCSH'

14 years agoImport tcsh-6.17.00
Simon 'corecode' Schubert [Wed, 30 Sep 2009 13:45:15 +0000 (15:45 +0200)]
Import tcsh-6.17.00

14 years agotaskqueue.9 - Update to reflect tq changes
Alex Hornung [Wed, 30 Sep 2009 07:43:33 +0000 (08:43 +0100)]
taskqueue.9 - Update to reflect tq changes

14 years agotaskqueue - Major overhaul
Alex Hornung [Wed, 30 Sep 2009 07:14:45 +0000 (08:14 +0100)]
taskqueue - Major overhaul

* Move taskqueue from critical sections to fine-grained locking with
  lockmgr for the list of taskqueues (could be changed to spinlocks) and
  spinlock for the task queue in each taskqueue itself.

* Add a taskqueue_swi_mp which is for mpsafe tasks. Unlike taskqueue_swi
  the mplock is not acquired when tasks are run.

* Add FreeBSD's taskqueue_start_threads and family, allowing for
  per-taskqueue threads.

* Add FreeBSD's taskqueue_block and taskqueue unblock.

* Out of necessity add a register_swi_mp, which registers a swi marked
  as MPSAFE.

Partially-Obtained-from: FreeBSD

14 years agosleep.9 - Update for ssleep,lksleep
Alex Hornung [Wed, 30 Sep 2009 06:10:13 +0000 (07:10 +0100)]
sleep.9 - Update for ssleep,lksleep

* Rename all references to msleep to ssleep; msleep doesn't exist
  anymore.

* Add info about lksleep.

14 years agolksleep - Add lksleep for lockmgr locks
Alex Hornung [Mon, 28 Sep 2009 18:03:19 +0000 (19:03 +0100)]
lksleep - Add lksleep for lockmgr locks

* Add the function lksleep() to do the same ssleep does, but for lockmgr
  locks.

14 years agoAdd a karc4rand() to libkern
Alex Hornung [Sat, 26 Sep 2009 23:25:45 +0000 (00:25 +0100)]
Add a karc4rand() to libkern

* Takes a buffer and an arbitrary size to fill up with random stuff.

Partially-Obtained-From: FreeBSD

14 years agoFix exec from setuid/setgid binaries
Simon Schubert [Tue, 29 Sep 2009 18:42:01 +0000 (20:42 +0200)]
Fix exec from setuid/setgid binaries

In the context of exec, we have to use the effective uid/gid to check
whether the process has permissions to exec, not the ruid/rgid.

14 years agoGC contrib/dev/acpica-unix-20061109
Sepherosa Ziehau [Tue, 29 Sep 2009 23:40:56 +0000 (07:40 +0800)]
GC contrib/dev/acpica-unix-20061109

14 years agoi386/identcpu.c: Add VIA Nano support
Thomas Nikolajsen [Wed, 15 Jul 2009 16:29:25 +0000 (18:29 +0200)]
i386/identcpu.c: Add VIA Nano support

Obtained-from: FreeBSD

14 years agoi386/identcpu.c: Add support for VIA C7
Thomas Nikolajsen [Mon, 28 Sep 2009 20:41:14 +0000 (22:41 +0200)]
i386/identcpu.c: Add support for VIA C7

Obtained-from: FreeBSD

14 years agoperiodic(8): Add time stamps to log
Thomas Nikolajsen [Wed, 15 Jul 2009 22:26:21 +0000 (00:26 +0200)]
periodic(8): Add time stamps to log

14 years agozmore: Fix incorrect test
Thomas Nikolajsen [Sun, 19 Jul 2009 08:28:14 +0000 (10:28 +0200)]
zmore: Fix incorrect test

DragonFly test(1) (aka [) doesn't support `X == Y' (unlike e.g. bash),
this applies to both sh(1) buildin and stand alone.

14 years agogpt.8: Update example and note
Thomas Nikolajsen [Mon, 28 Sep 2009 20:28:23 +0000 (22:28 +0200)]
gpt.8: Update example and note

 * don't use da8 as general disk in examples,
   as it is now default for removable device

 * adjust boot setup example to present defaults:
   * no `-o packet' needed for bootcfg,
   * kernel lives in boot/, no need for extra mv

 * use preferred HAMMER label (as in installer & rconfig example)

 * add suggestion for exact text to commands and break too long lines

 * drop note that boot only is supported on 32 bit disklabels

14 years agodragonfly-tips: Add missing spaces
Thomas Nikolajsen [Fri, 24 Jul 2009 19:40:24 +0000 (21:40 +0200)]
dragonfly-tips: Add missing spaces

14 years agodragonfly-tips: Add to varsym tip & add some HAMMER tips
Thomas Nikolajsen [Mon, 28 Sep 2009 20:20:18 +0000 (22:20 +0200)]
dragonfly-tips: Add to varsym tip & add some HAMMER tips

14 years agorc.8: Fix description of fsck durig startup
Thomas Nikolajsen [Mon, 28 Sep 2009 20:02:46 +0000 (22:02 +0200)]
rc.8: Fix description of fsck durig startup

 DragonFly doesn't do background fsck

14 years agomd.4: Include kernel module description & adjust example for devfs chnage
Thomas Nikolajsen [Mon, 28 Sep 2009 19:51:06 +0000 (21:51 +0200)]
md.4: Include kernel module description & adjust example for devfs chnage

14 years agorc.d/devfs: Add missing line termination.
Thomas Nikolajsen [Sun, 6 Sep 2009 18:53:26 +0000 (20:53 +0200)]
rc.d/devfs: Add missing line termination.

14 years agogetdevpath(8): Sync usage() to man page
Thomas Nikolajsen [Sat, 12 Sep 2009 20:13:27 +0000 (22:13 +0200)]
getdevpath(8): Sync usage() to man page

14 years agomountctl(8): Improve Synopsis & sync usage(), also improve markup
Thomas Nikolajsen [Mon, 28 Sep 2009 19:33:06 +0000 (21:33 +0200)]
mountctl(8): Improve Synopsis & sync usage(), also improve markup

14 years agoDEVFS - Add probing of OpenBSD slices
Thomas Nikolajsen [Mon, 21 Sep 2009 18:21:00 +0000 (20:21 +0200)]
DEVFS - Add probing of OpenBSD slices

14 years agosystat.1: Improve markup & add line breaks (end of sentence etc.)
Thomas Nikolajsen [Mon, 28 Sep 2009 18:55:01 +0000 (20:55 +0200)]
systat.1: Improve markup & add line breaks (end of sentence etc.)

14 years agoiscontrol(8): Fix synopsis, sync usage() & improve markup
Thomas Nikolajsen [Tue, 22 Sep 2009 20:10:36 +0000 (22:10 +0200)]
iscontrol(8): Fix synopsis, sync usage() & improve markup

 * Note that /etc/iscsi.conf is default -c file

 * Sort options, fix synopsis & sync usage()

 * Add FILES section

 * Change example to specify non-default config file

 * Improve markup

14 years agodisklabel(8): Update man page & sync usage()
Thomas Nikolajsen [Mon, 28 Sep 2009 18:37:01 +0000 (20:37 +0200)]
disklabel(8): Update man page & sync usage()

 * improve markup

 * sync to disklabel64.8

 * sync usage() to synopsis

14 years agodisklabel64(8): Update man page & sync usage()
Thomas Nikolajsen [Mon, 28 Sep 2009 18:32:08 +0000 (20:32 +0200)]
disklabel64(8): Update man page & sync usage()

 * re-add description of bootstrap support

 * improve markup

 * sync to disklabel.8

14 years agokernconf.5: Add info on 64-bit kernels & improve markup
Thomas Nikolajsen [Mon, 28 Sep 2009 17:45:59 +0000 (19:45 +0200)]
kernconf.5: Add info on 64-bit kernels & improve markup

14 years agoln: Drop deprecated flag in man page example & sync usage() to man page
Thomas Nikolajsen [Sat, 26 Sep 2009 22:18:19 +0000 (00:18 +0200)]
ln: Drop deprecated flag in man page example & sync usage() to man page

 * `sysctl -w' is deprecated; drop `-w' in man page example

 * sync usage() to man page

 * break lines at end of sentence

14 years agovarsym: Update man page & sync usage()
Thomas Nikolajsen [Sun, 27 Sep 2009 11:17:43 +0000 (13:17 +0200)]
varsym: Update man page & sync usage()

 * fix synopsis: multiple variables can be handled

 * sort options

 * sync usage() to synopsis

 * improve markup

 * break line at end of sentence

14 years agoaibs: Add ASUSTeK AI Booster ACPI ATK0110 sensors
Thomas Nikolajsen [Sun, 27 Sep 2009 21:04:57 +0000 (23:04 +0200)]
aibs: Add ASUSTeK AI Booster ACPI ATK0110 sensors

Submitted-by: Constantine A. Murenin <cnst+dfly@bugmail.mojo.ru>
DragonFly bugs: <http://bugs.dragonflybsd.org/issue1529>

14 years agomount_hammer(8): Update man page & sync usage()
Thomas Nikolajsen [Sun, 27 Sep 2009 21:52:46 +0000 (23:52 +0200)]
mount_hammer(8): Update man page & sync usage()

 * fix synopsis: -u not optional in last form of synopsis

 * sort options

 * improve description of -o flag:
non HAMMER specific options are also supported

 * improve markup

 * break lines at end of sentence

 * sync usage() to synopsis

14 years agohammer.5: Add info on general items & new features
Thomas Nikolajsen [Mon, 28 Sep 2009 00:33:17 +0000 (02:33 +0200)]
hammer.5: Add info on general items & new features

 * add more info on maximum HAMMER file system size & minimum recommended

 * add info on nohistory chflags(1) flag

 * .. rebalance

 * .. prune-min

14 years agonewfs_hammer(8): Update man page and program messages
Thomas Nikolajsen [Mon, 28 Sep 2009 01:01:43 +0000 (03:01 +0200)]
newfs_hammer(8): Update man page and program messages

 * add `B' / `byte' in a few places

 * sort options

 * sync usage() to synopsis

 * improve markup

14 years agovnconfig.8: Describe autocloning & improve markup
Thomas Nikolajsen [Mon, 28 Sep 2009 12:22:30 +0000 (14:22 +0200)]
vnconfig.8: Describe autocloning & improve markup

14 years agovn.4: Describe autocloning & use standard description for kernel modules
Thomas Nikolajsen [Mon, 28 Sep 2009 17:20:55 +0000 (19:20 +0200)]
vn.4: Describe autocloning & use standard description for kernel modules

14 years agohammer(8): Update man page & sync usage()
Thomas Nikolajsen [Mon, 28 Sep 2009 13:20:49 +0000 (15:20 +0200)]
hammer(8): Update man page & sync usage()

 * adjust description to prune-min

 * add description of prune-min syntax
and use same syntax in error message, usage() & man page

 * add info on HAMMER version 2

 * remove stale note:
'PFS support is currently very new and experimental.'

 * sort options

 * sync usage() to synopsis

 * improve markup

 * break lines at end of sentence

14 years agoukbd - Add USBD_CALLBACK_LAST back in
Matthew Dillon [Sun, 27 Sep 2009 19:58:53 +0000 (12:58 -0700)]
ukbd - Add USBD_CALLBACK_LAST back in

* The USBD_CALLBACK_LAST flag was mistakenly removed in the kbdmux
  commit.  Add it back in.

  This unbreaks usb keyboards when dropping into a mountroot prompt
  or dropping into ddb.

14 years agoMerge branch 'master' of ssh://crater.dragonflybsd.org/repository/git/dragonfly
Matthew Dillon [Sun, 27 Sep 2009 19:58:16 +0000 (12:58 -0700)]
Merge branch 'master' of ssh://crater.dragonflybsd.org/repository/git/dragonfly

14 years agokbdmux - Fix wait flag. Fixes mountroot> and other issues.
Matthew Dillon [Sun, 27 Sep 2009 19:56:40 +0000 (12:56 -0700)]
kbdmux - Fix wait flag.  Fixes mountroot> and other issues.

* The wait flag was being ignored.  Fix it so it properly waits until
  a key is pressed.

  This broke the mountroot> prompt.

14 years agoinstaller: Move the remaining installer related files out of /usr/local.
Sascha Wildner [Sat, 26 Sep 2009 19:06:27 +0000 (21:06 +0200)]
installer: Move the remaining installer related files out of /usr/local.

Reported-by: y0netan1
14 years agodevfs - Change make_dev_covering to use dev_ops
Alex Hornung [Fri, 25 Sep 2009 21:49:30 +0000 (22:49 +0100)]
devfs - Change make_dev_covering to use dev_ops

* Change make_dev_covering and all other related functions to use a
  backing dev_ops instead of a backing cdev.
  This allows for a more generic use of make_dev_covering, without the
  need of an explicit backing cdev.

* Also change make_autoclone_dev to use the new make_dev_covering to
  avoid maj/min collision between base clonable devices.

14 years agotty_pty - Use different dev_ops for unix98 ptys
Alex Hornung [Fri, 25 Sep 2009 21:45:55 +0000 (22:45 +0100)]
tty_pty - Use different dev_ops for unix98 ptys

* Use a different struct dev_ops for unix98 ptys, so a different major
  number is automatically allocated for them. This avoids maj/min collision
  between old-style bsd ptys and unix98 ptys.

14 years ago__sys__exit() -> __sys_exit()
Hasso Tepper [Fri, 25 Sep 2009 07:20:43 +0000 (10:20 +0300)]
__sys__exit() -> __sys_exit()

Reported-by: Jeremy C. Reed <reed at reedmedia.net>
14 years agohammer.8: Mention that rebalance is part of cleanup.
Sascha Wildner [Tue, 22 Sep 2009 18:29:58 +0000 (20:29 +0200)]
hammer.8: Mention that rebalance is part of cleanup.

14 years agokernel - Fix kqueue and SIGIO operation on pipes
Matthew Dillon [Tue, 22 Sep 2009 06:17:14 +0000 (23:17 -0700)]
kernel - Fix kqueue and SIGIO operation on pipes

* pipe reads and writes were not notifying kqueue and SIGIO consumers
  due to an incorrect conditional which only tested for select/poll
  consumers.

14 years agoMerge branch 'master' of ssh://crater.dragonflybsd.org/repository/git/dragonfly
Matthew Dillon [Tue, 22 Sep 2009 04:58:43 +0000 (21:58 -0700)]
Merge branch 'master' of ssh://crater.dragonflybsd.org/repository/git/dragonfly

14 years agoKernel - Fix NOTE_EXIT.
Matthew Dillon [Tue, 22 Sep 2009 04:57:32 +0000 (21:57 -0700)]
Kernel - Fix NOTE_EXIT.

* NOTE_EXIT could crash the machine due to a knote being left on a
  process list and then zfree()'d.

Loosely-taken-from: FreeBSD

14 years agoamd64: sync cpu/stdint.h with i386
Simon 'corecode' Schubert [Tue, 22 Sep 2009 00:18:48 +0000 (17:18 -0700)]
amd64: sync cpu/stdint.h with i386

14 years agoamd64: install intrinsic headers
Simon 'corecode' Schubert [Tue, 22 Sep 2009 00:17:57 +0000 (17:17 -0700)]
amd64: install intrinsic headers

14 years agodma: defer delivery if STARTTLS fails
Simon Schubert [Mon, 21 Sep 2009 13:37:30 +0000 (15:37 +0200)]
dma: defer delivery if STARTTLS fails

14 years agodma: treat connect status messages properly
Simon Schubert [Mon, 21 Sep 2009 11:28:37 +0000 (13:28 +0200)]
dma: treat connect status messages properly

14 years agodma: rework config parsing
Simon Schubert [Mon, 21 Sep 2009 11:16:07 +0000 (13:16 +0200)]
dma: rework config parsing

14 years agodisk - Also probe NetBSD slices for labels
Alex Hornung [Sun, 20 Sep 2009 19:59:48 +0000 (20:59 +0100)]
disk - Also probe NetBSD slices for labels

* Also probe NetBSD slice types (169 / 0xa9) for disklabels, as we also
  support them.

Reported-by: trevorjk
14 years agomd - when setdiskinfo, also set no of blocks
Alex Hornung [Sun, 20 Sep 2009 19:52:44 +0000 (20:52 +0100)]
md - when setdiskinfo, also set no of blocks

* Before calling disk_setdiskinfo, make sure that the number of blocks
  is also set or no probing will be triggered at that point.

* Also disable setdiskinfo on open, as it shouldn't be needed.

* Fix nomenclature md0c -> md0s0.

* This also fixes root mount from md disk image.

Reported By: Alexander Polakov
Dragonfly-bug: http://bugs.dragonflybsd.org/issue1522

14 years agodma: perform MX lookups
Simon Schubert [Sun, 20 Sep 2009 18:58:37 +0000 (20:58 +0200)]
dma: perform MX lookups

14 years agodma: allow empty sender in queue files
Simon Schubert [Sun, 20 Sep 2009 18:57:34 +0000 (20:57 +0200)]
dma: allow empty sender in queue files

Empty senders happen when a bounce gets queued, so we need to accept
such queue files.

14 years agodma: create spool files mode 660
Simon Schubert [Sun, 20 Sep 2009 18:56:32 +0000 (20:56 +0200)]
dma: create spool files mode 660

dma runs setgid mail, so we need to create files which are group
readable, otherwise we won't be able to read them later.

14 years agoMerge branch 'master' of ssh://crater.dragonflybsd.org/repository/git/dragonfly
Matthew Dillon [Sun, 20 Sep 2009 17:30:34 +0000 (10:30 -0700)]
Merge branch 'master' of ssh://crater.dragonflybsd.org/repository/git/dragonfly

14 years agoHAMMER - Add rebalancing to automatic cleanup sequence
Matthew Dillon [Sun, 20 Sep 2009 17:29:32 +0000 (10:29 -0700)]
HAMMER - Add rebalancing to automatic cleanup sequence

* The hammer cleanup directive now also rebalances the B-Tree.

14 years agosh(1): Raise WARNS to 6 and fix warnings.
Sascha Wildner [Sun, 20 Sep 2009 17:27:43 +0000 (19:27 +0200)]
sh(1): Raise WARNS to 6 and fix warnings.

14 years agolex(1): Raise WARNS to 2.
Sascha Wildner [Sun, 20 Sep 2009 15:27:54 +0000 (17:27 +0200)]
lex(1): Raise WARNS to 2.

14 years agotop(1): Raise WARNS to 6 and fix warnings.
Sascha Wildner [Sun, 20 Sep 2009 15:18:22 +0000 (17:18 +0200)]
top(1): Raise WARNS to 6 and fix warnings.

14 years agowall(1)/syslogd(8): Raise WARNS to 6 and fix warnings.
Sascha Wildner [Sun, 20 Sep 2009 14:53:31 +0000 (16:53 +0200)]
wall(1)/syslogd(8): Raise WARNS to 6 and fix warnings.

14 years agoSync vipw(8) with FreeBSD.
Sascha Wildner [Sun, 20 Sep 2009 14:18:37 +0000 (16:18 +0200)]
Sync vipw(8) with FreeBSD.

Mainly, use libutil for passwd manipulation.

14 years agobthcid(8): Raise WARNS to 6 and fix warnings.
Sascha Wildner [Sun, 20 Sep 2009 11:19:28 +0000 (13:19 +0200)]
bthcid(8): Raise WARNS to 6 and fix warnings.

14 years agoiscontrol.8: fix date
Sascha Wildner [Sat, 19 Sep 2009 18:53:34 +0000 (20:53 +0200)]
iscontrol.8: fix date

14 years agokiconv.3: We have no iconv(9) manual page.
Sascha Wildner [Sat, 19 Sep 2009 17:45:12 +0000 (19:45 +0200)]
kiconv.3: We have no iconv(9) manual page.

14 years agoancontrol(8): silence gcc44 warnings
Sascha Wildner [Sat, 19 Sep 2009 14:51:45 +0000 (16:51 +0200)]
ancontrol(8): silence gcc44 warnings

14 years agogcc44 warns: Put input() under YY_NO_INPUT and set that if it isn't used.
Sascha Wildner [Sat, 19 Sep 2009 14:48:10 +0000 (16:48 +0200)]
gcc44 warns: Put input() under YY_NO_INPUT and set that if it isn't used.

14 years agoRestrict visibility of lwkt_schedule_remote() to SMP.
Sascha Wildner [Sat, 19 Sep 2009 14:35:14 +0000 (16:35 +0200)]
Restrict visibility of lwkt_schedule_remote() to SMP.

14 years agobsd.sys.mk: Remove the i386 restriction for using -Werror with WARNS.
Sascha Wildner [Sat, 19 Sep 2009 06:47:19 +0000 (08:47 +0200)]
bsd.sys.mk: Remove the i386 restriction for using -Werror with WARNS.

14 years agoSilence the remaining amd64 warnings for stuff that has WARNS set.
Sascha Wildner [Sat, 19 Sep 2009 06:42:19 +0000 (08:42 +0200)]
Silence the remaining amd64 warnings for stuff that has WARNS set.