dragonfly.git
5 years agoMakefile.usr: pull in changes from master, adjust to release DragonFly_RELEASE_2_0
Simon Schubert [Fri, 16 Jan 2009 14:24:45 +0000 (15:24 +0100)]
Makefile.usr: pull in changes from master, adjust to release

5 years agoDon't drag the host CCVER into the release build
Simon Schubert [Wed, 3 Dec 2008 23:20:05 +0000 (00:20 +0100)]
Don't drag the host CCVER into the release build

nrelease was defaulting WORLD_CCVER, which is passed as CCVER to buildworld
and KERNEL_CCVER, which is passed as CCVER to buildkernel, to CCVER.  However
the system makefiles set CCVER themselves, thus dragging their idea of the
default CCVER into the release build.

This commit should fix snapshots being built with gcc34 on chlamydia running 1.8-REL.

5 years agoMFC: Make apps using '#define _POSIX_C_SOURCE' compile.
Hasso Tepper [Thu, 20 Nov 2008 11:56:50 +0000 (11:56 +0000)]
MFC: Make apps using '#define _POSIX_C_SOURCE' compile.

5 years agoMFC rev 1.11 and 1.12:
Hasso Tepper [Wed, 19 Nov 2008 08:31:26 +0000 (08:31 +0000)]
MFC rev 1.11 and 1.12:
 Fixes for SATA ATAPI devices.

5 years agoSync with HEAD.
Sascha Wildner [Mon, 27 Oct 2008 13:54:55 +0000 (13:54 +0000)]
Sync with HEAD.

5 years agoMFC r1.2. Fix CVE-2008-3831. Affects the Intel G33 series and newer only.
Hasso Tepper [Mon, 27 Oct 2008 03:46:17 +0000 (03:46 +0000)]
MFC r1.2. Fix CVE-2008-3831. Affects the Intel G33 series and newer only.

Obtained-from: DRM git

5 years agoSync with HEAD.
Sascha Wildner [Mon, 13 Oct 2008 19:55:07 +0000 (19:55 +0000)]
Sync with HEAD.

5 years agoMFC r1.13 (HEAD):
Thomas Nikolajsen [Fri, 10 Oct 2008 18:18:12 +0000 (18:18 +0000)]
MFC r1.13 (HEAD):
 - null mount for PFS slave can't be set up before first mirroring operation,
   as PFS slave path is unusable, as described in example
 - add markup

5 years agoSync with HEAD.
Sascha Wildner [Mon, 6 Oct 2008 16:26:59 +0000 (16:26 +0000)]
Sync with HEAD.

5 years agoIf a neighbor solictation or neighbor advertisement isn't from the
Hasso Tepper [Fri, 3 Oct 2008 08:02:23 +0000 (08:02 +0000)]
If a neighbor solictation or neighbor advertisement isn't from the
unspecified address, make sure that the source address matches one of the
interfaces address prefixes.

CVE-2008-2476

Obtained-from: NetBSD with modifications

5 years agoMFC r1.5 r1.49 r1.40 (HEAD):
Thomas Nikolajsen [Sun, 28 Sep 2008 22:10:15 +0000 (22:10 +0000)]
MFC r1.5 r1.49 r1.40 (HEAD):
 * Fix `cleanup' usage to match program
 * Expand `cleanup' description
 * Add note that `snapshot' is a per PFS operation
 * Sync recommended path for slave PFS snapshots to program
 * Add `-offset indent' to .Bd where missing
 * Break too long line

5 years agoMFC r1.7 (HEAD):
Thomas Nikolajsen [Sun, 28 Sep 2008 22:08:27 +0000 (22:08 +0000)]
MFC r1.7 (HEAD):
 * Add note on HAMMER use for NFS exporting PFSs
 * Add note that UFS for lower layer is assumed in example
 * Improve markup

5 years agoMFC r1.12 (HEAD):
Thomas Nikolajsen [Sun, 28 Sep 2008 22:06:39 +0000 (22:06 +0000)]
MFC r1.12 (HEAD):
Add:
 * description of NFS exports, including handling of PFSs;
