dragonfly.git
10 years agoUpdate to the version 2008020400 which adds IPv6 addresses for six root
Hasso Tepper [Tue, 12 Feb 2008 14:34:34 +0000 (14:34 +0000)]
Update to the version 2008020400 which adds IPv6 addresses for six root
servers.

10 years agoOops, drop head's version back one for head (it was set to the release's
Matthew Dillon [Tue, 12 Feb 2008 02:43:17 +0000 (02:43 +0000)]
Oops, drop head's version back one for head (it was set to the release's
version).

10 years agoRelease Engineering on HEAD.
Matthew Dillon [Tue, 12 Feb 2008 02:26:08 +0000 (02:26 +0000)]
Release Engineering on HEAD.

* Branch 1.12

* Change HEAD to 1.13

10 years agoRelease engineering, Add a slip target to /usr/src/Makefile for 1.12 and
Matthew Dillon [Tue, 12 Feb 2008 02:12:18 +0000 (02:12 +0000)]
Release engineering, Add a slip target to /usr/src/Makefile for 1.12 and
add a cvsup example file for 1.12.

10 years agoBump to 1.11.1 prior to 1.12 branch and update the preview tag.
Matthew Dillon [Tue, 12 Feb 2008 02:09:24 +0000 (02:09 +0000)]
Bump to 1.11.1 prior to 1.12 branch and update the preview tag.

10 years agoAdjust nrelease to a new package set.
Matthew Dillon [Tue, 12 Feb 2008 02:06:12 +0000 (02:06 +0000)]
Adjust nrelease to a new package set.

Rebuild the installer, bootstrap, and other packages from pkgsrc, and
make the resulting binary packages available to the nrelease build.

No modifications to the pkgsrc installer have been made but it now uses
a more up-to-date support gettext.

10 years agoReport the last error code when searching for a tap device.
Simon Schubert [Mon, 11 Feb 2008 22:50:12 +0000 (22:50 +0000)]
Report the last error code when searching for a tap device.

10 years agoFix WARNS6: mark s as unused.
Sascha Wildner [Mon, 11 Feb 2008 20:10:23 +0000 (20:10 +0000)]
Fix WARNS6: mark s as unused.

10 years agoFix WARNS6: values_len is size_t, thus n must be unsigned.
Sascha Wildner [Mon, 11 Feb 2008 20:09:42 +0000 (20:09 +0000)]
Fix WARNS6: values_len is size_t, thus n must be unsigned.

10 years agoClean up remains of the umsm(4) -> ugensa(4) renaming.
Sascha Wildner [Mon, 11 Feb 2008 19:57:30 +0000 (19:57 +0000)]
Clean up remains of the umsm(4) -> ugensa(4) renaming.

10 years agoumsm(4) -> ugensa(4) as it makes much more sense - there is nothing Qualcomm
Hasso Tepper [Mon, 11 Feb 2008 18:13:58 +0000 (18:13 +0000)]
umsm(4) -> ugensa(4) as it makes much more sense - there is nothing Qualcomm
MSM chipset specific in the driver. Manpage is rewritten in progress.

10 years agoMake the Brother HL1240 printer work with ulpt.
Matthew Dillon [Mon, 11 Feb 2008 16:56:53 +0000 (16:56 +0000)]
Make the Brother HL1240 printer work with ulpt.

Submitted-by: Joe Talbott <josepht@cstone.net>
10 years agoFix arprequest serialization.
Nuno Antunes [Mon, 11 Feb 2008 16:42:39 +0000 (16:42 +0000)]
Fix arprequest serialization.

arprequest() calls ifp->if_output() without locally grabbing the
respective serializer, so ASSERT_SERIALIZED at the beginning of the
function.
Grab the serializer at arp_rtrequest() when it calls arprequest().

Reviewed-by: sephe@
10 years agoRemove link to FreeBSD porters handbook and to removed version example.
Matthias Schmidt [Mon, 11 Feb 2008 16:01:11 +0000 (16:01 +0000)]
Remove link to FreeBSD porters handbook and to removed version example.

10 years agoMention our handbook instead of FreeBSDs.
Matthias Schmidt [Mon, 11 Feb 2008 15:59:37 +0000 (15:59 +0000)]
Mention our handbook instead of FreeBSDs.

