~ubuntu-branches/ubuntu/precise/makedumpfile/precise

« back to all changes in this revision

Viewing changes to diskdump_mod.h

  • Committer: Bazaar Package Importer
  • Author(s): John Wright
  • Date: 2010-03-03 17:17:35 UTC
  • mfrom: (1.1.3 upstream) (7.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20100303171735-vxw4zqii21mcj0a0
Tags: 1.3.5-1
* New upstream version
* Preserve upstream's original makedumpfile.8 in clean target
* kdump-config: Fix a typo
* Switch to the "3.0 (quilt)" source format
  - Remove unneeded Build-Depends on quilt
* Update kdump-tools.README.Debian to reflect that recent kernels
  don't need a crash kernel start address
* Apply patch from Petter Reinholdtsen to fix incorrect dependencies
  in kdump-tools.init (Closes: #569685)
* Indicate support for Linux 2.6.32
  - Although upstream hasn't updated its LATEST_VERSION macro, this
    version works without modification on Linux 2.6.32.  Squelch a
    warning that a 2.6.32 kernel is not supported.
* Backport upstream commit 4a16bd39866093f4949f8e9dc183fa2321bda22d
  - Fix buffer overflow when writing dh->signature

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
#define DISK_DUMP_SIGNATURE             "DISKDUMP"
25
25
#define KDUMP_SIGNATURE                 "KDUMP   "
26
26
#define SIG_LEN (sizeof(DUMP_PARTITION_SIGNATURE) - 1)
 
27
#define DISKDUMP_HEADER_BLOCKS          (1)
27
28
 
28
29
#define DUMP_HEADER_COMPLETED   0
29
30
#define DUMP_HEADER_INCOMPLETED 1
70
71
        int             split;          /* header_version 2 and later */
71
72
        unsigned long   start_pfn;      /* header_version 2 and later */
72
73
        unsigned long   end_pfn;        /* header_version 2 and later */
 
74
        off_t           offset_vmcoreinfo;/* header_version 3 and later */
 
75
        unsigned long   size_vmcoreinfo;  /* header_version 3 and later */
73
76
};
74
77
 
75
78
/* page flags */