also remove BUGS section, which said PFSs couldn't be NFS exported.
 * note that null mounts of PFSs are recommended
 * note on `hammer cleanup'
 * note that reblocking is needed for nohistory mounts
 * description of data integrity checking from HAMMER article
 * `-offset indent' to .Bd missing it

5 years agoHAMMER Utilities: MFC all changes as of 20080924 - through 'hammer cleanup'.
Matthew Dillon [Thu, 25 Sep 2008 02:39:20 +0000 (02:39 +0000)]
HAMMER Utilities: MFC all changes as of 20080924 - through 'hammer cleanup'.

5 years agoMFC numerous features from HEAD.
Matthew Dillon [Thu, 25 Sep 2008 02:20:57 +0000 (02:20 +0000)]
MFC numerous features from HEAD.

* NFS export support for nullfs mounted filesystems,
  intended for nullfs mounted hammer PFSs.

* Each nullfs mount constructs a unique fsid based on
  the underlying mount.

* Each nullfs mount maintains its own netexport structure.

* The mount pointer in the nch (namecache handle) is passed
  into FHTOVP and friends, allowing operations to occur
  on the underlying vnodes but still go through the nullfs
  mount.

5 years agoMFC numerous features from HEAD.
Matthew Dillon [Thu, 25 Sep 2008 02:10:29 +0000 (02:10 +0000)]
MFC numerous features from HEAD.

* Disk flush support in scsi and nata subsystems.

5 years agoMFC numerous features from HEAD.
Matthew Dillon [Thu, 25 Sep 2008 01:44:57 +0000 (01:44 +0000)]
MFC numerous features from HEAD.

* Bounce buffer fixes for physio.
* Disk flush support in scsi and nata subsystems.
* Dead bio handling

5 years agoHAMMER: MFC all changes through 20080924
Matthew Dillon [Thu, 25 Sep 2008 01:42:52 +0000 (01:42 +0000)]
HAMMER: MFC all changes through 20080924

* Flush performance adjustments.
* Unlink performance adjustments (remove double flush).
* Improved reclaim performance.
* Snapshots[] path configuration support in PFS data.
* Add disk cache flush support.
* NFS support.

5 years agoHAMMER Utilities: MFC all changes as of 20080924 - through 'hammer cleanup'.
Matthew Dillon [Thu, 25 Sep 2008 01:39:33 +0000 (01:39 +0000)]
HAMMER Utilities: MFC all changes as of 20080924 - through 'hammer cleanup'.

5 years agoMFC 1.10: Add _SC_PAGE_SIZE.
Hasso Tepper [Mon, 22 Sep 2008 09:16:30 +0000 (09:16 +0000)]
MFC 1.10: Add _SC_PAGE_SIZE.

5 years agoBump the sub-version to 1, for 2.0.1 v2.0.1
Matthew Dillon [Sat, 20 Sep 2008 06:19:38 +0000 (06:19 +0000)]
Bump the sub-version to 1, for 2.0.1

5 years agoMFC r1.6:
Sascha Wildner [Fri, 19 Sep 2008 18:49:09 +0000 (18:49 +0000)]
MFC r1.6:

Remove dereference of uninitialized 'i'.

Found-by: LLVM/Clang Static Analyzer
5 years agoMFC r1.8:
Sascha Wildner [Fri, 19 Sep 2008 17:51:11 +0000 (17:51 +0000)]
MFC r1.8:

Remove dereference of 'i' which is never set. getopt() will take care of
printing an "illegal option" message anyway.

Found-by: LLVM/Clang Static Analyzer
5 years agoMFC r1.17 (HEAD):
Thomas Nikolajsen [Tue, 16 Sep 2008 22:09:44 +0000 (22:09 +0000)]
MFC r1.17 (HEAD):
update fdisk.8:
 - add `MBR' to one line description (`.Nd')
 - add description on number of supported slices and usage
 - add note on `packet' mode and Xref boot0cfg
 - note that fdisk only can change s1-s4

Update fdisk.8:
 - break lines at end of sentence (`.')
 - minor markup improvements

5 years agoMFC r1.14 (HEAD):
Thomas Nikolajsen [Tue, 16 Sep 2008 22:05:36 +0000 (22:05 +0000)]
MFC r1.14 (HEAD):
Fix markup:
 * Add missing escape (\&) to mdoc(7) punctuation characters
 * Consistently use single (vs double) quotes for one character strings