10 years agoClarify that KTR_VERBOSE is needed for verbose mode.
Sascha Wildner [Mon, 11 Feb 2008 00:27:31 +0000 (00:27 +0000)]
Clarify that KTR_VERBOSE is needed for verbose mode.

10 years agoFix include file name.
Sascha Wildner [Sun, 10 Feb 2008 23:35:30 +0000 (23:35 +0000)]
Fix include file name.

10 years agoPoint to our handbook.
Sascha Wildner [Sun, 10 Feb 2008 22:53:22 +0000 (22:53 +0000)]
Point to our handbook.

10 years agoPoint to our handbook.
Sascha Wildner [Sun, 10 Feb 2008 22:46:02 +0000 (22:46 +0000)]
Point to our handbook.

10 years agoRemove old cvsup examples.
Sascha Wildner [Sun, 10 Feb 2008 22:34:25 +0000 (22:34 +0000)]
Remove old cvsup examples.

10 years agoOops, forgotten part in last commit.
Sascha Wildner [Sun, 10 Feb 2008 22:32:19 +0000 (22:32 +0000)]
Oops, forgotten part in last commit.

10 years agoClean up and update our supfile examples.
Sascha Wildner [Sun, 10 Feb 2008 22:25:36 +0000 (22:25 +0000)]
Clean up and update our supfile examples.

Remove most FreeBSD supfiles and keep FreeBSD-cvs-supfile (renamed to
FreeBSD-supfile, like OpenBSD and NetBSD).

10 years agoHAMMER 28A/many: Translation and write performance optimizations
Matthew Dillon [Sun, 10 Feb 2008 18:58:23 +0000 (18:58 +0000)]
HAMMER 28A/many: Translation and write performance optimizations

* Cache a buffer's virtual (zoneX->zone2) translation to avoid unnecessary
  re-translations when a hot-cached buffer is available.

* Use the sequential heuristic provided by the kernel to detect sequential
  writes and call bawrite() instead bdwrite() in such cases.  This
  prevents the buffer cache from hitting slow fallback cases and
  completely solves the write performance issue.

  Note that the undo fifo is not yet in place and performance will drop
  slightly once it is, but what you see now is basically what you're gonna
  get in the final.

* Performance is now on par with UFS.

10 years agoYield after processing a couple of vnodes to avoid running too long.
Simon Schubert [Sun, 10 Feb 2008 13:45:21 +0000 (13:45 +0000)]
Yield after processing a couple of vnodes to avoid running too long.

This fixes the stuttering of xmms et al when sync is running.

10 years agotcp_output_dispatch() is only used by SMP kernel
Sepherosa Ziehau [Sun, 10 Feb 2008 11:14:25 +0000 (11:14 +0000)]
tcp_output_dispatch() is only used by SMP kernel

Noticed-by: swildner@
10 years agoRemove obsolete header file.
Sascha Wildner [Sun, 10 Feb 2008 11:13:50 +0000 (11:13 +0000)]
Remove obsolete header file.

10 years agoo Convert search string to lowercase to allow case-insensitive matching.
Matthias Schmidt [Sun, 10 Feb 2008 11:01:46 +0000 (11:01 +0000)]
o Convert search string to lowercase to allow case-insensitive matching.
o Fix non-meaningful example in man page.

10 years agoHAMMER 28/many: Implement zoned blockmap
Matthew Dillon [Sun, 10 Feb 2008 09:51:01 +0000 (09:51 +0000)]
HAMMER 28/many: Implement zoned blockmap

* Implement a zoned blockmap.  Separate B-Tree nodes, records, small blocks
  of data, and large blocks of data into their own zones.  Use 8MB large
  blocks, 32-byte blockmap entry structures, and two layers to support
  59 bits (512 petabytes).

* Create a temporary freeblock allocator so the blockmap can be tested.
  It just allocates sequentially and asserts when it hits the end of the
  volume.   This will be replaced with a real freeblock allocator soon.

* Clean up some of the mess I created from the temporary fifo mechanism
  that had been put in-place to test the major rewiring in 27.

