summaryrefslogtreecommitdiff
path: root/sbin
AgeCommit message (Collapse)Author
2014-07-16zap trailing newlines; "go for it" deraadtOkan Demirmen
2014-07-16Yes /etc/disklabels/ is a good practice for placing labels of disksTheo de Raadt
in case of catastropy. But it is so poorly documented that any admin is more likely to store the labels elsewhere, so let's stop bothering with providing the directory. Discussed a bit, no objections.
2014-07-15add -N to usage()/SYNOPSIS and tweak previous;Jason McIntyre
rather than adding "net" to the -o list, claudio points out that -o net and -o noauto are really noops, so remove "noauto"; help/ok claudio
2014-07-14Make sure to correctly exit the loop in priv_flush_routes() in case ofMiod Vallat
allocation failure; ok krw@
2014-07-14powerdown=YES has been removed.Martin Pelikan
ok deraadt
2014-07-14remove the never installed getmntopts.3 page, as well as theJason McIntyre
corresponding comment in Makefile; ok claudio deraadt
2014-07-13-N for SYNOPSIS and usage(), and some small changes to previous;Jason McIntyre
2014-07-13kill fs2hXX/h2fsXX macros with letohXX/htoleXXMartin Pelikan
The reason being that ext2 structures are little-endian but JBD2 journal is big-endian. Don't confuse readers by talking about "file system endian". While here, nuke the copy of bswap.c and link it against the kernel's like fsck_ext2fs has done, for better maintainability. ok guenther
2014-07-13kill fs2hXX/h2fsXX macros with letohXX/htoleXXMartin Pelikan
The reason being that ext2 structures are little-endian but JBD2 journal is big-endian. Don't confuse readers by talking about "file system endian". ok guenther
2014-07-13When renewing a lease, update client->active or you end up in aKenneth R Westerback
tight renew loop. Caused by recent reshuffling of code in bind_lease().
2014-07-13new superblock header needs fixesMartin Pelikan
2014-07-13new superblock header needs fixes for BE architecturesMartin Pelikan
2014-07-13Intorduce the same -N flag that mount(8) just got to do the sameClaudio Jeker
selection of file systems with option 'net'. Again this will be used by the rc script to fsck iscsi file systems before mounting them. Again by default file systems with the net option are ignored when scanning fstab. "Get it in" deraadt@
2014-07-13Introduce a -N option to mount and a 'net' mount option.Claudio Jeker
File systems marked with net will not be mounted by default. mount -a -N will mount all those file systems instead. This will be used to mark file systems needing network to work -- in other words which depend on iscsid. "Get it in" deraadt@
2014-07-12Log a warning whenever RTM_DESYNC is seen. Thus giving entrailKenneth R Westerback
investigators some clue why dhclient may have gotten confused when some RTM_ messages vanish. sthen@ thinks this is a good start.
2014-07-12ewps, that giant table has -inet6 twice, for SMALL and !SMALLHenning Brauer
no breakage involved, but wasn't correct in the SMALL case either
2014-07-12provide a missing rfc number;Jason McIntyre
From: Josh Grosse i've actually just whacked the titles to keep it brief and avoid the mess of the punctuation added by these macros.
2014-07-12Sync msgbuf_write() changes from relayd.Reyk Floeter
Please note that proc.c should be kept identical in relayd, iked and snmpd (currently without the includes). ok benno@
2014-07-12tweak previous;Jason McIntyre
2014-07-12Bring back resolv.conf write reduction. Race was something else.Kenneth R Westerback
2014-07-11Fix on big-endian arches after the inode change.Miod Vallat
2014-07-11Sigh. Further torture finds a race. Back to drawing board forKenneth R Westerback
reducing resolv.conf writing.
2014-07-11Move updating resolv.conf contents and active lease to before addressKenneth R Westerback
manipulation starts. Thus making it more likely the correct resolv.conf gets written.
2014-07-11Don't write out a new resolv.conf until the new address is addedKenneth R Westerback
and we become responsible for the interface. Don't write out a new resolv.conf when our address has been deleted and we are no longer responsible for the interface. Less writing is more better.
2014-07-11net.inet6.ip6.accept_rtadv bit the bucketHenning Brauer
ok florian bluhm benno stsp
2014-07-11allow IFXF_AUTOCONF6 to be set and cleared.Henning Brauer
"ifconfig <if> inet6 autoconf" to turn it on, -autoconf to turn it off. show AUTOCONF6 in the flags line. -inet6 turns IFXF_AUTOCONF6 off as well. ok stsp benno florian bluhm
2014-07-11make dump support DUIDs for command line arguments and /etc/dumpdates (usingAlexander Hall
the new shiny -U switch) dumpdates part originating from, and discussed with, Maximilian Fillinger seems reasonable to krw@, "get it in" deraadt@
2014-07-11Prevent division by zero on erroneous file systems.Tobias Stoeckmann
ok pelikan@
2014-07-11__dead for finish()Florian Obser
OK benno@
2014-07-11Silence compiler warning and build with -Wall etc.Florian Obser
OK benno@
2014-07-11Silence a compiler warning and build with -Wall etc.Florian Obser
While here check that our buffer is big enough. OK benno@
2014-07-11use optval for setsockopt; sync with ping6Florian Obser
OK benno@
2014-07-11use optval for setsockopt consistentlyFlorian Obser
OK benno@
2014-07-11fix dacl->size_hi header changeMartin Pelikan
2014-07-11Remove redundant check and wrong fix: fat.c checks already take careTobias Stoeckmann
about cluster chains. If the user didn't want to fix them at that time, he asks for trouble -- and these checks didn't help in all cases either. discussed with and ok krw@
2014-07-11fix dacl->size_hi header changeMartin Pelikan
2014-07-11using COPTS is probably better than CFLAGSTheo de Raadt
2014-07-11Remove rfc 4620 Node Information Query support (from the kernel).Sebastian Benoit
ok henning@ stu@, Yay! weerd@
2014-07-11add additional includes required to build with -DOPENSSL_NO_DEPRECATEDJonathan Gray
2014-07-10Uninitialized values (-1) in FSInfo are perfectly valid.Tobias Stoeckmann
Merged from NetBSD revision 1.24. ok krw@ (who came up with the same diff)
2014-07-10Not initializing "next free cluster" is better than pointing at a clusterTobias Stoeckmann
that is in use. Merged from NetBSD rev 1.9. ok krw@ (who came up with the same diff)
2014-07-10Put boot signature always at end of 512 byte sector, even on disks withTobias Stoeckmann
larger sector sizes. 512 bytes is also the smallest valid sector size. Merged from NetBSD's revision 1.24. ok krw@, tedu@
2014-07-10Avoid out of boundary access when checking invalid long filenames.Tobias Stoeckmann
Addressed by NetBSD in revision 1.24, but instead of ignoring the filename, consider it invalid -- because it is. ok krw@, tedu@
2014-07-10Validate file system information which are critical for fsck_msdos operation.Tobias Stoeckmann
ok krw@
2014-07-10Validate number of FATs.Tobias Stoeckmann
Merged from Android (commitid 6c29bbe8d58e6fe8755935a04166ecf82ff31f47) ok krw@
2014-07-10Return RSN (WPA) information to userland during wireless scan, andStefan Sperling
make ifconfig show whether a wireless network uses WEP or WPA. Since struct ieee80211_nodereq grows in size old ifconfig won't be able to scan when running on a new kernel. While here, add missing ioctl constant IEEE80211_WPA_CIPHER_BIP. ok jsg@
2014-07-10-Werror-implicit-function-declarationFlorian Obser
OK miod@, deraadt@
2014-07-10Forward declarations for mpcopy & mpfree.Florian Obser
OK miod@, deraadt@
2014-07-10add additional includes required to build with -DOPENSSL_NO_DEPRECATEDJonathan Gray
ok reyk@
2014-07-10Add internal buffering when dumping a device with non-512 byteKenneth R Westerback
sectors. This ensures that the requested data, and all the requested data, is actually read from the device. Should have no effect on 512-byte sector devices, but makes dump work on 4096-byte sector devices. Problem noted by and fix tested by David Vasek.