summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-22Straightforward uiomovei -> uiomove conversion. All size arguments forStefan Kempf
uiomove had unsigned types already. Diff from Martin Natano.
2016-01-22Always check destination MAC address of received unicast packets, notStefan Fritsch
only when in promiscuous mode This necessary for NICs like virtio, where the unicast MAC filter is 'best effort' only. ok dlg@ encouragement from mpi@
2016-01-22Replace a (broken) test for @option explicit-update (the code has beenLandry Breuil
removed 2 years ago) by a (working) test for @ask-update
2016-01-22Lost a fix for one invocation of write_block() in diff juggling. ItKenneth R Westerback
takes an off_t offset, not a disk address, for now.
2016-01-22If usb_fill_udf_task() failed to fill the struct, udf_data stillAlexander Bluhm
contained the pointer it received from user land. usbioctl() has to reset it, otherwise user supplied data is passed to free(). OK mpi@
2016-01-22in lka process, revoke proc/exec pledges after privsep-ed table backendsGilles Chehade
are forked at startup i thought i had committed this already, diff has been okayed several weeks ago... ok jung@, ok millert@, ok sunil@
2016-01-22add a log_warn() so that when smtpd fails to start due to a problem readingGilles Chehade
the configuration file of a table, user actually understands what happens diff by Alexis Vachette, ok jung@
2016-01-22Merge read_block() and read_file_media() into read_block(). DittoKenneth R Westerback
write_block() and write_file_media(). One layer of read/write wrappers for pread/pwrite should be enough for anyone.
2016-01-22Drop packets whose VNI flag is not set and VNI is not zeroKazuya Goda
ok reyk@ yasuoka@
2016-01-22Support tunnel VRF on etherip(4)Kazuya Goda
ok dlg@ yasuoka@
2016-01-22add a missing if_put() to ipip_input()Jonathan Gray
ok mpi@
2016-01-22fix a missing if_put() in the default af path of tcp_mss()Jonathan Gray
ok mpi@
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
when hoisting file operations and ioctl to main(). Pass media size to open_partition_map() and create_partition_map() so they can properly initialize a map.
2016-01-22In the "why use two variables when one would do" category, eliminateKenneth R Westerback
the 'written' field and just use the 'changed' field to mediate when it is appropriate to ask whether changes should be discarded.
2016-01-22Add back the initialisation of a cn30xxipd_offload() variable removedJonathan Gray
in rev 1.6 so SET doesn't or bits into uninitialised memory. ok visa@
2016-01-22remove a surplus splbioJonathan Gray
ok deraadt@ krw@
2016-01-22Nuke 'expert' mode and the enabling, undocumented, '-d' flag byKenneth R Westerback
just making all the commands available all the time. Document the newly available commands. Remove the former 'P' command (list partitions in base address order) and use 'P' from expert mode (show map data structures). Stop accepting uppercase aliases for commands documented as lower case. Bring the 'h' help text and man pages into agreement. ok jasper@ millert@
2016-01-21another round of tiny wording tweaks and unificationsJoerg Jung
all from tj ok millert
2016-01-21Fix the timeout value sent in ADDBA request and response frames.Stefan Sperling
ba_timeout_val is in usec so we must divide by TU when copying it to the frame. ok kettenis@ millert@
2016-01-21Hoist all file opening and ioctl calls into main(), passing a pointer toKenneth R Westerback
a valid map to edit(). Should enable pledging a la fdisk at some point. Since edit() always gets a valid map (and maintains its validity even when 'I'nitializing a new one) many checks for (map == NULL) are junked. Remove some dances around block sizes by using DEV_BSIZE everywhere since we don't support non-DEV_BSIZE (a.k.a. 512-byte) sectors. Remove many superfluous #include statements.
2016-01-21Introduce in{,6}_hasmulti(), two functions to check in the hot path ifMartin Pieuchot
an interface joined a specific multicast group. ok phessler@, visa@, dlg@
2016-01-21avoid uninitialised variable useJonathan Gray
ok kettenis@
2016-01-21add a missing if_put() in a carp specific pathJonathan Gray
ok mpi@
2016-01-21Remove now uneeded bus_space_unmap calls in the DS1742W/Origin path thatJonathan Gray
have had uninitialised bus space handle arguments since the mapping became conditional in rev 1.9 confirmed with miod
2016-01-21remove the arp_inuse and arp_allocated countersDavid Gwynne
we can get the same info from the arp pool: # vmstat -m | grep -e ^arp -e ^Name Name Size Requests Fail InUse Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle arp 56 84 0 6 1 0 1 1 0 8 0 Requests and InUse end up being the same: # pstat -d d arp_allocated arp_allocated at 0xffffffff81942084: 84 # pstat -d d arp_inuse arp_inuse at 0xffffffff81942098: 6 ok bluhm@ claudio@ mpi@
2016-01-21Nuke 'writable' field now that it is always in sync with 'rflag'. SinceKenneth R Westerback
(!rflag && writable == 0) can't be true remove those warning blocks and simply leave the not-writable warning when attempting to write the map. Always show 'w' in the help and rely on the check and warning in do_write_partition_map() so the user always gets a message.
2016-01-21syncTheo de Raadt
2016-01-21Don't try to be cute by silently opening a disk read-only when R/WKenneth R Westerback
access was requested. Just complain when the R/W open fails. Make failure messages consistent.
2016-01-20Add Approx APPUSB300NANO V1. V2 uses a different chipset.Juan Francisco Cantero Hurtado
2016-01-20syncTheo de Raadt
2016-01-20add a calendar for new zealand; from craig skinnerJason McIntyre
2016-01-20After nearly 20 years of warning that malloc.h is obsolete, it's about time weJasper Lievisse Adriaanse
actually remove this header. It was originally added for ports, which is malloc.h-free now. additional ports bulk by aja@ ok bently@ dcoppa@ millert@ sthen@
2016-01-20make AUDIO_GETDEV ioctl return the device name (ex "azalia0") ratherAlexandre Ratchov
than driver specific strings. ok kettenis
2016-01-20fix yearTheo de Raadt
2016-01-20dlg@ took a pity on me and let me stay sane a bit longer by givingMike Belopuhov
me a chance to kill these glowing red trailing whitespace characters.
2016-01-20Set segflg member of uio struct with symbolic enum valueStefan Kempf
instead of using magic numbers. No binary change. Diff from Martin Natano. ok deraadt@
2016-01-20Check for disks deeper than 4 levels down in the Open Firmware device tree.Stefan Sperling
Makes softraid(4) boot possible on more sparc64 machines. Tested on Sun Fire machines by mikeb@ and Alexander Bochmann via misc@ ok mikeb@
2016-01-20quote ${CC} expansion, from andreas.kahari at icm uu se, ok mpi@Stuart Henderson
2016-01-20Don't bump output errors when when tx ring is fullMike Belopuhov
Reported by Jonathon Sisson <openbsd at j3z ! org>, thanks!
2016-01-20Include sys/time.h for gettimeofday. From sortie at maxsi.org.Darren Tucker
2016-01-20Remove ARG_CHAR_T, a relic from when the code was written K&R style.Anthony J. Bentley
ok millert@ schwarze@
2016-01-20Set byte order the default encoding in the attach method toAlexandre Ratchov
native byte order. No behaviour change, as attach time parameters are just hints, except thay this makes audioctl output nicer if the device was never opened.
2016-01-20syncTheo de Raadt
2016-01-20remove an unused ifp variableJonathan Gray
2016-01-20add an imt manpageJoshua Stein