* Adjust newfs_hammer.  The 'hammer' utility has not yet been adjusted
  (it can't decode blockmaps yet but will soon).

10 years ago- Turn on IFM_HDX
Sepherosa Ziehau [Sun, 10 Feb 2008 07:29:27 +0000 (07:29 +0000)]
- Turn on IFM_HDX
- If unknown SR values are encountered, return immediately

10 years agoIt's confusing to say that "Command Queueing Supported" just based
Peter Avalos [Sun, 10 Feb 2008 00:32:53 +0000 (00:32 +0000)]
It's confusing to say that "Command Queueing Supported" just based
upon the scsi flag validity field. Instead, just say "Command Queueing Enabled"
when it is- otherwise remain mute.

Obtained-from: FreeBSD

10 years agoMake CAM_NEW_TRAN_CODE default.
Peter Avalos [Sun, 10 Feb 2008 00:01:03 +0000 (00:01 +0000)]
Make CAM_NEW_TRAN_CODE default.

As previously mentioned, this makes a huge performance difference for one
of my disks, and future work depends on this change.

Obtained-from: FreeBSD

10 years agoMerge from vendor branch TNFTP:
Peter Avalos [Sat, 9 Feb 2008 18:35:32 +0000 (18:35 +0000)]
Merge from vendor branch TNFTP:
Sync tnftp with NetBSD:

Rename HAVE_STRUCT_SOCKADDR_SA_LEN to HAVE_STRUCT_SOCKADDR_IN_SIN_LEN
to accurately reflect the structure member being used.

Turn off the alarmtimer before resetting the SIGALRM handler back to SIG_DFL.

10 years agoSync tnftp with NetBSD:
Peter Avalos [Sat, 9 Feb 2008 18:35:32 +0000 (18:35 +0000)]
Sync tnftp with NetBSD:

Rename HAVE_STRUCT_SOCKADDR_SA_LEN to HAVE_STRUCT_SOCKADDR_IN_SIN_LEN
to accurately reflect the structure member being used.

Turn off the alarmtimer before resetting the SIGALRM handler back to SIG_DFL.

10 years agoMPSAFE locking for the ahc/ahd drivers using lockmgr locks.
Peter Avalos [Sat, 9 Feb 2008 18:13:13 +0000 (18:13 +0000)]
MPSAFE locking for the ahc/ahd drivers using lockmgr locks.

Obtained-from: FreeBSD

10 years agoAdd space to correctly align Office and Office phone.
Matthias Schmidt [Sat, 9 Feb 2008 17:12:05 +0000 (17:12 +0000)]
Add space to correctly align Office and Office phone.

Before:
Login            Name                 TTY  Idle  Login  Time   Office  Phone
matthias         Matthias Schmidt    *v0      5  Sat    16:01 C4347   282-1591

After:
Login            Name                 TTY  Idle  Login  Time   Office  Phone
matthias         Matthias Schmidt    *v0      5  Sat    16:01  C4347   282-1591

10 years agoRemove superfluous ,
Matthias Schmidt [Sat, 9 Feb 2008 15:29:26 +0000 (15:29 +0000)]
Remove superfluous ,

10 years agoIn TCP PRU_CONNECT handling, install inp's route with the route entry on the
Sepherosa Ziehau [Sat, 9 Feb 2008 13:38:03 +0000 (13:38 +0000)]
In TCP PRU_CONNECT handling, install inp's route with the route entry on the
correct CPU:
If the TCP connection's target port is not tcp_thread[0]'s port on which TCP
PRU_CONNECT is processed, then
- In tcp_connect(), the route entry installed in inp's route by in_pcbladdr()
  is freed, so the next fix could take effect.
- In tcp_usr_connect(), tcp_output() is dispatched to the connection's target
  port to be called, so the route entry on the connection's target CPU will
  be installed in inp's route.

Approved-by: dillon@
10 years agoAdd readelf(1) in SEE ALSO.
Nicolas Thery [Sat, 9 Feb 2008 11:40:12 +0000 (11:40 +0000)]
Add readelf(1) in SEE ALSO.

10 years agoMove text which is not part of .Fa to the next line.
Sascha Wildner [Sat, 9 Feb 2008 09:45:03 +0000 (09:45 +0000)]
Move text which is not part of .Fa to the next line.

10 years agoMove text which is not part of .Fa to the next line.
Sascha Wildner [Sat, 9 Feb 2008 09:32:05 +0000 (09:32 +0000)]
Move text which is not part of .Fa to the next line.

10 years agoDon't break the line before .An.
Sascha Wildner [Sat, 9 Feb 2008 02:31:35 +0000 (02:31 +0000)]
Don't break the line before .An.

10 years agoRemove redundant sentence.
Sascha Wildner [Sat, 9 Feb 2008 00:28:26 +0000 (00:28 +0000)]
Remove redundant sentence.

10 years agoAdd a mountctl(2) manual page.
Sascha Wildner [Sat, 9 Feb 2008 00:10:29 +0000 (00:10 +0000)]
Add a mountctl(2) manual page.

10 years agoRemove btpin(1), rfcomm_sppd(1) and sdpquery(1) from /usr/sbin.
Hasso Tepper [Fri, 8 Feb 2008 14:26:38 +0000 (14:26 +0000)]
Remove btpin(1), rfcomm_sppd(1) and sdpquery(1) from /usr/sbin.

10 years agoMobe btpin(1), rfcomm_sppd(1) and sdpquery(1) where they really should be -
Hasso Tepper [Fri, 8 Feb 2008 14:06:25 +0000 (14:06 +0000)]
Mobe btpin(1), rfcomm_sppd(1) and sdpquery(1) where they really should be -
into /usr/bin.

10 years agoRemove empty line.
Sascha Wildner [Fri, 8 Feb 2008 10:41:43 +0000 (10:41 +0000)]
Remove empty line.

10 years agoAdd 'virtual scrolling' support to moused(8). When holding down the middle
Matthias Schmidt [Fri, 8 Feb 2008 10:17:40 +0000 (10:17 +0000)]
Add 'virtual scrolling' support to moused(8).  When holding down the middle
mouse button, motions are interpreted as scrolling.
Besides that, the code contains some whitespace and mdoc cleanup.

Obtained-from: FreeBSD

10 years agoUse per softc debug level instead of a global one.
Sepherosa Ziehau [Fri, 8 Feb 2008 09:42:30 +0000 (09:42 +0000)]
Use per softc debug level instead of a global one.

10 years agoHAMMER 27/many: Major surgery - change allocation model
Matthew Dillon [Fri, 8 Feb 2008 08:31:00 +0000 (08:31 +0000)]
HAMMER 27/many: Major surgery - change allocation model

After getting stuck on the recovery code and highly unoptimal write
performance issues, remove the super-cluster/cluster and radix tree bitmap
infrastructure and replace it with a circular FIFO.

* Nothing is localized yet with this major surgery commit, which means
  radix nodes, hammer records, file data, and undo fifo elements are
  all being written to a single fifo.  These elements will soon get their
  own abstracted fifos (and in particular, the undo elements will get a
  fixed-sized circular fifo and be considered temporary data).

* No sequence numbers or transaction spaces are generated yet.

* Create a 'hammer_off_t' type (64 bits).  This type reserves 4 bits for
  a zone.  Zones which encode volume numbers reserve another 8 bits,
  giving us a 52 bit byte offset able to represent up to 4096 TB per
  volume.  Zones which do not encode volume numbers have 60 bits available
  for an abstracted offset, resulting in a maximum filesystem size of
  2^60 bytes (1 MTB).  Up to 15 zones can be encoded.

  As of this commit only 2 zones are implemented to wrap up existing
  functionality.

* Adjust the B-Tree to use full 64 bit hammer offsets.  Have one global B-Tree
  for the entire filesystem.  The tree is no longer per-cluster.

* Scrap the recovery and spike code.  Scrap the cluster and super-cluster
  code.  Scrap those portions of the B-Tree code that dealt with spikes.
  Scrap those portions of the IO subsystem that dealt with marking a
  cluster open or closed.

* Expand the hammer_modify_*() functions to include a data range and add
  UNDO record generation.  Do not implement buffer ordering dependancies
  yet (ordering issues are going change radically with the FIFO model).

10 years agoacxcontrol(8) is gone.
Sascha Wildner [Thu, 7 Feb 2008 11:44:23 +0000 (11:44 +0000)]
acxcontrol(8) is gone.

10 years agoFix Picasso's birthday.
Sascha Wildner [Thu, 7 Feb 2008 04:47:38 +0000 (04:47 +0000)]
Fix Picasso's birthday.

Taken-from: FreeBSD

10 years agolinker_file_add_dependancy() never fails so change its return type to void and
Nicolas Thery [Wed, 6 Feb 2008 22:37:46 +0000 (22:37 +0000)]
linker_file_add_dependancy() never fails so change its return type to void and
simplify calling sequences.

10 years agoHAMMER Utilities: Add an 'everything' directive to the prune command. This
Matthew Dillon [Wed, 6 Feb 2008 09:00:28 +0000 (09:00 +0000)]
HAMMER Utilities: Add an 'everything' directive to the prune command.  This
directive causes the filesystem's entire history to be destroyed.

10 years agoHAMMER 26/many: Misc features.
Matthew Dillon [Wed, 6 Feb 2008 08:59:28 +0000 (08:59 +0000)]
HAMMER 26/many: Misc features.

* Add an inode flag to lock the transaction id used to update the inode
  on-disk.  This is used for both inode creation and rename to synchronize
  the inode with the related directory entry so historical lookups do not
  get confused.

* Add a capability to prune all deleted records.

* Properly set the file size for softlinks to reflect the length of
  the softlink string (fixes a NFS issue).

* Add additional device checks to the mount code to detect block devices
  which are already in use.

* Implement the noatime mount option.

* Implement a poor-man's fakename for NFS when backing out of a historical
  access.

* Properly connect ".." for a renamed directory to the new parent directory.

10 years agoFix some NFS related bugs which cause the mount point's mnt_refs counter
Matthew Dillon [Wed, 6 Feb 2008 08:53:15 +0000 (08:53 +0000)]
Fix some NFS related bugs which cause the mount point's mnt_refs counter
to leak, preventing clean umounts.  There were several cases where
_cache_drop() was being called instead of cache_drop().

10 years ago- Use firmware(9) for acx(4) and revoke acx(4)'s private ioctls
Sepherosa Ziehau [Wed, 6 Feb 2008 08:21:22 +0000 (08:21 +0000)]
- Use firmware(9) for acx(4) and revoke acx(4)'s private ioctls
- Nuke acxcontrol(8)
- Update acx(4) manpage

10 years ago- Add sysctl nodes for statistics (*)
Sepherosa Ziehau [Wed, 6 Feb 2008 05:06:08 +0000 (05:06 +0000)]
- Add sysctl nodes for statistics (*)
- Add sysctl node for channel dwell time when scanning
- Add sysctl node for long retry limit

# (*) this paves way to nuke acxcontrol(8) and use firmware(9) for acx(4)

10 years agoHAMMER 26/many: More NFS support work, rename fixes
Matthew Dillon [Wed, 6 Feb 2008 00:27:27 +0000 (00:27 +0000)]
HAMMER 26/many: More NFS support work, rename fixes

* Add a fakename return argument to vop_nlookupdotdot().  This allows HAMMER
  to supply a fake name for historical (@@<timestamp>) transitions when
  regenerating the namecache topology.  The feature is needed when operating
  as a NFS server.

* Do not mark a vnode VROOT if it is a historical root rather than the
  realtime root.  This fixes confusion the namecache has when dealing
  with the root vnode of a HAMMER filesystem.

* Fix a bug in nrename().  ino_data.parent_obj_id was not being properly
  adjusted when moving directories.

10 years agoImplement NFS support and export control for HAMMER.
Matthew Dillon [Tue, 5 Feb 2008 20:52:01 +0000 (20:52 +0000)]
Implement NFS support and export control for HAMMER.

10 years agoFix a compiler warning.
Matthew Dillon [Tue, 5 Feb 2008 20:50:31 +0000 (20:50 +0000)]
Fix a compiler warning.

10 years ago* Implement a mountctl() op for setting export control on a filesystem.
Matthew Dillon [Tue, 5 Feb 2008 20:49:52 +0000 (20:49 +0000)]
* Implement a mountctl() op for setting export control on a filesystem.

* Adjust mountd to try to use the mountctl() op BEFORE calling a UFS-style
  mount() to set export ops for a filesystem.

* Add a prototype for the mountctl() system call in sys/mountctl.h

* Cleanup WARNS for the mountctl utility.

10 years agoAdd some words about __MAKE_CONF.
Sascha Wildner [Tue, 5 Feb 2008 19:22:04 +0000 (19:22 +0000)]
Add some words about __MAKE_CONF.

10 years agoAlso fix a double free.
Matthias Schmidt [Tue, 5 Feb 2008 14:35:43 +0000 (14:35 +0000)]
Also fix a double free.

Obtained-from: FreeBSD

10 years agoFix memory leaks.
Matthias Schmidt [Tue, 5 Feb 2008 14:25:06 +0000 (14:25 +0000)]
Fix memory leaks.

Obtained-From: OpenBSD

10 years agoo Remove version number
Matthias Schmidt [Tue, 5 Feb 2008 13:00:36 +0000 (13:00 +0000)]
o Remove version number
o Minor style changes

10 years agoSet flow control pause time to 512us _again_ as it was two years ago
Sepherosa Ziehau [Tue, 5 Feb 2008 11:12:27 +0000 (11:12 +0000)]
Set flow control pause time to 512us _again_ as it was two years ago
(if_em.c rev1.42).

Submitted-by: Gary Stanley <gary@velocity-servers.net>
10 years agoReplace the nologin shell script with a tiny c version. Just for the sake
Matthias Schmidt [Tue, 5 Feb 2008 10:58:04 +0000 (10:58 +0000)]
Replace the nologin shell script with a tiny c version.  Just for the sake
of completeness :)

