Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Sep 2004 22:24:28 +0000 (UTC)
From:      Alfred Perlstein <alfred@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern vfs_mount.c
Message-ID:  <200409052224.i85MOS8Z048270@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
alfred      2004-09-05 22:24:28 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             vfs_mount.c 
  Log:
  It's too easy to panic the machine when INVARIANTS are turned on
  and you botch a call to nmount(2).
  
  This is because there is an INVARIANTS check that asserts that
  opt->len must be zero if opt->val is not NULL.  The problem is that
  the code does not actually follow this invariant if there is an
  error while processing mount options.
  
  Fix the code to honor the INVARIANT.
  
  Silence on: fs@
  
  Revision  Changes    Path
  1.139     +2 -1      src/sys/kern/vfs_mount.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200409052224.i85MOS8Z048270>