5 years agoMFC r1.6 (HEAD):
Thomas Nikolajsen [Tue, 16 Sep 2008 22:02:50 +0000 (22:02 +0000)]
MFC r1.6 (HEAD):
Add missing description on context addresses.

Obtained-from: FreeBSD
with minor corrections and additions.

5 years agoMFC r1.3 r1.13 r1.8 (HEAD):
Thomas Nikolajsen [Tue, 16 Sep 2008 21:58:06 +0000 (21:58 +0000)]
MFC r1.3 r1.13 r1.8 (HEAD):
 * fix markup of `auto' argument
 * add `auto' where missing
 * delete extra synopsis
 * fix wrong single character quoting

Delete false note.

Comment out some .Pp's as well.

Update disklabel64 doc:
 - Comment out all reference to boot / bootstrap from 64 bit label,
it isn't supported yet.
 - Add note that this is 64 bit disk label.
 - Add gpt and newfs_hammer in description on setting up a disk from scratch

5 years agoMFC r1.6 r1.30 r1.28 (HEAD):
Thomas Nikolajsen [Tue, 16 Sep 2008 21:54:32 +0000 (21:54 +0000)]
MFC r1.6 r1.30 r1.28 (HEAD):
 * fix markup of `auto' argument
 * add `auto' where missing
 * delete extra synopsis
 * fix wrong single character quoting

Minor wording improvement.

Add an example os how to change label format from 32 bit to 64 bit,
and delete note that it require reboot.

Fix typo: missing line break, which got .Xr hide sentence.

Update disklabel doc:
 - Sync usage() to disklabel.8
 - Add note that this is 32 bit disklabel
 - Move description of `-f' flag from unrelated section (SAVED FILE FORMAT)
 - Improve some wording and mark up a bit

5 years agoMFC r1.6 r1.15 (HEAD)
Thomas Nikolajsen [Tue, 16 Sep 2008 21:46:59 +0000 (21:46 +0000)]
MFC r1.6 r1.15 (HEAD)
Update pf.conf.5:
   - add line break after sentence
   - add description for `set keep-policy'
   - drop note that RIO isn't in GENERIC kernel,
  as this applies to OpenBSD when pf.conf.5 was imported;
  in DragonFly altq isn't in GENERIC kernel at all
   - fix GRAMMAR by adding `set keep-policy', and `no state',
  fixing scheduler defs and dropping unneeded parens & brackets
   - improve mark up a bit

5 years agoMFC r1.11 (HEAD):
Thomas Nikolajsen [Tue, 16 Sep 2008 21:39:25 +0000 (21:39 +0000)]
MFC r1.11 (HEAD):
Add note that NFS exporting PFSs isn't supported yet.

Add example crontab line to the prune section.

Update hammer.5:
 - expand description on reblocking and pruning a bit
 - correct no. PFS supported (PFS 0 is used for hammer file system)
 - add mirror-stream and mirror-read-stream reference

5 years agoOops, I accidentally MFC'd too much.
Sascha Wildner [Tue, 16 Sep 2008 12:51:21 +0000 (12:51 +0000)]
Oops, I accidentally MFC'd too much.

5 years agoMFC r1.27:
Sascha Wildner [Tue, 16 Sep 2008 12:39:45 +0000 (12:39 +0000)]
MFC r1.27:

If ae is NULL, just print that the controller is unsupported and return,
instead of continuing and dereferencing it later.

Found-by: LLVM/Clang Static Analyzer
5 years agoI should drink more coffee before starting committing. Revert the last change
Matthias Schmidt [Tue, 16 Sep 2008 11:37:41 +0000 (11:37 +0000)]
I should drink more coffee before starting committing.  Revert the last change
as 2.0 contains the ISC dhcp client.  Thanks to hasso@ for bringing this to
my attention.

5 years agoRemove the -1 option from the installer.
Matthias Schmidt [Tue, 16 Sep 2008 11:21:31 +0000 (11:21 +0000)]
Remove the -1 option from the installer.

This option is specific to the old, now removed, ISC dhcp client.  The new
OpenBSD dhcp client does not support this option.  If a user wants to set an
IP address with the installer prior to this commit, it fails and the user sees
an error message.

