summaryrefslogtreecommitdiffstats
path: root/usr.sbin/extattr
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2002-11-02 12:01:12 +0000
committermarcel <marcel@FreeBSD.org>2002-11-02 12:01:12 +0000
commitb737405ed3f60ffc7ff0bf8906512833f490b180 (patch)
tree85370a43bb41f7420d0d1f2ced6d742fbbb6e26a /usr.sbin/extattr
parent3ff7b038063976d0bcd1bea1983727b407f626c7 (diff)
downloadFreeBSD-src-b737405ed3f60ffc7ff0bf8906512833f490b180.zip
FreeBSD-src-b737405ed3f60ffc7ff0bf8906512833f490b180.tar.gz
Remove the GEOM_GPT hack. We now check for partition type 0xEE and
skip those. This handles the Protective MBR (PMBR) which consists of a single partition of type 0xEE that covers the whole disk and as such protects the GPT partitioning. We allow other partitions to be present besides partitions of type 0xEE and as such interpret partition type 0xEE as a "hands-off" partition only. While here, fix g_mbrext_dumpconf to test if indent is NULL and dump the data in a form that libdisk can grok. Change the logic in g_mbr_dumpconf to match that of g_mbrext_dumpconf. This does not change the output, but prevents a NULL-pointer dereference when indent == NULL && pp == NULL.
Diffstat (limited to 'usr.sbin/extattr')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud