summaryrefslogtreecommitdiff
path: root/sbin
AgeCommit message (Expand)Author
2021-06-12Create add_partition() and use in GPT_init() to initialize GPTKenneth R Westerback
2021-06-12Use a new variable 'gpbytes' rather than 'sizeof(gp)' to controlKenneth R Westerback
2021-06-11Oops. Restore error message when no free space found.Kenneth R Westerback
2021-06-11Add local function lba_free() to find the bounds of the largestKenneth R Westerback
2021-06-11Add local functions edit() and setpid().Kenneth R Westerback
2021-06-11Take a bit more obvious care in gedit() to restore originalKenneth R Westerback
2021-06-11Revert previous change in ikev2_cp_fixaddr().tobhe
2021-06-11No need to parse partition number more than necessary. Just passKenneth R Westerback
2021-06-10Another hand rolled partition number parsing bites the dust.Kenneth R Westerback
2021-06-10Missed an occurance of hand rolled partition number parsing.Kenneth R Westerback
2021-06-10Abstract repeated parsing of partition numbers into parsepn() toKenneth R Westerback
2021-06-10Local functions don't need to be in .h files, nor do they need theKenneth R Westerback
2021-06-10Shift zeroing of gpt header and partition table to top ofKenneth R Westerback
2021-06-10Toss in 'const' for the parameters to string_to_utf16le() andKenneth R Westerback
2021-06-10'i' is a silly name for a daddr_t variable, and could be neededKenneth R Westerback
2021-06-10Rename vars 'oldpart' to 'oldgg' when storing 'gg' value, andKenneth R Westerback
2021-06-10Nuke extraneous blank line.Kenneth R Westerback
2021-06-03Recognize the Apple APFS GPT partition types seen on Apple M1 boxen.Kenneth R Westerback
2021-06-03For 4k sector disks, the minimum frag size is 4k. For a 2G fsOtto Moerbeek
2021-06-02Use the same logic in all copies of gpt_chk_mbr(), relaxing theKenneth R Westerback
2021-06-01Remember flow routes in addition to host routes and deletetobhe
2021-05-31Don't fail hard in ikev2_cp_fixaddr() if no address pool is found.tobhe
2021-05-31Prevent address underflow with /32 config address prefix.tobhe
2021-05-30Fix overlap check in autoalloc code; ending_sector is the sector after theMark Kettenis
2021-05-28Add experimental post-quantum hybrid key exchange methodtobhe
2021-05-27Relax criteria for recognizing GPT formatted media by allowing theKenneth R Westerback
2021-05-21The protective MBR for GPT partitioning must be atKenneth R Westerback
2021-05-20Nuke duplicate declaration of MBR_init_GPT().Kenneth R Westerback
2021-05-19No need to pass the location of the partition table toKenneth R Westerback
2021-05-18Add support for the new net.unix sysctl nodes.Claudio Jeker
2021-05-17Avoid calling ibuf_add() with NULL and zero length.tobhe
2021-05-15Nuke some Capt. Obvious and soon to be obsolete comments inKenneth R Westerback
2021-05-15Keep internal representation of DOSPTYP_EFI partition sizes correct.Kenneth R Westerback
2021-05-15Add missing MBR_protective_mbr() check when writing edited GPT.Kenneth R Westerback
2021-05-15Shuffle USER_print_disk() code into a more rational, clearerKenneth R Westerback
2021-05-15Shuffle GPT_read() code into a nice switch{}, eliminatingKenneth R Westerback
2021-05-14Whitespace tweaks and a couple of stray u_int* in gpt_chk_mbr().Kenneth R Westerback
2021-05-14Tweak the two copies of gpt_chk_mbr() to return the index of the MBRKenneth R Westerback
2021-05-13Refactor iked process shutdown and cleanup. Remember configuredtobhe
2021-05-13Use field independent versions of {get,set}_coordinates()Theo Buehler
2021-05-13Use field independent version of {get,set}_affine_coordinates.Theo Buehler
2021-05-11Cast printf args to remove compiler warnings.dv
2021-05-10Replace some magic numbers with #define's. Rename GPT_get_gpt() toKenneth R Westerback
2021-05-10remove serial number (used during development to observe file rewrites)Theo de Raadt
2021-05-08Recognize GPT partitions of type 21686148-6449-6e6f-744e-656564454649 (a.k.a.Kenneth R Westerback
2021-05-07Replace random mix of u_int* and uint* types with consistent uint* types.Kenneth R Westerback
2021-05-06GPT_get_hdr() is actually spelled GPT_get_header().Kenneth R Westerback
2021-05-02Try harder to ensure there are no GPT revenants afterKenneth R Westerback
2021-05-02Shuffle some code to eliminate get_address(), bring interface_state() andKenneth R Westerback
2021-05-02Improve documentation. Try to explain the various inputs that result inTheo de Raadt