The meaning of the -1 option was: "Try to get a lease only once.  If it fails,
quit."  Due to this commit, this behaviour changes.  I think its better to have
an installer which tries to get a lease more than once that having an installer
which does not try to get a lease at all.

5 years agoMFC r1.9:
Sascha Wildner [Tue, 16 Sep 2008 09:26:20 +0000 (09:26 +0000)]
MFC r1.9:

If a NULL pointer was passed, panic like everywhere else.

Found-by: LLVM/Clang Static Analyzer
5 years agoMFC - Don't fail if the file flags of source and copied symlinks don't match.
YONETANI Tomokazu [Tue, 16 Sep 2008 08:24:19 +0000 (08:24 +0000)]
MFC - Don't fail if the file flags of source and copied symlinks don't match.

5 years agoSync with HEAD.
Sascha Wildner [Mon, 15 Sep 2008 17:26:50 +0000 (17:26 +0000)]
Sync with HEAD.

5 years agoMFC 1.55 - fix an invalidation case which primarily occurs on NFS servers.
Matthew Dillon [Mon, 15 Sep 2008 17:10:03 +0000 (17:10 +0000)]
MFC 1.55 - fix an invalidation case which primarily occurs on NFS servers.

5 years agoMFC r1.3:
Sascha Wildner [Sun, 14 Sep 2008 21:09:17 +0000 (21:09 +0000)]
MFC r1.3:

Fix bug in normalization.

Found-by: LLVM/Clang Static Analyzer
5 years agoMFC r1.28:
Sascha Wildner [Sat, 13 Sep 2008 23:46:36 +0000 (23:46 +0000)]
MFC r1.28:

Add line width calculations for 15/16 and 24/32 bit modes in case
the "Get Scan Line Length" function fails, as it does in Parallels
(in Version 2.2, Build 2112 at least).

5 years agoHAMMER Utilities: MFC work to date.
Matthew Dillon [Tue, 9 Sep 2008 23:41:13 +0000 (23:41 +0000)]
HAMMER Utilities: MFC work to date.

* Better usage tests and usage() summary.

* Fix bug when using a remote source specification with the mirror command

* Improved PFS commands.

5 years agoMFC if_aue.c rev1.39:
Sepherosa Ziehau [Mon, 1 Sep 2008 13:09:02 +0000 (13:09 +0000)]
MFC if_aue.c rev1.39:
  In aue(4) txeof, differ ifnet.if_start to ifnet's CPU to:
  1) Keep if_start serialized
  2) Avoid deadlock between USB sync operations and holding serializer in
     USB task thread (e.g. in txeof callback)

  Dragonfly-bug: <http://bugs.dragonflybsd.org/issue1123>
Tested-by: Tim <t-df@timdarby.net>
5 years agoAdd missing -s to usage string.
Matthias Schmidt [Wed, 27 Aug 2008 13:15:21 +0000 (13:15 +0000)]
Add missing -s to usage string.

5 years agoMFC:
Sascha Wildner [Sat, 23 Aug 2008 23:30:10 +0000 (23:30 +0000)]
MFC:

Fix null dereference.

Found-by: LLVM/Clang Static Analyzer
5 years agoMFC:
Sascha Wildner [Thu, 21 Aug 2008 12:20:39 +0000 (12:20 +0000)]
MFC:

Remove wrong semicolon.

Found-by: LLVM/Clang Static Analyzer
6 years agoMFC:
Sascha Wildner [Thu, 14 Aug 2008 07:44:43 +0000 (07:44 +0000)]
MFC:

Use "ipl" as module name and not the full version string. This makes
/etc/rc.d/ipfilter behave correctly when checking if ipfilter is loaded
or compiled into the kernel.

Reported-by: Frank Josellis <frank@dynamical-systems.org>
6 years agoMFC HAMMER 2.0:02 - rmdir, stability
Matthew Dillon [Sun, 10 Aug 2008 17:01:09 +0000 (17:01 +0000)]
MFC HAMMER 2.0:02 - rmdir, stability

6 years agoMFC rev 1.2:
Hasso Tepper [Sat, 9 Aug 2008 09:15:05 +0000 (09:15 +0000)]
MFC rev 1.2:
  Detach correctly so there is no need to panic during reattach.

