Permalink
Commits on Oct 3, 2009
  1. @corecode
  2. larn(6): Remove some dead SYSV code.

    Submitted-by:  Ulrich Spoerlein <uqs@spoerlein.net>
    Dragonfly-bug: <http://bugs.dragonflybsd.org/issue1550>
    Sascha Wildner committed Oct 3, 2009
  3. @corecode

    dma: add a plain Makefile for other systems

    Submitted-by:  Michel Salim <salimma@fedoraproject.org>
    corecode committed Oct 3, 2009
  4. @corecode

    dma: add DragonFly compat files

    These are not used in DragonFly, but for compilation on other systems.
    corecode committed Oct 3, 2009
  5. @corecode

    dma: don't use sockaddr_storage.ss_len

    sockaddr_storage.ss_len is not mandated by POSIX, so we shouldn't use
    it.  Instead, use addrinfo.ai_addrlen.
    corecode committed Oct 3, 2009
  6. @corecode

    dma: don't use __unused

    __unused avoids a gcc warning that the parameter is not being used, but
    this does not exist in other systems or is overloaded with a different
    meaning.
    
    Instead simply use a cast to (void) to silence gcc.
    corecode committed Oct 3, 2009
  7. @corecode

    dma: sort includes

    corecode committed Oct 3, 2009
  8. @corecode
  9. @corecode

    sys/stat.h: implement st_atim et al

    SUS Issue 7 requires st_atim and friends, which were called st_atimespec
    in BSD.  Rename the fields to match SUS and provide compat defines for
    both st_atimespec etc (for BSD) and st_atime (for old SUS/POSIX).
    
    Discussed-with:  beket@
    corecode committed Oct 3, 2009
  10. Bring in a padlock(4) manual page and also sync crypto.4.

    Taken-from: FreeBSD
    Sascha Wildner committed Oct 3, 2009
  11. gcc44 warnings: Shift in order to fit in 8 bits.

    Sascha Wildner committed Oct 3, 2009
  12. @bwalex

    amd64 - Add missing AMD64_CPU_FAMILY/MODEL

    * Add missing AMD64_CPU_FAMILY and AMD64_CPU_MODEL and related stuff,
      requred by the recent identcpu magic for VIA processors.
    
    Reported-by: YONETANI Tomokazu
    Obtained-from: FreeBSD
    bwalex committed Oct 3, 2009
  13. @bwalex

    tools/tools/crypto - Update from FreeBSD

    Obtained-from: FreeBSD
    bwalex committed Oct 3, 2009
  14. amd64 - add kvtop and add back ed(4) to AMD64_GENERIC

    YONETANI Tomokazu committed Oct 3, 2009
  15. @bwalex

    amd64 - Add via variable decls to md_var.h

    * Add extern decls of via_feature_rng and via_feature_xcrypt to pc64
      md_var.h.
      This should solve an issue when building crypto/via/padlock on amd64.
    
    Dragonfly-bug: http://bugs.dragonflybsd.org/issue1553
    Reported-By: Simon "corecode" Schubert
    bwalex committed Oct 3, 2009
  16. Merge branch 'master' of ssh://crater.dragonflybsd.org/repository/git…

    …/dragonfly
    Matthew Dillon committed Oct 3, 2009
  17. NFS - Fix BIO size panics

    * NFS calculates the BIO block size and stores it in mnt_stat.f_iosize.
      This field was getting overwritten with default values by STATFS
      being passing &mp->mnt_stat from the kernel.
    
      Conditionalize the field so it no longer gets overwritten, and also
      correct nm_rsize/nm_wsize tests to use the smaller of the two
      specifications for the BIO block size.
    
    * Fixes diskless NFS root mounts, and NFS mounts which use smaller
      blocksizes.
    
    Reported-by: Rumko <rumcic@gmail.com>, and others
    Matthew Dillon committed Oct 3, 2009
Commits on Oct 2, 2009
  1. hammer.sh: Adjust for devfs.

    Sascha Wildner committed Oct 2, 2009
  2. Merge branch 'master' of ssh://crater.dragonflybsd.org/repository/git…

    …/dragonfly
    Matthew Dillon committed Oct 2, 2009
  3. vkernel - Fix FP corruption from preemptive thread switch

    * Recent work on the vkernel enabled preemptive interrupt thread switching.
      This introduced a race where the floating point state could change
      out from under the vkernel's go_user() function, causing the FP state
      in the virtual user process to become corrupt.
    
    * Fixed by introducing a critical section which essentially defers any
      preemptive thread switches inside go_user().
    
    Reported-by: YONETANI Tomokazu <qhwt+dfly@les.ath.cx>
    Test-cases-by: YONETANI Tomokazu <qhwt+dfly@les.ath.cx>
    Matthew Dillon committed Oct 2, 2009
  4. crypto.9: Sync with FreeBSD's crypto(9) manual page.

    Also fix prototypes and MLINKS.
    
    Various parts of the page are still outdated, though.
    Sascha Wildner committed Oct 2, 2009
  5. @bwalex

    taskqueue - Beautify thread names

    * Beautify thread names by not printing _0 if only one thread for that
      taskqueue is being started/created.
    bwalex committed Oct 2, 2009
  6. @bwalex
  7. @bwalex

    taskq - Make consumer tasks MPALMOSTSAFE

    * All consumers of taskqueue_thread[cpu] have to be at least
      MPALMOSTSAFE as they won't be called with the mplock held.
    bwalex committed Oct 2, 2009
  8. ktrace - Add kern.ktrace_suid, allowing suid/sgid execs to be ktraced.

    * Defaults to off (secure).  May be set to non-zero to allow ktraces to
      ktrace through an suid/sgid exec, for debugging purposes only.
    Matthew Dillon committed Oct 2, 2009
  9. taskq - Fix SMP spinlock recursion

    Matthew Dillon committed Oct 2, 2009
  10. taskq - Fix SMP panic due to incorrect lwkt_setpri() call.

    Matthew Dillon committed Oct 2, 2009
  11. lwkt - Add lwkt_setpri_initial()

    * Add a lwkt_setpri_initial() call which has no cpu restriction but which
      requires the thread to not be scheduled.
    Matthew Dillon committed Oct 2, 2009
  12. Merge branch 'master' of ssh://crater.dragonflybsd.org/repository/git…

    …/dragonfly
    Matthew Dillon committed Oct 2, 2009
  13. 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>
    Matthew Dillon committed Oct 2, 2009
  14. @bwalex

    opencrypto - Finish porting

    * Fix all remaining porting issues from the original opencrypto WIP
      commit.
    * Remove clashes due to rebase.
    bwalex committed Oct 2, 2009
  15. @bwalex

    mbuf - Add m_apply and m_getptr

    * Import m_apply and m_getptr from FreeBSD.
    
    Obtained-from: FreeBSD
    bwalex committed Sep 28, 2009
  16. @bwalex

    WIP crypto/opencrypto update

    Sascha Wildner committed with bwalex Sep 27, 2009
  17. @bwalex

    VIA CPU support: Detect and enable CPU features (RNG, ACE etc.).

    Taken from: FreeBSD
    Sascha Wildner committed with bwalex Sep 5, 2009