summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-02-03When accessing the scsi link of a scsi disk, use a variable "sc_link"Alexander Bluhm
everywhere. This is the first step to fix a use after free of the sc_link when the disk detaches. If a function gets a scsi transfer, the scsi link is always valid. Call this variable "link" consistently. OK krw@
2016-02-03be very careful accepting packets via bpf. First check that theKenneth R Westerback
fixed part of the IP header is completely present before using its header length field. Then use the data in the IP header to ensure the entire IP packet is present. Then check that the entire UDP header is present. Then use the data in the UDP header to ensure all the data it thinks is present is actually present. Started when tj@ and a few others noticed ISC "DHCP CVE-2015-8605: UDP payload length not properly checked". ok sthen@ henning@
2016-02-03Increase the RPC buffer once more to 4096 bytes. The guestinfo.ovfEnvReyk Floeter
mechanism is used to configure VMs in the VMware vSphere world: instead of using individual key-value guestinfo.* properties, it uses the guestinfo.ovfEnv value to pass an enterprise-compliant XML file that includes key-value properties. This file can be rather large, especially with comments, but 4k ought to be enough for anybody. Also change a stack buffer to malloc'ed memory in the ioctl path. OK mikeb@
2016-02-03Add helpers function to talk to the queue. Make the code simpler.Eric Faurot
ok gilles@ sunil@
2016-02-03Enable hostctl (only i386 and amd64 for now).Reyk Floeter
OK mikeb@ jsg@ krw@ ajacoutot@
2016-02-03fix off-by-one in argument parsingAlexander Hall
ok martijn@
2016-02-03tell filters to rollback the current transaction if MAIL or EOM failsEric Faurot
ok gilles@ jung@
2015-12-03enter new dirTheo de Raadt
2016-02-03When a filter rejects a message content, report immediatly to theEric Faurot
smtp session. Simplify code while here. ok gilles@ jung@
2016-02-03NULL initialize two file pointers to make it more obvious when reading thatGilles Chehade
they can't end up uninitialized after the mkstemp/fdopen dance
2016-02-03Prevent efifb(4) from attaching if we're the console.Mark Kettenis
Unfortunately, making this decision in radeondrm_attachhook() is too late because at that point efifb(4) would have already been attached. This means that if we decide to bail in radeondrm_attachhook() we may end up without a glass console. That may happen for example if the firmware package has not been installed. I'm still looking for a solution for that problem. ok jsg@
2016-02-03hookup dwctwo.4Jasper Lievisse Adriaanse
2016-02-03Use "esc_class" to classify bounce type instead of "errorline" asSunil Nimmagadda
we no longer prepend status code to "errorline". Fixes mismatch between DSN's subject line and its content. Ok jung@ gilles@ millert@
2016-02-03Test cpuid_level or ci->ci_pnfeatset before using a CPUID leaf; some BIOSesPhilip Guenther
can disable leaves that CPU feature flags would seem to imply. Corrects signal delivery on systems where the AVX leaf is disabled. report and debugging help from Marcus MERIGHI (mcmer-openbsd (at) tor.at) ok kettenis@
2016-02-03Remove needless alias macros for malloc and calloc. No binary change. Immcc
got this upstreamed a few weeks ago. ok tb (less a few style tweaks), martijn (who suggested style tweaks)
2016-02-02Variables to count seen packets should be unsigned.Stuart Henderson
From dhcpd/packet.c r1.8 ok jca
2016-02-02Nuke local #define ETHER_HEADER_SIZE and use the identical value'dStuart Henderson
ETHER_HDR_LEN from if_ether.h. From dhcpd packet.c r1.6. ok jca
2016-02-02Remove unused (a.k.a. always passed NULL) parameter 'data' fromStuart Henderson
decode_udp_ip_header() and the useless check of it. Part of original diff from pelikan about udp length errors. From dhcpd: bpf.c r1.9, dhcpd.h r1.46, packet.c r1.5 ok jca
2016-02-02give sxidog it's own mapping as well so it wont't require sxitimerJonathan Gray
from Artturi Alm
2016-02-02in RSA privsep engine, do not provide methods for rsa_sign / rsa_verify,Gilles Chehade
they are unused in OpenSMTPD and lead to crashes in -portable when we're linked to OpenSSL starting with 1.0.2f ok reyk@
2016-02-02enable xen devices here as wellJonathan Gray
tested by and ok mikeb@
2016-02-02- Swap atoi(3) for strtonum(3)mestre
- Swap fputs(3) for fprintf(3) - Use getprogname(3) instead of hardcoded string OK and help from tb@
2016-02-02Try to be user-friendly and check early that the datadir is somewhat sane.Jeremie Courreges-Anglas
Inspired by a diff by gsoares@, ok landry@ gsoares@
2016-02-02A few reliability improvements in the power management interfaceMike Belopuhov
Nathanael Rensen <nathanael at list ! polymorpheus ! com> came up with a few improvements to the event watcher and power management interface, namely: o Make sure to put our watcher on a list before issuing an XS_WATCH command since Xen will raise the event right after it's been set up. o The first time xen_control is called the "control/shutdown" node may not exist, so skip printing the error message in this case. o Acknowledge requests by writing back an empty string. o log(9) reboot and halt requests like vmt(4) does. Huge thanks!
2016-02-02Remove setproctitle() for the parent process. Because rc.d(8) uses processStuart Henderson
titles (including flags) to distinguish between daemons, this makes it possible to manage multiple copies of a daemon using the normal infrastructure by symlinking rc.d scripts to a new name. ok jung@ ajacoutot@, smtpd ok gilles@
2016-02-02tweak previous;Jason McIntyre
2016-02-02tweaks;Jason McIntyre
2016-02-02Octeon has at most one instance of dwctwo(4), at iobus? irq 56.Visa Hankala
2016-02-02Mention dwctwo(4).Visa Hankala
Suggested by jmc@
2016-02-02Convert to uiomove(). From Martin Natano.Stefan Kempf
2016-02-02Pledge, based on what's done in fdisk.Kenneth R Westerback
2016-02-02syncVisa Hankala
2016-02-02Manual page for dwctwo(4)Visa Hankala
2016-02-02use stat(2) instead of chdir(2) to check if given the directory is valid.Gleydson Soares
OK landry@ jca@
2016-02-02Implement ldapctl -r datadir; ok sthen@ landry@Jeremie Courreges-Anglas
2016-02-02Uppecase.Antoine Jacoutot
2016-02-02Check imsg data size before use.Sunil Nimmagadda
Ok eric@ millert@
2016-02-02remove uneeded break statementsJonathan Gray
2016-02-02Get rid of an ugly #ifdef in the middle of el_init() byIngo Schwarze
hiding the system dependencies away in "sys.h" where they belong. No binary change on OpenBSD. Seems reasonable to christos at NetBSD, too.
2016-02-01sxidog attaches at sunxi not omapJonathan Gray
2016-02-01rapha mistakenly got the authorship of sunxi drivers wrong when addingJonathan Gray
man pages. Problem pointed out by Artturi Alm, who initially wrote them. Drop the AUTHORS sections instead of correcting them, as preferred by Artturi.
2016-02-01Add A20 support to sxirtc.Jonathan Gray
From Artturi Alm.
2016-02-01add a DIAGNOSTIC for refcnt_take overflow.David Gwynne
ok mpi@
2016-02-01Remove A20 support in sxitimer, agtimer is now used instead.Jonathan Gray
From Artturi Alm.
2016-02-01stop linking mv(1) to libutil, since that isn't used.Gleydson Soares
OK guenther@ nicm@
2016-02-01style nit - do not add a space between function name and bracketGleydson Soares
from Edgar Pettijohn <edgar at pettijohn-web.com> fix another similar space in line 127. (pointed out by/OK jung@) OK tb@ jung@
2016-02-01- make usage() static and __deadGleydson Soares
- while here switch main to return instead of exit(3) OK tedu@
2016-02-01sync to mainGleydson Soares
reminded by guenther@
2016-02-01move to -release modeJonathan Gray
requested by deraadt@
2016-02-01some -r fixes;Jason McIntyre