6 years agoMFC: Fix 'Used' column in -h/-H output by using int64_t.
Sascha Wildner [Thu, 7 Aug 2008 10:01:38 +0000 (10:01 +0000)]
MFC: Fix 'Used' column in -h/-H output by using int64_t.

6 years agoHAMMER 2.0:01 - MFC HAMMER 2.1:01
Matthew Dillon [Wed, 6 Aug 2008 15:41:56 +0000 (15:41 +0000)]
HAMMER 2.0:01 - MFC HAMMER 2.1:01

MFC buffer cache leak, invalidation races, b-tree deletion, nlinks,
and rmdir fixes.

6 years agoMFC: Use humanize_number(3) for -h and -H.
Sascha Wildner [Wed, 6 Aug 2008 07:54:07 +0000 (07:54 +0000)]
MFC: Use humanize_number(3) for -h and -H.

6 years agoMFC: if_dc.c rev1.57
Sepherosa Ziehau [Tue, 5 Aug 2008 11:30:33 +0000 (11:30 +0000)]
MFC: if_dc.c rev1.57
  - In dc_intr(), check IFF_RUNNING instead of IFF_UP; this closes a possible
    time window between IFF_UP is set but not IFF_RUNNING.
  - In dc_ioctl(), don't program multicast filter, if NIC is not running yet.
    Add assertion in Xircom's multicast filter programming function to make
    sure that NIC is running.
  - Don't set IFF_RUNNING in Xircom's multicast filter programming function.
  - Move setting IFF_RUNNING before programming multicast filter; just to keep
    the IFF_RUNNING assertion work.  Add comment about it

  Dragonfly-bug: <http://bugs.dragonflybsd.org/issue1106>
Tested-by: Tim <t-df@timdarby.net>
6 years agoMFC:
Thomas Nikolajsen [Mon, 4 Aug 2008 21:05:59 +0000 (21:05 +0000)]
MFC:
Update rc.conf.5:
 * Drop superfluous 'This variable contains'
 * Drop note that dhclient is ISC
 * Break network_interfaces item into ifconfig_interface etc. parts
 * Add Xref for rtadvd.8
 * Add /etc/startif.interface to FILES section
 * Improve markup

6 years agoMFC:
Thomas Nikolajsen [Mon, 4 Aug 2008 21:02:18 +0000 (21:02 +0000)]
MFC:
vnconfig doc update:
 * Sync usage() to vnconfig.8
 * Use 'options' instead of 'option[,option...]'
 * Use 'options' consistently, not 'flags' sometimes

6 years agoMFC:
Thomas Nikolajsen [Mon, 4 Aug 2008 20:59:54 +0000 (20:59 +0000)]
MFC:
Add Xref to committer.7.

6 years agoMFC:
Thomas Nikolajsen [Mon, 4 Aug 2008 20:57:49 +0000 (20:57 +0000)]
MFC:
Update ffs.5:
 * Add 's0' as DragonFly needs this

6 years agoMFC:
Thomas Nikolajsen [Mon, 4 Aug 2008 20:56:17 +0000 (20:56 +0000)]
MFC:
Update mount_cd9660.8:
 * Fix SYNOPSIS

6 years agoMFC:
Thomas Nikolajsen [Mon, 4 Aug 2008 20:54:18 +0000 (20:54 +0000)]
MFC:
Update fdisk.8:
 * Add note on 2TB limitation and hint on gpt.8

6 years agoMFC:
Thomas Nikolajsen [Mon, 4 Aug 2008 20:48:01 +0000 (20:48 +0000)]
MFC:
Update fstab.5:
 * Add HAMMER to list of common file systems
 * Remove note that block special files has to be used
 * Xref HAMMER.5 and ffs.5
 * Add a bit of markup
 * s/filesystem/file system/ to get consistent spelling

6 years agoMFC: 1.5:
Thomas Nikolajsen [Mon, 4 Aug 2008 20:41:13 +0000 (20:41 +0000)]
MFC: 1.5:
Update gpt.8:
 * Add note that GPT partitions are accessed as DragonFly disk slices
 * Describe that add command will print disk slice.
 * Correct default partition type: it is dfly, not UFS
 * Mention that dfly partition type is for disklabel64.5
 * Add FILES section
 * Add EXAMPLES section
 * Add some Xrefs
 * Mention that migrate command isn'r for DragonFly
 * Add note that booting from GPT isn't supported

