Commits on Apr 26, 2009
  1. MFC - Fix recursive lock in detached close of /dev/tty.

    Matthew Dillon committed Apr 26, 2009
  2. Bump to 2.2.1

    Matthew Dillon committed Apr 26, 2009
  3. MFC - Fix logic when using the umtx_*_err() functions.

    Matthew Dillon committed Apr 23, 2009
  4. MFC - Add missing files from umtx errno fixes commit.

    Matthew Dillon committed Apr 23, 2009
  5. MFC - Fix VM panic. Add required overflow check for MAP_STACK and MAP…

    …_FIXED mmaps
    Matthew Dillon committed Apr 23, 2009
  6. MFC - Fix an errno leak in libthread_xu's calls to umtx.

    Matthew Dillon committed Apr 23, 2009
  7. MFC - FreeBSD-SA-09:05.telnet - fix environment based code execution …

    Matthew Dillon committed Apr 23, 2009
  8. MFC - Fix libthread_xu's use of MAP_STACK. Guards not being setup pro…

    Matthew Dillon committed Apr 23, 2009
  9. MFC - Add cpdup feature - allow uid/gid/flags changes to fail if runn…

    …ing as user
    Matthew Dillon committed Apr 25, 2009
  10. Fix an installworld failure due to kernel fixes and a libthread_xu is…

    Build the bootstrap version of cpdup without threading to work around a
    bug in libthread_xu.  Libthread_xu was trying to map the original user
    stack's red zone without using MAP_FIXED or MAP_TRYFIXED or MAP_STACK,
    a behavior which the kernel now prohibits.
    This fixes running installworld after rebooting with a new kernel.
    Sepherosa Ziehau <>
    Matthew Dillon committed Apr 25, 2009
Commits on Apr 22, 2009
  1. HAMMER VFS: Add missing hammer_rel_volume() call in deadlock/retry case.

    A late collision in hammer_get_buffer() could result in a ref count leak
    on a hammer_volume structure.  Fix the leak.
    Matthew Dillon committed with Thomas Nikolajsen Feb 25, 2009
Commits on Apr 21, 2009
  1. env(1): unbreak build of 2_2 release branch under HEAD

    The problem exhibits when running an old env(1), which is part of
    the bootstrap tools of 2_2, in a host system with new libc/setenv(3).
    When a "value=name" string is supplied to the old env(1), it doesn't
    actually break it into 2 pieces (ie null terminate on '='). It just
    creates two pointers, one pointing to the start of "value" and one
    to the start of "name". These pointers are subsequently passed to
    setenv(3). When new setenv(3) encounters the '=' character as part
    of the "name", it fails with EINVAL. Which is exactly what it should
    do, complying with the POSIX standard.
    This patch has been tested and found to:
    1) unbreak the build of 2_2 release branch under HEAD
    2) not affect (i.e., break) the build of 2_2 under a 2.2 host system
    3) not affect (i.e., break) the build of 2_2 under a 2.0 host system
    Stathis Kamperis committed Apr 21, 2009
Commits on Apr 14, 2009
  1. magic(3): Fix program name extraction from core dumps.

    Remove trailing whitespace only instead of unconditionally removing the
    last character from the program name (see comments).
    Reported-by: hasso
    Located-by:  Eric J. Christeson
    Taken-from:  FreeBSD's libmagic
    Sascha Wildner committed Apr 14, 2009
Commits on Apr 13, 2009
  1. Sync zoneinfo database with tzdata2009f from elsie.

    asia:           8.29 -> 8.30
    Pakistan will observe DST from April 15, 2009 instead of May 1 like
    previously planned.
    Sascha Wildner committed Apr 13, 2009
Commits on Apr 12, 2009
  1. sppp(4): Properly initialize keepalive_timeout.

    Sascha Wildner committed Apr 12, 2009
  2. kdump: Add net/if_arp.h include

    Missing in 7a80e26
    Thomas Nikolajsen committed with Sascha Wildner Apr 12, 2009
