freebsd-skq/sys
Marcel Moolenaar 38a2db2eb0 Invalid BSD disklabels have been created by sysinstall and
are possibly still being created. The d_secperunit field
contains the number of sectors of the disk and not of the
slice/partition to which the disklabel applies.
Rather than reject the disklabel, we now silently adjust
the field. Existing code, like bslabel(8), does not seem
to check the label that extensively and seems to adjust
fields as a side-effect as well.
In other words, it's not that important apparently, so
gpart should not be too strict about it.

Reported by: nyan@
Reported by: Andriy Gapon <avg@icyb.net.ua>
2008-10-25 17:21:46 +00:00
..
amd64 Simplify AMD64_CPU_MODEL() and AMD64_CPU_FAMILY() macros as the base family 2008-10-22 17:36:52 +00:00
arm Retire the MALLOC and FREE macros. They are an abomination unto style(9). 2008-10-23 15:53:51 +00:00
boot Initial support of loader(8) for ARM machines running U-Boot. 2008-10-14 10:11:14 +00:00
bsm
cam Retire the MALLOC and FREE macros. They are an abomination unto style(9). 2008-10-23 15:53:51 +00:00
cddl Remove the struct thread unuseful argument from bufobj interface. 2008-10-10 21:23:50 +00:00
compat Retire the MALLOC and FREE macros. They are an abomination unto style(9). 2008-10-23 15:53:51 +00:00
conf Add a driver for flash memory that implements to the Common Flash 2008-10-25 06:18:12 +00:00
contrib Fix a number of style issues in the MALLOC / FREE commit. I've tried to 2008-10-23 20:26:15 +00:00
crypto
ddb Collect N identical (or near identical) mkdumpheader() implementations into 2008-10-01 22:08:53 +00:00
dev drm/i915: fix ioremap of a user address for non-root (CVE-2008-3831) 2008-10-25 16:29:28 +00:00
fs Fix a number of style issues in the MALLOC / FREE commit. I've tried to 2008-10-23 20:26:15 +00:00
gdb
geom Invalid BSD disklabels have been created by sysinstall and 2008-10-25 17:21:46 +00:00
gnu Retire the MALLOC and FREE macros. They are an abomination unto style(9). 2008-10-23 15:53:51 +00:00
i386 handle case where eflags represents actual flags value when 2008-10-25 04:46:02 +00:00
ia64 Retire the MALLOC and FREE macros. They are an abomination unto style(9). 2008-10-23 15:53:51 +00:00
isa
kern Don't rely on the value of *statep without first taking the vnode interlock. 2008-10-24 16:04:10 +00:00
libkern Prefix the static shl function with '__' like its parent function __qdivrem to 2008-10-09 20:43:42 +00:00
mips Add mips/conf/DEFAULTS and populate it with: 2008-10-23 02:16:38 +00:00
modules After adding U3G_DEBUG to LINT we need to create the opt_u3g.h file when 2008-10-24 07:19:09 +00:00
net Fix a number of style issues in the MALLOC / FREE commit. I've tried to 2008-10-23 20:26:15 +00:00
net80211 Revert the removal of the MALLOC and FREE macros from the net80211 code. 2008-10-23 19:57:13 +00:00
netatalk Retire the MALLOC and FREE macros. They are an abomination unto style(9). 2008-10-23 15:53:51 +00:00
netgraph Fix a number of style issues in the MALLOC / FREE commit. I've tried to 2008-10-23 20:26:15 +00:00
netinet Fix a number of style issues in the MALLOC / FREE commit. I've tried to 2008-10-23 20:26:15 +00:00
netinet6 Fix a number of style issues in the MALLOC / FREE commit. I've tried to 2008-10-23 20:26:15 +00:00
netipsec Retire the MALLOC and FREE macros. They are an abomination unto style(9). 2008-10-23 15:53:51 +00:00
netipx Retire the MALLOC and FREE macros. They are an abomination unto style(9). 2008-10-23 15:53:51 +00:00
netnatm Retire the MALLOC and FREE macros. They are an abomination unto style(9). 2008-10-23 15:53:51 +00:00
netncp Retire the MALLOC and FREE macros. They are an abomination unto style(9). 2008-10-23 15:53:51 +00:00
netsmb Retire the MALLOC and FREE macros. They are an abomination unto style(9). 2008-10-23 15:53:51 +00:00
nfs
nfs4client Fix a number of style issues in the MALLOC / FREE commit. I've tried to 2008-10-23 20:26:15 +00:00
nfsclient Fix a number of style issues in the MALLOC / FREE commit. I've tried to 2008-10-23 20:26:15 +00:00
nfsserver Retire the MALLOC and FREE macros. They are an abomination unto style(9). 2008-10-23 15:53:51 +00:00
nlm Rename RPC's 'struct pmap' to 'struct portmap' to avoid confusing it with 2008-08-25 09:36:17 +00:00
opencrypto Fix a number of style issues in the MALLOC / FREE commit. I've tried to 2008-10-23 20:26:15 +00:00
pc98
pccard
pci Implement miibus_statchg handler. It detects whether rl(4) 2008-10-25 03:41:36 +00:00
powerpc Enable the cfi(4) driver. 2008-10-25 06:25:15 +00:00
rpc Retire the MALLOC and FREE macros. They are an abomination unto style(9). 2008-10-23 15:53:51 +00:00
security Fix a number of style issues in the MALLOC / FREE commit. I've tried to 2008-10-23 20:26:15 +00:00
sparc64 Enable mpt(4) as some later models have on-board Fusion-MPT 2008-10-11 12:10:23 +00:00
sun4v Collect N identical (or near identical) mkdumpheader() implementations into 2008-10-01 22:08:53 +00:00
sys Add a driver for flash memory that implements to the Common Flash 2008-10-25 06:18:12 +00:00
tools
ufs Fix a number of style issues in the MALLOC / FREE commit. I've tried to 2008-10-23 20:26:15 +00:00
vm Update mmap() comment: no more block devices, so no more block device 2008-10-22 16:50:12 +00:00
xdr
xen Fix evtchn initialization on SMP 2008-10-24 07:57:48 +00:00
Makefile