1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-27 11:55:06 +00:00
freebsd/sys/geom/part
Andrey V. Elsukov 799eac8c3d Limit maximum number of GPT entries to 4k. It is most realistic value
and can prevent kernel memory exhausting when big value is specified
from command line.

Split reading and writing operation to several iteration to do not
trigger KASSERT when data length is greater than MAXPHYS.

PR:             kern/144962, kern/147851
MFC after:      2 weeks
2011-01-18 09:52:53 +00:00
..
g_part_apm.c
g_part_bsd.c Add a note about the magic number 20. Actually, 22.75 entries fit in 2010-12-02 19:47:27 +00:00
g_part_ebr.c Allow destroying EBR in COMPAT (default) mode. 2010-12-28 08:42:12 +00:00
g_part_gpt.c Limit maximum number of GPT entries to 4k. It is most realistic value 2011-01-18 09:52:53 +00:00
g_part_if.m Reimplemented "gpart destroy -F". Now it does all work in kernel. 2010-10-25 16:23:35 +00:00
g_part_mbr.c Don't warn if a partition appears not to be aligned on a track boundary. 2010-12-07 20:46:11 +00:00
g_part_pc98.c Some schemes can allocate memory for internal purposes but when 2010-09-25 18:27:29 +00:00
g_part_vtoc8.c Fix some whitespace nits. 2010-05-24 17:33:02 +00:00
g_part.c Add an entry to the gpart XML to determine if the geom has pending changes 2011-01-06 03:36:04 +00:00
g_part.h Reimplemented "gpart destroy -F". Now it does all work in kernel. 2010-10-25 16:23:35 +00:00