6 years agoMFC: following 4 commits:
Thomas Nikolajsen [Mon, 4 Aug 2008 20:35:47 +0000 (20:35 +0000)]
MFC: following 4 commits:
Fix small mdoc issue.

Update disklabel64.8:
 * Update one line description to include '64 bit'
 * Update description of DragonFly disk slice numbering to include GPT
 * Remove specifications without relevance, left over from disklabel.8
 * Add Xrefs to uuid.3 and gpt.8
 * Add note that booting isn't supported
 * Enhance markup a bit

Reference hammer(5).

Remove trailing whitespace.

6 years agoMFC: following 4 commits:
Thomas Nikolajsen [Mon, 4 Aug 2008 20:31:36 +0000 (20:31 +0000)]
MFC: following 4 commits:
Fix two small mdoc issues.

Update disklabel.8:
 * Update description of DragonFly disk slice numbering to include GPT
 * Add note on 2TB limitation and hint on disklabel64
 * Enhance markup a bit

Reference hammer(5).

Remove trailing whitespace.

6 years agoMFC: following 2 commits:
Thomas Nikolajsen [Mon, 4 Aug 2008 20:14:42 +0000 (20:14 +0000)]
MFC: following 2 commits:
Update mount_hammer.8
 * Update SYNOPSIS to reflect that ':' can be used as separator for specials
 * Rename `mount-options' to `options' to follow mount.8 and
save some space in SYNOPSIS
 * Add Xrefs for HAMMER.5 and gpt.8
 * Use consistent spelling for 'file system'
 * Add fstab(5) part to existing example
 * Add markup

Fix typo.

6 years agoMFC: following 2 commits:
Thomas Nikolajsen [Mon, 4 Aug 2008 20:07:46 +0000 (20:07 +0000)]
MFC: following 2 commits:
Update newfs_hammer.8:
 * Add Xrefs for HAMMER.5 and gpt.8
 * Change Xrefs from disklabel[64].8 to .5
 * Add some markup

Add description of how to specify sizes.

6 years agoMFC bandwith, delay, mirroring, and pfs work from HEAD.
Matthew Dillon [Mon, 4 Aug 2008 19:41:25 +0000 (19:41 +0000)]
MFC bandwith, delay, mirroring, and pfs work from HEAD.

6 years agoMFC: Fix a panic on boot that can occur if you hit keys on the keyboard
Matthew Dillon [Sun, 3 Aug 2008 03:00:58 +0000 (03:00 +0000)]
MFC: Fix a panic on boot that can occur if you hit keys on the keyboard
     before the console device's high level initialization is run.

6 years agoMFC:
Sascha Wildner [Sun, 3 Aug 2008 01:02:20 +0000 (01:02 +0000)]
MFC:

Actually install the blacklists of compromised SSH keys into /etc when doing
'make upgrade'.

6 years agoHAMMER: MFC to 2.0
Matthew Dillon [Sat, 2 Aug 2008 21:24:28 +0000 (21:24 +0000)]
HAMMER: MFC to 2.0

* Bug fix: fsync indefinite blocking

* Bug fix: missed invalidation which can cause an assertion

* Bug fix: kmalloc exhaustion panic on machines with > 2G of ram

* Feature: Streaming mirroring

6 years agoMFC 1.117 - fix desiredvnodes calculation for machines with >2G ram.
Matthew Dillon [Sat, 2 Aug 2008 14:34:29 +0000 (14:34 +0000)]
MFC 1.117 - fix desiredvnodes calculation for machines with >2G ram.

Requested-by: Francois Tigeot <ftigeot@wolfpond.org>
6 years agoSync with HEAD.
Sascha Wildner [Thu, 31 Jul 2008 20:09:43 +0000 (20:09 +0000)]
Sync with HEAD.