10 years agoHAMMER 25/many: Pruning code
Matthew Dillon [Tue, 5 Feb 2008 07:58:43 +0000 (07:58 +0000)]
HAMMER 25/many: Pruning code

* Add b_tid to struct buf so dirty buffer cache buffers can be tagged with
  a transaction id to try to retain consistency when doing as-of queries
  on files that change size (so the data records have a TID <= the inode
  record).  This is also an issue when a file is created and immediately
  written to.  This may be temporary, a more sophisticated solution is needed.

* Fix a bug in the special handling of create_tid for as-of queries
  in btree_search().  An assignment was off by one, causing historical
  queries to not be able to find bits of data here and there.

* Freeze the transaction id for newly created inodes until the initial
  inode record is laid down on disk, so the transaction id matches the
  transaction id of the related directory entry.

* Major work on the pruning code.   When pruning the tree to a particular
  granularity the create_tid and delete_tid of related records must be
  aligned to that granularity in order to avoid creating 'holes' at
  various time points.

  This requires some serious B-Tree manipulation because the right-hand
  boundary may need to be shifted when the create_tid of an existing
  record is forward aligned.  This work is still in progress but it works
  in basic testing.

  Prune the tree in the reverse direction instead of in the forward
  direction.  This keeps the B-Tree consistent when we have to adjust
  the right-hand boundary to accomodate the realignment of create_tid.

10 years agoAdd a conditional so we don't have to drag in everything when a user
Matthew Dillon [Tue, 5 Feb 2008 01:44:04 +0000 (01:44 +0000)]
Add a conditional so we don't have to drag in everything when a user
just wants to use hammer_ioctl.h.

Reported-by: "Simon 'corecode' Schubert" <corecode@fs.ei.tum.de>
10 years agoDon't use special CWARNFLAGS. Our default is good enough.
Sascha Wildner [Mon, 4 Feb 2008 22:22:06 +0000 (22:22 +0000)]
Don't use special CWARNFLAGS. Our default is good enough.

10 years agoifconfig_blah0="authmode wpa" causes ifconfig_getargs() to interpret
Sascha Wildner [Mon, 4 Feb 2008 19:03:06 +0000 (19:03 +0000)]
ifconfig_blah0="authmode wpa" causes ifconfig_getargs() to interpret
"wpa" as an invitation to start wpa_supplicant(8) (and to strip it
from the line) instead of just passing "authmode wpa" to ifconfig(8)
as expected.

Fix this by adding some code to ifconfig_getargs() and wpaif() which
checks if "wpa" is an argument to "authmode".

Submitted-by: Frank W. Josellis <frank@dynamical-systems.org>
10 years agoInstall dma(8) config files with mode 640 as root:mail to prevent ``normal''
Matthias Schmidt [Mon, 4 Feb 2008 13:39:46 +0000 (13:39 +0000)]
Install dma(8) config files with mode 640 as root:mail to prevent ``normal''
users from spying at roots smtp login data.

