summaryrefslogtreecommitdiff
path: root/sbin
AgeCommit message (Collapse)Author
2015-08-20<stdlib.h> is included, so do not need to cast result fromTheo de Raadt
malloc, calloc, realloc* ok krw millert
2015-08-19Add missing OpenBSD CVS tag - no binary changeReyk Floeter
2015-08-19Missing prototypes. Noted by deraadt@Kenneth R Westerback
2015-08-19spacing (no binary change, verified with checksums)Reyk Floeter
2015-08-15Less damned spurious whitespace.Kenneth R Westerback
2015-08-14switch from system(3) to vfork(2)+execl(2) for invoking mount_nfs(8) when fstabSebastien Marie
contains option for swapping to NFS files. ok millert@
2015-08-05repair buffer size checks around chacha block, spotted by Dimitris PapastamosTheo de Raadt
ok florian
2015-07-31Document acceptable values for "carpdemote", from Julien Dhaille.Martin Pieuchot
ok jmc@, deraadt@
2015-07-27document "F" in interactive mode, like for fsck.8;Jason McIntyre
from michael mcconville ok deraadt
2015-07-27use file system path (.Pa) semantic markup macros where appropriate.Igor Sobrado
ok jmc@
2015-07-26remove unused variableCharles Longeau
ok mpi@ rzalamena@
2015-07-25Teach ifconfig(8) man page about the mpw(4) commands.Rafael Zalamena
ok jmc@
2015-07-22process_mpw_commands should not go to install-media ifconfigTheo de Raadt
2015-07-21Teach ifconfig(8) about mpw(4) commands.Rafael Zalamena
ok claudio@, renato@, mpi@.
2015-07-18remove the restriction to disallow the use of a passphrase file duringAlexander Hall
initial creation of a crypto volume ok phessler
2015-07-18Make all commands accepting the "-priority" switch recognize aliasesMartin Pieuchot
for common priorities. ok deraadt@, claudio@
2015-07-18Indent the output of bridge rules in ifconfig.rzalamena
ok reyk@
2015-07-18On systems with a full routing table (550k+), we often want to be able toPeter Hessler
look at the routes with a priority, or to display all routes that do not have a specific priority (normally, don't show bgp). We are intentionally not updating netstat -r yet, as we do not have a good flag to use. first version from, and OK benno@
2015-07-17Assign correct destination port value for the destination netmask.Mike Belopuhov
This repairs setup of SPD flows that specify port only on the one side of the from-to specification. ok markus
2015-07-14Use volatile sig_atomic_t for requested_transition since it isTodd C. Miller
modified inside signal handlers. Instead of returning a function pointer, the state functions now return an enum for the next state. This is used as an index into an array of function pointers to do the actual state change in transition(). OK deraadt@
2015-07-14clarification from trondd;Jason McIntyre
ok mikeb
2015-07-09Nuke unused variable.Kenneth R Westerback
2015-07-08Do not attempt to read a disk sector worth of data from the fileKenneth R Westerback
containing the MBR template. Most especially don't get upset when the 512-byte file does not contain a full 4096 byte disk sector. Allows 4096-byte disks to be fdisk'ed once more. Problem reported and fix tested by Gerald Hanuer via bugs@. ok deraadt@
2015-07-07repair policy-ikesa-linking by replacing the broken RB_TREE w/TAILQMarkus Friedl
(e.g. the policy might be used-after-free on 'ikectl reconfig') ok mikeb@
2015-07-03Terminate 'config' keyword array with a NULL element.Mike Belopuhov
Reported by trondd at kagu-tsuchi ! com, thanks!
2015-06-15document pfctl -ss -R <rule>, ok mikeb@Stuart Henderson
2015-06-12Allow rule ID filter to be specified for show states outputMike Belopuhov
Tweak pfctl to respect the rule ID parameter (-R) specified along with the show states (-s states) option to filter out states that are not associated with a given rule from the output. ok sthen, benno
2015-06-11Use "compliant" header guards by avoiding the reserved '_' namespace.Reyk Floeter
Pointed out by Markus Elfring OK mikeb@ millert@
2015-06-05Fix coupling and decoupling operations.vgross
With help and ok from mikeb@
2015-06-03Do not assume that asprintf() clears the pointer on failure, whichTodd C. Miller
is non-portable. Also add missing asprintf() return value checks. OK deraadt@ guenther@ doug@
2015-05-30fix usage();Jason McIntyre
2015-05-29do not need non-NULL-check before free(p), other minor refactoringTheo de Raadt
from Benjamin Baier
2015-05-29remove duplicate assignments; from Benjamin BaierTheo de Raadt
2015-05-29Initial addition of ``Patrol Read'' support in bio(4), biocto(8), andMasao Uebayashi
mfi(4). Based on FreeBSD, but done without mfiutil(8). OK deraadt@
2015-05-26build wsconsctl and wsconscfg on armv7Jonathan Gray
2015-05-25bump up the default Diffie-Hellman group to modp3072; ok mikeb@ djm@Christian Weisgerber
2015-05-23Canonicalize all devices to DUIDs in order to make -w and -W output consistent.Philip Guenther
Based on diff from Manuel Giraud (manuel (at) ledu-giraud.fr) Thanks!
2015-05-19improve spacing in disklabel template.Igor Sobrado
2015-05-18Tweak parsing so that hostnames starting with 0-9 are accepted.Kenneth R Westerback
Reported long ago by matthieu@. Also Jacob Berkman via the lists. Tests and suggestions from Jacob and Matthieu.
2015-05-18Stop rejecting leases with a subnet that overlaps a subnet alreadyKenneth R Westerback
present. The latest routing stack code can now handle these situations. Much requested by beck@ and others. Detailed discussion at s2k15 identified required routing changes. ok claudio@
2015-05-17nope, ioctl has not been used for a whileTheo de Raadt
2015-05-11explicit_bzero(3) on private data, in case of core dumps (and being a good ↵Martin Pelikan
example) ok florian jsing
2015-05-08Add a new `don't read back' flag for variables, to prevent reading their valueMiod Vallat
after modifying them. Give this flag to `display.focus', since screen switching is asynchronous, and reading back will return the screen we are switching from if the switch has not completed yet. Also, disallow -= and += syntax for display.focus, as it doesn't make any sense.
2015-05-08Separately track the number of items in alloc_table in a variable. WithStuart Henderson
the changes for handling template files in r1.293, alloc_table became a pointer to an array of structs (rather than the array itself), so nitems(alloc_table) no longer returns the number of elements. As found by sebastia@, autosize would only try the first allocation scheme, so installation would fail on small disks. ok henning@
2015-05-06Document that priority 1 is reserved for kernel use.Martin Pieuchot
2015-05-03Eliminate the -U flag and make usage of DUID in /etc/dumpdates the default.Philip Guenther
Correct old style entries so nothing has to be done for the admin. diff from Manuel Giraud (manuel (at) ledu-giraud.fr) Thanks!
2015-05-02de-castify strtonum to make it consistent again.Florian Obser
Pointed out by bluhm@; no object change. OK bluhm@, krw@
2015-05-02Use IPV6_MAXHLIM instead of 255; pointed out by bluhm@Florian Obser
No object change.
2015-05-02A ttl of 0 is valid. While here use MAXTTL instead of 255.Florian Obser
Input bluhm@, OK krw@
2015-05-02Hoist common assignments out of a series of if/if-else statementsKenneth R Westerback
in get_token(). Simplifies code and shrinks future diff. No intentional functional change.