6 years agoMFC:
Michael Neumann [Wed, 30 Jul 2008 07:53:01 +0000 (07:53 +0000)]
MFC:
Implement mounting of a Hammer filesystem as a root filesystem.

  To mount a Hammer filesystem as root filesystem (e.g. /dev/ad0s1d),
  you have to specify the following in /boot/loader.conf:

      vfs.root.mountfrom="hammer:ad0s1d"

6 years agoMFC:
Sascha Wildner [Tue, 29 Jul 2008 13:10:57 +0000 (13:10 +0000)]
MFC:

Update for 2.0.

Reported-by: Michael Neumann <mneumann@ntecs.de>
6 years agoMFC:
Sascha Wildner [Sun, 27 Jul 2008 22:12:03 +0000 (22:12 +0000)]
MFC:

Actually install packages into ${ISOROOT}.

Submitted-by: corecode
Reported-by: M.K. <mk@freeweb.ozi.nu>
Dragonfly-bug: <http://bugs.dragonflybsd.org/issue1092>

6 years agoMFC: Fix comments.
Sascha Wildner [Sun, 27 Jul 2008 21:14:41 +0000 (21:14 +0000)]
MFC: Fix comments.

6 years agoMFC: An off-by-one malloc size was corrupting the installer's memory,
Matthew Dillon [Sat, 26 Jul 2008 21:24:50 +0000 (21:24 +0000)]
MFC: An off-by-one malloc size was corrupting the installer's memory,
causing the time-zone selector to seg-fault.

Submitted-by: Pierre Riteau <pierre.riteau@gmail.com>
6 years agoMFC rev 1.89:
Sepherosa Ziehau [Sat, 26 Jul 2008 15:42:06 +0000 (15:42 +0000)]
MFC rev 1.89:
  Bring following change from FreeBSD (yar@freebsd.org):
    uipc_syscall.c rev 1.154

    If connect(2) has been interrupted by a signal and therefore the
    connection is to be established asynchronously, behave as in the

    - keep the SS_ISCONNECTING bit set thus indicating that
      the connection establishment is in progress, which is the case
      (clearing the bit in this case was just a bug);

    - return EALREADY, instead of the confusing and unreasonable
      EADDRINUSE, upon further connect(2) attempts on this socket
      until the connection is established (this also brings our
      connect(2) into accord with IEEE Std 1003.1.)

Tested-by: y0netan1@
Reviewed-by: hsu@
  Dragonfly-bug: <http://bugs.dragonflybsd.org/issue1079>

6 years agoHAMMER commit - MFC ref count related panics when a HAMMER mount fails, etc.
Matthew Dillon [Sat, 26 Jul 2008 05:37:20 +0000 (05:37 +0000)]
HAMMER commit - MFC ref count related panics when a HAMMER mount fails, etc.

6 years agoMFC if_ethersubr.c rev1.77:
Sepherosa Ziehau [Sat, 26 Jul 2008 04:58:41 +0000 (04:58 +0000)]
MFC if_ethersubr.c rev1.77:
  Simplify ether_mport().  This also fixes the bug that m0 is not cleared in
  the first place, which causes caller panik.

Reported-by: elekktretterr@exemail.com.au
6 years agoMFC: Fix typos.
Sascha Wildner [Fri, 25 Jul 2008 03:18:44 +0000 (03:18 +0000)]
MFC: Fix typos.

6 years agoMFC: Document -f.
Sascha Wildner [Fri, 25 Jul 2008 03:18:36 +0000 (03:18 +0000)]
MFC: Document -f.

6 years agoSync with HEAD.
Sascha Wildner [Fri, 25 Jul 2008 03:16:12 +0000 (03:16 +0000)]
Sync with HEAD.

6 years agoMFC adjustments to newfs_hammer for minimum UNDO FIFO space.
Matthew Dillon [Thu, 24 Jul 2008 05:41:56 +0000 (05:41 +0000)]
MFC adjustments to newfs_hammer for minimum UNDO FIFO space.

6 years agoMFC:
Sascha Wildner [Tue, 22 Jul 2008 15:43:06 +0000 (15:43 +0000)]
MFC:

Fix path for the package tools.

Reported-by: Archimedes Gaviola <archimedes.gaviola@gmail.com>
6 years agoMFC change 'default' to 'English'
Matthew Dillon [Sat, 19 Jul 2008 22:15:16 +0000 (22:15 +0000)]
MFC change 'default' to 'English'