10 years agoAdd a new config option to dma(8). If a user wants to use plain text SMTP
Matthias Schmidt [Mon, 4 Feb 2008 10:11:41 +0000 (10:11 +0000)]
Add a new config option to dma(8).  If a user wants to use plain text SMTP
login over an insecure connection, he has to set the INSECURE option in
the config file.  Otherwise plain text login is only available over encrypted
connections.

Discussed-with: corecode@

10 years agoo Remove per-user config file support
Matthias Schmidt [Mon, 4 Feb 2008 08:58:54 +0000 (08:58 +0000)]
o Remove per-user config file support
o Remove old-style-connect with gethostbyname() etc.  It was #ifdefed out
  and getaddrinfo() will do the job.

10 years agoHAMMER utilities: Add the 'prune' and 'history' commands.
Matthew Dillon [Mon, 4 Feb 2008 08:34:22 +0000 (08:34 +0000)]
HAMMER utilities:  Add the 'prune' and 'history' commands.

10 years agoHAMMER 25/many: Add an ioctl API for HAMMER.
Matthew Dillon [Mon, 4 Feb 2008 08:33:17 +0000 (08:33 +0000)]
HAMMER 25/many: Add an ioctl API for HAMMER.

* Add HAMMERIOC_PRUNE - a command which will scan a range of inode numbers
  and prune them according to the supplied list.   This is a preliminary
  implementation.