Commits on Apr 11, 2009
  1. sln(4): Include <sys/param.h>

    Sepherosa Ziehau committed with Sascha Wildner Apr 11, 2009
  2. Unbreak GENERIC building

    Sepherosa Ziehau committed with Sascha Wildner Apr 11, 2009
  3. netgraph/i4b: sppp struct should start with arpcom, so netgraph could…

    … work
    Reported-by: swildner@
    Sepherosa Ziehau committed with Sascha Wildner Apr 11, 2009
Commits on Apr 6, 2009
  1. Sync zoneinfo database with tzdata2009e from elsie.

    asia:           8.26 -> 8.29
    * Jordan has been going to DST on the last Friday in March since 2002
      and not on the last Thursday.
    * Palestine started DST midnight, March 26 and will end midnight,
      September 27.
    Sascha Wildner committed Apr 6, 2009
Commits on Mar 29, 2009
  1. Fix side-effect of a80e869; -net has been treated as

    Also bring the rest of the relavant fix r187384 from FreeBSD.
    YONETANI Tomokazu committed Feb 23, 2009
Commits on Mar 24, 2009
  1. Sync zoneinfo database with tzdata2009d from elsie.

    africa:         8.17 -> 8.18
    asia:           8.25 -> 8.26
    southamerica:   8.33 -> 8.34
    * Morocco will observe DST from June 1, 2009 0:00 to August 21, 2009 0:00
    * Tunisia will not observe DST this year.
    * Syria will start DST one week earlier this year (March 27, 0:00)
    * San Luis, Argentina, decided to observe standard Argentine DST in the
    Sascha Wildner committed Mar 24, 2009
Commits on Mar 23, 2009
  1. Fix target machine define in compiler.

    Make(1) doesn't like "target" as a name for variable, seems.
    Hasso Tepper committed Mar 23, 2009
  2. pax(1): Fix WARNS regression

    Sascha Wildner committed with Hasso Tepper Mar 18, 2009
  3. Create destination on copy if it doesn't exists.

    Should conform to SUSv3 and fixes a lot of building failures in pkgsrc.
    Digged-out-by: Alex Hornung
    Hasso Tepper committed Mar 17, 2009
Commits on Mar 16, 2009
  1. Sync zoneinfo database with tzdata2009c from elsie.

    northamerica:   8.26 -> 8.27
    Cuba started DST one week earlier than previously thought.
    Sascha Wildner committed Mar 16, 2009
Commits on Mar 2, 2009
  1. Allow the IP_MINTTL socket option to be set to zero.

    This disables the feature and is the default actually.
    Reported-by: Nick Hilliard <nick at>
    Dragonfly-bug: <>
    Hasso Tepper committed Mar 2, 2009
Commits on Mar 1, 2009
  1. msdosfs: fix deleted-but-open files handling.

    When deleting a file, msdosfs keeps its denode in the denode cache until it is
    reclaimed.  This causes a collision in the cache when recycling the directory
    entry of a deleted but still open file for a new or renamed file.  This
    collision was incorrecly handled resulting in a kernel panic (rename case) or
    syscall error and corrupted in-core state (new file case).
    Fix by allowing denodes pointing to the same directory entry to coexist in the
    cache as long as a single one of them represents an existing file.
    Reported-by: corecore@
    Dragonfly-bug: <>
    (cherry picked from commit 629f33a)
    nthery committed Mar 1, 2009
Commits on Feb 22, 2009
  1. installer: Re-add the TEST_DEV command which was removed accidentally.

    This should make command_add_ensure_dev() work again (to test if a
    partition exists and create it if it doesn't).
    Reported-by:   M.K. <>
    Dragonfly-bug: <>
    Sascha Wildner committed Feb 21, 2009
  2. LiveDVD: Fix installer when it is run in the console.

    The LiveDVD was recently changed to not auto-start X11 anymore, meaning
    the installer can now be run from within X11 (after manually starting
    it) or from the console. However, the latter case requires ttyv1 to be
    free because the console installer will log stuff on ttyv1. When started
    from X11, this output goes to a different window (which is why ttyv1
    was configured normally on the LiveDVD).
    Reported-by:   matthias
    Dragonfly-bug: <>
    Sascha Wildner committed Feb 18, 2009
Commits on Feb 15, 2009
  1. nrelease: kernel moved to boot, make kernel.BOOTP there

    Thomas Nikolajsen committed Feb 15, 2009