6 years agoPre-2.0 release: Sync with HAMMER 65 - simplify PFS operations.
Matthew Dillon [Sat, 19 Jul 2008 20:26:17 +0000 (20:26 +0000)]
Pre-2.0 release: Sync with HAMMER 65 - simplify PFS operations.

6 years agoPre-2.0 release: Sync with HAMMER 64 - simplify PFS operations.
Matthew Dillon [Sat, 19 Jul 2008 18:49:09 +0000 (18:49 +0000)]
Pre-2.0 release: Sync with HAMMER 64 - simplify PFS operations.

6 years agoPre-2.0 release: Sync with HAMMER 64 - simplify PFS operations, fix pfs-upgrade
Matthew Dillon [Sat, 19 Jul 2008 18:46:20 +0000 (18:46 +0000)]
Pre-2.0 release: Sync with HAMMER 64 - simplify PFS operations, fix pfs-upgrade

6 years agoAdjust path for the upcoming 2.0 release
Matthias Schmidt [Sat, 19 Jul 2008 12:26:26 +0000 (12:26 +0000)]
Adjust path for the upcoming 2.0 release

6 years agoMFC corrected printing of the slice number when adding a GPT partition.
Matthew Dillon [Sat, 19 Jul 2008 07:54:37 +0000 (07:54 +0000)]
MFC corrected printing of the slice number when adding a GPT partition.

Reported-by: Thomas Nikolajsen <thomas.nikolajsen@mail.dk>
6 years agoPre-2.0 release: Sync with HAMMER 64 - NFS and cross-device link fixes.
Matthew Dillon [Sat, 19 Jul 2008 04:51:09 +0000 (04:51 +0000)]
Pre-2.0 release: Sync with HAMMER 64 - NFS and cross-device link fixes.

6 years agoMFC 1.25: O_CREAT was being allowed to leak through a read-only NFS export.
Matthew Dillon [Sat, 19 Jul 2008 04:44:15 +0000 (04:44 +0000)]
MFC 1.25: O_CREAT was being allowed to leak through a read-only NFS export.

6 years agoRemove outdated hammer.txt.
Sascha Wildner [Fri, 18 Jul 2008 23:30:10 +0000 (23:30 +0000)]
Remove outdated hammer.txt.

6 years agoSync with HEAD.
Sascha Wildner [Fri, 18 Jul 2008 23:28:02 +0000 (23:28 +0000)]
Sync with HEAD.

6 years agoMFC: Fix message.
Sascha Wildner [Fri, 18 Jul 2008 23:25:05 +0000 (23:25 +0000)]
MFC: Fix message.

6 years agoPre-2.0 release, MFC some driver fixes related to interrupt management.
Matthew Dillon [Fri, 18 Jul 2008 03:52:01 +0000 (03:52 +0000)]
Pre-2.0 release, MFC some driver fixes related to interrupt management.

6 years agoPre-2.0 release, MFC firewire disk changes to properly detach SIMs.
Matthew Dillon [Fri, 18 Jul 2008 03:50:00 +0000 (03:50 +0000)]
Pre-2.0 release, MFC firewire disk changes to properly detach SIMs.

6 years agoMFC: Set count to a negative value for an initial burst.
Sascha Wildner [Fri, 18 Jul 2008 00:30:02 +0000 (00:30 +0000)]
MFC: Set count to a negative value for an initial burst.

6 years agoPre-2.0 release, MFC 63 - HAMMER I/O error handling and catastrophic
Matthew Dillon [Fri, 18 Jul 2008 00:21:09 +0000 (00:21 +0000)]
Pre-2.0 release, MFC 63 - HAMMER I/O error handling and catastrophic
umount support.

6 years agoMFC 1.45 for the 2.0 release: Properly set B_INVAL after failed read.
Matthew Dillon [Fri, 18 Jul 2008 00:13:23 +0000 (00:13 +0000)]
MFC 1.45 for the 2.0 release: Properly set B_INVAL after failed read.

6 years agoMFC CAM fixes for the 2.0 release.
Matthew Dillon [Fri, 18 Jul 2008 00:08:23 +0000 (00:08 +0000)]
MFC CAM fixes for the 2.0 release.