* Add HAMMERIOC_GETHISTORY - a command which scans the history for a
  particular file or a particular file offset within a file and displays
  it.

10 years agoUse correct extension.
Simon Schubert [Mon, 4 Feb 2008 01:38:11 +0000 (01:38 +0000)]
Use correct extension.

Puzzled-gdb-debugging-by: aggelos@
10 years agoMake sure scb->lastfound is NULLed out when it matches the entry being
Matthew Dillon [Sun, 3 Feb 2008 21:40:42 +0000 (21:40 +0000)]
Make sure scb->lastfound is NULLed out when it matches the entry being
removed from the scb->sackblocks list.  Fix two places where this was not
occuring, leading to memory and list corruption.

Reported-by: Peter Avalos <pavalos@theshell.com>
10 years agoMention -O and bump .Dd
Matthias Schmidt [Sun, 3 Feb 2008 19:07:45 +0000 (19:07 +0000)]
Mention -O and bump .Dd

10 years agoAllow -q to take an argument (which is ignored) and add fake -O option to
Matthias Schmidt [Sun, 3 Feb 2008 18:41:40 +0000 (18:41 +0000)]
Allow -q to take an argument (which is ignored) and add fake -O option to
make dma(8) more sendmail(8) compatible and some startup scripts happy.

Reported-by: swildner@
10 years agoRemove leading 0 in .Dd.
Sascha Wildner [Sun, 3 Feb 2008 18:02:42 +0000 (18:02 +0000)]
Remove leading 0 in .Dd.

10 years agoIt's actually postfix(1).
Sascha Wildner [Sun, 3 Feb 2008 18:02:12 +0000 (18:02 +0000)]
It's actually postfix(1).

10 years agoRemove code accessing debug registers from vkernel platform to avoid crashes:
Nicolas Thery [Sun, 3 Feb 2008 15:10:26 +0000 (15:10 +0000)]
Remove code accessing debug registers from vkernel platform to avoid crashes:
these registers are available in privileged mode only but the vkernel runs in
user mode (issue 831).

10 years agoStore some empty magazines in depot at objcache creation time. Without this,
Nicolas Thery [Sun, 3 Feb 2008 13:37:56 +0000 (13:37 +0000)]
Store some empty magazines in depot at objcache creation time.  Without this,
objects move between per-cpu caches and the underlying allocator without ever
hitting the depot.

Code-collaboration-with: Matthew Dillon <dillon@backplane.com>

10 years agoWork around a `label defined but not used' warning in *generated* code.
Simon Schubert [Sun, 3 Feb 2008 13:14:12 +0000 (13:14 +0000)]
Work around a `label defined but not used' warning in *generated* code.

Obtained-from:  FreeBSD

10 years agoFixed typo in penultimate revision.
Nicolas Thery [Sun, 3 Feb 2008 13:10:36 +0000 (13:10 +0000)]
Fixed typo in penultimate revision.

10 years agoFix some compiler warnings and make dma(8) compile clean on FreeBSD. Commit
Matthias Schmidt [Sun, 3 Feb 2008 11:06:17 +0000 (11:06 +0000)]
Fix some compiler warnings and make dma(8) compile clean on FreeBSD.  Commit
submitted patch with minor modifications.

Submitted-by: Xin LI <delphij@delphij.net>
10 years agoSCO sysctls are implemented now in ubt(4).
Hasso Tepper [Sun, 3 Feb 2008 06:33:00 +0000 (06:33 +0000)]
SCO sysctls are implemented now in ubt(4).

10 years agoImplement SCO related sysctls.
Hasso Tepper [Sun, 3 Feb 2008 06:27:48 +0000 (06:27 +0000)]
Implement SCO related sysctls.

Obtained-from: NetBSD with modifications

10 years agoRemove wicontrol(8) references.
Sascha Wildner [Sun, 3 Feb 2008 02:14:48 +0000 (02:14 +0000)]
Remove wicontrol(8) references.

10 years agoRemove unused variable.
Sascha Wildner [Sun, 3 Feb 2008 00:41:44 +0000 (00:41 +0000)]
Remove unused variable.

10 years agoFix buildworld: add -I${.CURDIR} so aliases_parse.c can find dma.h.
Sascha Wildner [Sat, 2 Feb 2008 23:57:35 +0000 (23:57 +0000)]
Fix buildworld: add -I${.CURDIR} so aliases_parse.c can find dma.h.

10 years agoFix messages: s/installer_fetch/installer fetch/
Sascha Wildner [Sat, 2 Feb 2008 19:23:24 +0000 (19:23 +0000)]
Fix messages: s/installer_fetch/installer fetch/

10 years agoRemove leading zero in .Dd.
Sascha Wildner [Sat, 2 Feb 2008 18:43:46 +0000 (18:43 +0000)]
Remove leading zero in .Dd.

10 years agoMention /etc/dma and /var/spool/dma.
Matthias Schmidt [Sat, 2 Feb 2008 18:25:26 +0000 (18:25 +0000)]
Mention /etc/dma and /var/spool/dma.

10 years agoAdd the dma(8) config files to the system.
Matthias Schmidt [Sat, 2 Feb 2008 18:24:00 +0000 (18:24 +0000)]
Add the dma(8) config files to the system.

10 years agoAdd the DragonFly Mail Agent dma(8) to the base.
Matthias Schmidt [Sat, 2 Feb 2008 18:20:51 +0000 (18:20 +0000)]
Add the DragonFly Mail Agent dma(8) to the base.

dma is a small Mail Transport Agent (MTA), designed for home and office
use.  It accepts mails from locally installed Mail User Agents (MUA) and
delivers the mails either locally or to a remote destination.  Remote
delivery includes several features like TLS/SSL support and SMTP authen-
tication (AUTH LOGIN only).

dma is not intended as a replacement for real, big MTAs like sendmail(8)
or postfix(8).  Consequently, dma does not listen on port 25 for incoming
connections.

Current list of features:
- Local mail delivery with alias-support
- Remote mail delivery either direct or via a smarthost
- TLS/SSL and STARTTLS support for encrypted connections
- virtualusers (address rewriting) support
- SMTP authentication (currently only plain SMTP login)
- Sendmail compatible command line options
- IPv6 support

Code-collaboration-with: codecode@
Man-page-collaboration-with: swildner@
Approved-by: dillon@
10 years agoUse .Er for errnos.
Sascha Wildner [Sat, 2 Feb 2008 12:54:49 +0000 (12:54 +0000)]
Use .Er for errnos.

10 years agoRemove stale references.
Sascha Wildner [Sat, 2 Feb 2008 12:53:01 +0000 (12:53 +0000)]
Remove stale references.

10 years agoAdd gx and ray modules.
Sascha Wildner [Sat, 2 Feb 2008 11:22:09 +0000 (11:22 +0000)]
Add gx and ray modules.