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

    Sascha Wildner committed Oct 3, 2009
    Submitted-by:  Ulrich Spoerlein <uqs@spoerlein.net>
    Dragonfly-bug: <http://bugs.dragonflybsd.org/issue1550>
  2. dma: add a plain Makefile for other systems

    corecode committed Oct 3, 2009
    Submitted-by:  Michel Salim <salimma@fedoraproject.org>
  3. dma: add DragonFly compat files

    corecode committed Oct 3, 2009
    These are not used in DragonFly, but for compilation on other systems.
  4. dma: don't use sockaddr_storage.ss_len

    corecode committed Oct 3, 2009
    sockaddr_storage.ss_len is not mandated by POSIX, so we shouldn't use
    it.  Instead, use addrinfo.ai_addrlen.
  5. dma: don't use __unused

    corecode committed Oct 3, 2009
    __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.
  6. dma: sort includes

    corecode committed Oct 3, 2009
  7. sys/stat.h: implement st_atim et al

    corecode committed Oct 3, 2009
    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@
  8. Bring in a padlock(4) manual page and also sync crypto.4.

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

    Sascha Wildner committed Oct 3, 2009
  10. amd64 - Add missing AMD64_CPU_FAMILY/MODEL

    bwalex committed Oct 3, 2009
    * 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
  11. tools/tools/crypto - Update from FreeBSD

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

    YONETANI Tomokazu committed Oct 3, 2009
  13. amd64 - Add via variable decls to md_var.h

    bwalex committed Oct 3, 2009
    * 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
  14. Merge branch 'master' of ssh://crater.dragonflybsd.org/repository/git…

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

    Matthew Dillon committed Oct 3, 2009
    * 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
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…

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

    Matthew Dillon committed Oct 2, 2009
    * 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>
  4. crypto.9: Sync with FreeBSD's crypto(9) manual page.

    Sascha Wildner committed Oct 2, 2009
    Also fix prototypes and MLINKS.
    
    Various parts of the page are still outdated, though.
  5. taskqueue - Beautify thread names

    bwalex committed Oct 2, 2009
    * Beautify thread names by not printing _0 if only one thread for that
      taskqueue is being started/created.
  6. taskq - Make consumer tasks MPALMOSTSAFE

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

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

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

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

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

    Matthew Dillon committed Oct 2, 2009
    …/dragonfly
  12. HAMMER - Fix root inode creation for slave.

    Matthew Dillon committed Oct 2, 2009
    * 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>
  13. opencrypto - Finish porting

    bwalex committed Oct 2, 2009
    * Fix all remaining porting issues from the original opencrypto WIP
      commit.
    * Remove clashes due to rebase.
  14. mbuf - Add m_apply and m_getptr

    bwalex committed Sep 28, 2009
    * Import m_apply and m_getptr from FreeBSD.
    
    Obtained-from: FreeBSD
  15. WIP crypto/opencrypto update

    Sascha Wildner committed with bwalex Sep 27, 2009
  16. VIA CPU support: Detect and enable CPU features (RNG, ACE etc.).

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