Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Jun 2001 18:30:03 -0700 (PDT)
From:      Phil Homewood <pdh@lineo.com>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: kern/28164: [PATCH] crashdump can trash disklabel/other partitions
Message-ID:  <200106260130.f5Q1U3P83284@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/28164; it has been noted by GNATS.

From: Phil Homewood <pdh@lineo.com>
To: Bruce Evans <bde@zeta.org.au>
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: kern/28164: [PATCH] crashdump can trash disklabel/other partitions
Date: Tue, 26 Jun 2001 11:25:37 +1000

 Bruce Evans wrote:
 > Untested incomplete fixes (the boot block area should also be protected...):
 
 This works for me, with the following additional patch, and makes much
 more sense than my effort. :-)
 
 
 --- sys/kern/kern_shutdown.c.orig       Tue Jun 26 09:50:40 2001
 +++ sys/kern/kern_shutdown.c    Tue Jun 26 09:51:04 2001
 @@ -59,6 +59,7 @@
  #include <sys/conf.h>
  #include <sys/sysproto.h>
  #include <sys/cons.h>
 +#include <sys/disklabel.h>
 
  #include <machine/pcb.h>
  #include <machine/clock.h>
 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




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