summaryrefslogtreecommitdiff
path: root/sbin
AgeCommit message (Expand)Author
2015-11-19Remove some weird comments containing only the name of the next function.mmcc
2015-11-19Don't bother casting memset() argument to void*. No binary change.mmcc
2015-11-19calloc((size_t)1, ...) -> calloc(1, ...)mmcc
2015-11-19Reduce overburden of unnecessary #include's. Note that param.h isKenneth R Westerback
2015-11-18use _shadow getpwnam (and crypt_checkpass)Ted Unangst
2015-11-18Change #include <memory.h> to #include <string.h>Kenneth R Westerback
2015-11-18pledge exposed a simple bug: the unprivileged child tried to print theReyk Floeter
2015-11-18opendev() should not use OPENDEV_PART; ok millertTheo de Raadt
2015-11-18Parse the original on-disk MBR into a local variable. Use theKenneth R Westerback
2015-11-18g_flag does not need to be a global. Move it inside main().Kenneth R Westerback
2015-11-18Rejig the MBR file reading logic soKenneth R Westerback
2015-11-18USER_edit() (a.k.a. -e) edits the on-disk information. So zap GPTKenneth R Westerback
2015-11-18Read MBR immediately, and only read the GPT if the MBR is aKenneth R Westerback
2015-11-17note that -chs and -l are mutually exclusive;Jason McIntyre
2015-11-16initially, pledge "stdio rpath wpath cpath getpw tty id proc exec", yesTheo de Raadt
2015-11-15Move zapping of invalid GPT data into GPT_get_gpt() rather thanKenneth R Westerback
2015-11-14Since -l is ignored if -c/-h/-s are specified, make that combinationKenneth R Westerback
2015-11-14Consolidate usage() checking for -c/-h/-s with other checks. TweakKenneth R Westerback
2015-11-14pledge("stdio", NULL) for code path that just prints the MBR or GPT. i.e.Kenneth R Westerback
2015-11-14If none of -i, -u or -e are specified exit immediately after theKenneth R Westerback
2015-11-13No need to supplement usage() with extra messages about -b needing -i, orKenneth R Westerback
2015-11-13No need to zero a global variable before use.Kenneth R Westerback
2015-11-13Make usage() output fit on a 'normal' 80-character line. Tweak someKenneth R Westerback
2015-11-13Move from opening/closing disk for every i/o to opening the disk onceKenneth R Westerback
2015-11-12'reinit mbr' must zero existing MBR and GPT partition informationKenneth R Westerback
2015-11-12use symbolics for flags to openTheo de Raadt
2015-11-12Refresh the in-kernel copy of the disklabel from the disk *after* writingKenneth R Westerback
2015-11-12When link loss is reported, cancel any active timeout and wait forKenneth R Westerback
2015-11-12Simplify string_from_line(). No functional change.Tim van der Molen
2015-11-12Avoid problems with pathological input during edit operations. i.e. neverKenneth R Westerback
2015-11-11Display full disk size when editing GPT, not the truncated MBR size. DisplayKenneth R Westerback
2015-11-10Reduce diff between ping and ping6.Florian Obser
2015-11-10Use UINT32_MAX for the size of the EFI System partition on disks larger thanKenneth R Westerback
2015-11-10newfs does not need TMPDIR supportTheo de Raadt
2015-11-07Use linkat() instead of link() so that hardlinks of symlinks workPhilip Guenther
2015-11-05Whitespace, reduce diff to ping.Florian Obser
2015-11-05Reorder #includes to reduce diff between ping and ping6.Florian Obser
2015-11-05Cleanup includes.Florian Obser
2015-11-05document the other two net.inet6.ip6.ifq variables, ok logan mikebStuart Henderson
2015-11-05Correct my mistake in the previous patch:Loganaden Velvindron
2015-11-05Add an entry for net.inet6.ip6.ifq that dlg@ committed a while ago.Loganaden Velvindron
2015-11-04replace setbuf with setvbuf, from Frederic NowakTed Unangst
2015-11-04Simplify packet option handling since we are only setting one optionFlorian Obser
2015-11-04dead store; pointed out by llvmFlorian Obser
2015-11-04Decode Chacha20-Poly1305 when dumping SAs; ok reyk, naddyMike Belopuhov
2015-11-04Support Chacha20-Poly1305 for Child SAs; ok reykMike Belopuhov
2015-11-03Don't allow the user to enter GPT partition names too large to fitKenneth R Westerback
2015-11-03Add blank lines surrounding pledge call, as per decree of deraadt@mmcc
2015-11-02remove unused variablesCharles Longeau
2015-11-01replace "can not" with "cannot";Jason McIntyre