summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-06-13When investigating an uninitialised variable in the armv7 resettodr()Jonathan Gray
miod pointed out that time_second should be compared to 1 not 0 in the md resettodr() functions as it is initialised to 1. ok miod@ deraadt@
2011-04-24Here comes the easter bunnytils 2.17 (the last version released against aMiod Vallat
licence mere mortals can understand the terms of); will be connected to the build on an arch-by-arch basis. Testsuites and generated files have been intentionnaly omitted from this import. Peer pressure and ok from at least drahn@ pirofti@ deraadt@
2015-06-13Remove unneeded sys/sysctl.h on linux.Brent Cook
This only provides the sysctl wrapper in glibc, which we do not use and is not available in other libc implementations for Linux. Thanks to ncopa from github.
2015-06-12Add a missing .An macro.Ingo Schwarze
Found by Enrico <Camarda at amnz dot org> during the BSDCan Doc Sprint.
2015-06-12Close the lock pipe before dupping /dev/null to stdio.Alexander Bluhm
This works even if the file descriptor is 0 or 1 or 2. input and OK millert@
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-12Only match devices with a valid configuration.Martin Pieuchot
Most of the WiFi/Ethernet USB adapter only have one configuration and always use its first interface. In order to improve USB descriptors parsing start by reducing the number of places where a configuration is set. Tests & ok stsp@
2015-06-12Remove superfluous splnet() protection.Martin Pieuchot
ok lteo@
2015-06-12To match relayd's style, use an explicit enum with prefixed names forReyk Floeter
the states that Claudio introduced. No functional change. OK claudio@ benno@
2015-06-12Perform a copy with a memmove for potentially overlapping regions.Mike Belopuhov
Reported and fixed by Sergey Ryazanov <ryazanov ! s ! a at gmail ! com>, thanks!
2015-06-12Actually trigger iwm_init_task() from iwm_watchdog() as intended to giveStefan Sperling
recovery after device timeout a chance. Don't mess with the IFF_UP flag in the watchdog since this isn't done anywhere except intel wifi drivers which probably copied this pattern amongst each other. ok kettenis@
2015-06-12Fix rtwn(4) wifi LED support. Tested with rtwn(4) device in Thinkpad X220.Stefan Sperling
2015-06-12Reuse SYSENTRY_HIDDEN() in SYSENTRY(); no functional changes.Masao Uebayashi
2015-06-12Kill trailing blank; no text change.Ingo Schwarze
Issue found by Tony Sim <y2s1982 at gmail dot com> during today's BSDCan Doc Sprint.
2015-06-12If fork fails, print an error message before exit.Alexander Bluhm
OK doug@ djm@
2015-06-11Remove hzto(9) manual pages and references; OK dlgMike Belopuhov
2015-06-11local user can cause smtpd to fail by sending invalid imsg to control sockGilles Chehade
2015-06-11The correct semantic is to check msgbuf_write() for <= 0, not just < 0.Reyk Floeter
Fix one occurence in imsg_flush() and clarify it the man page. Discussed with at least blambert@ jsg@ yasuoka@. OK gilles@
2015-06-11Use "compliant" header guards by avoiding the reserved '_' namespace.Reyk Floeter
Pointed out by Markus Elfring OK mikeb@ millert@
2015-06-11syncTheo de Raadt
2015-06-11Fix CVE-2012-3509, an integer overflow in libiberty, leading toAlexander Bluhm
heap-buffer overflow. From Sebastian Trahm; OK deraadt@
2015-06-11In the copyout family of functions, if the address is out of rangeTheo de Raadt
ensure the register containing the proc pointer is initialized. ok miod
2003-11-24And the includes are taken from GCC 2.95.pre3 test3Marc Espie
2015-06-11Remove hzto(9) manual pages and references; OK dlgMike Belopuhov
2015-06-11Move hzto(9) to the attic; OK dlgMike Belopuhov
2015-06-11Avoid an infinite loop that can occur when verifying a message with anJoel Sing
unknown hash function OID. Diff based on OpenSSL. Fixes CVE-2015-1792 (however, this code is not enabled/built in LibreSSL). ok doug@ miod@
2015-06-11Convert from hzto(9) to tvtohz(9); OK dlgMike Belopuhov
2015-06-11Move away from using hzto(9); OK dlgMike Belopuhov
2015-06-11Avoid a potential out-of-bounds read in X509_cmp_time(), due to missingJoel Sing
length checks. Diff based on changes in OpenSSL. Fixes CVE-2015-1789. ok doug@
2015-06-11Avoid an infinite loop that can be triggered by parsing an ASN.1Joel Sing
ECParameters structure that has a specially malformed binary polynomial field. Issue reported by Joseph Barr-Pixton and fix based on OpenSSL. Fixes CVE-2015-1788. ok doug@ miod@
2015-06-11Don't do manual whitespace adjustments inside semantic macros,Ingo Schwarze
rather do it before the macros, and get rid of cargo cult escaping. Both to make the code more robust and less ugly, no output change. Ugly code reported by TJ at mrsk dot me. OK jmc@
2015-06-11convert sc_sendq into an mbuf_list, and use ph_cookie rather than rcvif toJonathan Matthew
store the sgl address, allowing rcvif to be removed. ok mpi@ dlg@ uebayasi@
2015-06-11Avoid double-free in error path by cribbing the HASBUF flagBret Lambert
logic from the rest of the kernel that deals with filename lookups. In snaps for some time. Initially found by jsg@ Prodded by deraadt@
2015-06-11remove uneeded pci includesJonathan Gray
2015-06-10breath->breadthStuart Henderson
2015-06-10Typos: equalivant, fucntion, libary.Miod Vallat
2015-06-10Don't claim the autri(4) driver supports big-ending, signed 8-bit,Alexandre Ratchov
or unsigned 16-bit samples. Fixes sound on big endian machines.
2015-06-10Use first 4 channels of the board. The previous channel settingAlexandre Ratchov
caused DMA on the wrong memory location during recording. ok kettenis@
2015-06-10Do not set "rcvif", if_input() does it for us.Martin Pieuchot
Found the hardway by krw@ trying a diff that kills "rcvif". ok stsp@
2015-06-10wp->tty is a char [] not a char * so it can't be NULL. From Thomas Adam.Nicholas Marriott
2015-06-10Export new pf "no-route" error counterMike Belopuhov
OK sthen, blambert for the SNMP part
2015-06-10Add missing include.Martin Pieuchot
2015-06-10FTP as an install method kicked the bucket some time ago.Jasper Lievisse Adriaanse
ok miod@
2015-06-09Remove unused parameter of load_locale_sub(). No assembly change on i386.Stefan Sperling
Diff from Sebastien Marie. objdump foo help from uwe
2015-06-09add miniroot; note it's not further documented to prevent having toJasper Lievisse Adriaanse
reword/rewrite most of it again when usb support has landed.
2015-06-09add the edgerouter poe to the edgeroute lite paragraphJasper Lievisse Adriaanse
2015-06-09miniroot for octeon; tested on edgerouter lite with local usb storageJasper Lievisse Adriaanse
ok jmatthew@ miod@
2015-06-09Remove the hack to check if the received pointer has changed in an ifihMartin Pieuchot
now that all drivers and pseudo-drivers are using if_input(). if_input() is reentrant and is now the only place where we set `rcvif'.
2015-06-09Convert trunk(4) to if_input().Martin Pieuchot
ok dlg@
2015-06-09plug fd leak found by Todd MortimerJoerg Jung
ok claudio deraadt florian