summaryrefslogtreecommitdiff
path: root/sbin
AgeCommit message (Expand)Author
2016-01-25remove some uneeded includesJonathan Gray
2016-01-24Whitespace.Kenneth R Westerback
2016-01-24Nuke get_align_long() and put_align_long() #define's. They don't doKenneth R Westerback
2016-01-24Nuke more pointless checks for map NULLness.Kenneth R Westerback
2016-01-24fix 1.18 by removing extra argument from explicit_bzero callsmmcc
2016-01-24Whitespace fixes.Kenneth R Westerback
2016-01-24Immediately zero the stack-allocated buffers for the passphrase and salt rathermmcc
2016-01-24Assuming the map is always provided simplifies a bunch of logic, nukesKenneth R Westerback
2016-01-24Delete duplicated line that was setting sbBlkCount to 0; Score oneKenneth R Westerback
2016-01-24use explicit_bzero(3) for clearing sensitive dataGleydson Soares
2016-01-23Nuke unused kPatchType. Nuke kStringNot and use " not' where needed.Kenneth R Westerback
2016-01-23No need for 'default_value' parameter for get_number_argument() since weKenneth R Westerback
2016-01-23No need for get_string_argument() parameter 'reprompt' since weKenneth R Westerback
2016-01-23Pass the disk sector size to open_partition_map(), eliminating it'sKenneth R Westerback
2016-01-23Add comments to ensure future spelunkers realize that struct block0Kenneth R Westerback
2016-01-23Avoid double prompt after creating default map on startup.Kenneth R Westerback
2016-01-23Flip read_block() and write_block() back to taking sector addressesKenneth R Westerback
2016-01-23map->block0 is always allocated or the map is discarded.Kenneth R Westerback
2016-01-23Nuke sync_device_size() and do it's one-field-update in coerce_block0(),Kenneth R Westerback
2016-01-23Always initialize media_size to provided mediasz in open_partition_map().Kenneth R Westerback
2016-01-23Break annoying long line.Kenneth R Westerback
2016-01-22Change partition map field 'data' to 'dmpe'. Change 'create_data'Kenneth R Westerback
2016-01-22Of course if you change the parameter name you need to change the uses ofKenneth R Westerback
2016-01-22Change parameter name 'data' to 'block0'.Kenneth R Westerback
2016-01-22Whitespace fixes.Kenneth R Westerback
2016-01-22Rename map field 'misc' to 'block0' since that's what it is.Kenneth R Westerback
2016-01-22Whitespace fixes.Kenneth R Westerback
2016-01-22Whitespace fixes.Kenneth R Westerback
2016-01-22Lost a fix for one invocation of write_block() in diff juggling. ItKenneth R Westerback
2016-01-22Merge read_block() and read_file_media() into read_block(). DittoKenneth R Westerback
2016-01-22escape punctuation to have it mark up properly;Jason McIntyre
2016-01-22Repair creation of initial partition table on a blank disk, brokenKenneth R Westerback
2016-01-22In the "why use two variables when one would do" category, eliminateKenneth R Westerback
2016-01-22Nuke 'expert' mode and the enabling, undocumented, '-d' flag byKenneth R Westerback
2016-01-21Hoist all file opening and ioctl calls into main(), passing a pointer toKenneth R Westerback
2016-01-21Nuke 'writable' field now that it is always in sync with 'rflag'. SinceKenneth R Westerback
2016-01-21Don't try to be cute by silently opening a disk read-only when R/WKenneth R Westerback
2016-01-19Simplify the main command switch, eliminating a couple of /* fallKenneth R Westerback
2016-01-19It's pointless to check for 'dflag' inside do_expert(), since you can'tKenneth R Westerback
2016-01-19Remove unused global 'io_buffer'.Kenneth R Westerback
2016-01-19Remove forward declarations for functions that do not exist.Kenneth R Westerback
2016-01-19Bring code into line with man page and usage() by only allowing oneKenneth R Westerback
2016-01-19No need for pdisk(8) to provide a version of hexdump. RemoveKenneth R Westerback
2016-01-18The contents of the Apple_Patches partition is none of our business.Kenneth R Westerback
2016-01-18struct file_media had 1 field left. And one place where structKenneth R Westerback
2016-01-18Discard a whack of double and triple checking lseek/read/write parameters.Kenneth R Westerback
2016-01-18os_reload_file_media() doesn't do anything except tell you if you passed itKenneth R Westerback
2016-01-18Run indent(1) over it and tweak the results a bit manually to look moreKenneth R Westerback
2016-01-18Run indent(1) over it and tweak the results a bit manually to look moreKenneth R Westerback
2016-01-18Run indent(1) over it and tweak the results a bit manually to look moreKenneth R Westerback