summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-02-05pledge(2) for talkd(8):mestre
rpath: fopen(3) _PATH_UTMP in read mode wpath/cpath: fopen(3) full_tty in write mode (w), which implies O_CREAT inet/dns: the intervening hosts in the conversation may be remote, or not, but since we will never know beforehand then it'll always need inet and dns to resolve the hostnames ok jca@ and also discussed with tb@
2016-02-05Improve Linux PCI compatibility code.Mark Kettenis
2016-02-05Fix a pci vendor/device conversion missed in rev 1.6.Mark Kettenis
2016-02-05RegenMasao Uebayashi
2016-02-05Add ipmi(4) cdev entry on amd64 and i386Masao Uebayashi
2016-02-05Implement FreeBSD-compatible IOCTL to access BMC in ipmi(4)Masao Uebayashi
Initial help & testing by jmatthew@ Code review & input by mpi@ Final review & OK by jsg@
2016-02-05avoid an uninitialised value when NumberOfPasswordPrompts is 0Jonathan Gray
ok markus@ djm@
2016-02-05avoid an uninitialised value in a return path added in rev 1.5Jonathan Gray
ok tobias@
2016-02-05mention internal DH-GEX fallback groups; bz#2302Damien Miller
2016-02-05better description for MaxSessions; bz#2531Damien Miller
2016-02-04printf argument casts to avoid warnings on strict compilersDamien Miller
2016-02-04fix memory leakEric Faurot
ok gilles@ jung@
2016-02-04Convert sigemptyset and sigfillset to inline functions to avoidTodd C. Miller
warnings with newer gcc versions and -Werror=unused-value. OK guenther@
2016-02-04Make iwn(4) pass 802.11 control frames in monitor mode.Stefan Sperling
Now we can see rts/cts, ack, blockack etc. in tcpdump(8). ok kettenis@
2016-02-04In iwn(4), don't forget about restoring the CCMP key to firmware afterStefan Sperling
HT protection setting updates. Unbreaks WPA in 11n mode. ok sthen@
2016-02-04Make code more readable by putting the message parsing logic in a single place.Eric Faurot
ok gilles@ sunil@ jung@
2016-02-04Include stdint.h for the uint{8,16}_t types. OK nicm@Todd C. Miller
2016-02-04Restore the BlockAck session timer. It is still required to work aroundStefan Sperling
stalled BA sessions observed with iwn(4). We can revisit this later once the underlying problem in iwn(4) has been found. Prompted by report from krw@, I could reproduce the issue. ok krw@
2016-02-04Set up -t flag properly when passing new-session -A off toNicholas Marriott
attach-session, GitHub issue 295.
2016-02-04Bail early if there's no token; found by jsg@Mike Belopuhov
2016-02-04Minor ldapd -r tweaksJeremie Courreges-Anglas
- fix style - the string pointed to by datadir shouldn't be modified, use const - initialize datadir at compile time - in namespace.c, move the extern datadir decl above local decls
2016-02-04When deleting a message, remove associated envelopes from the cache,Eric Faurot
if any (it happens when a message transaction is cancelled). ok gilles@ sunil@
2016-02-04Prevent signed overflow when calculating i_modrev initial valueMike Belopuhov
Reported and fixed by Martin Natano <natano at natano ! net>, thanks! ok stefan
2016-02-04Fix an infinite loop when printing a country element in a managementStefan Sperling
frame in case we hit channel Tx power limits we can't pretty-print. Also ensure we consume the last item in this list. ok sthen@
2016-02-04syncStuart Henderson
2016-02-04Some (buggy) UEFI implementations don't report the correct framebufferMark Kettenis
parameters unless SetMode() has been called, even if we don't actually change the mode. Other (equally buggy) UEFI implementations report an error if we call SetMode() but don't actually change the mode. Work around these issues by always calling SetMode() (like we did before rev 1.10), but don't report an error if the current mode is the same as the desired mode. ok yasuoka@
2016-02-04Fix an unitialized variable; pointed out by jsg@.Masao Uebayashi
2016-02-04If the ROM size is 0, we won't be able to read the video BIOS from it.Mark Kettenis
Bail out early to prevent a panic from calling bus_space_map(9) with size 0.
2016-02-03syncJonathan Gray
2016-02-03Do not access the scsi link of the disk at the beginning of sdopen()Alexander Bluhm
and sdminphys() if the scsi disk is dying. The memory of the link may have been freed already. OK krw@
2016-02-03update the font cache by running fc-cache after removing packagesRobert Nagy
with @fontdir markers ok espie@
2016-02-03Make tcpdump show 802.11 control frames.Stefan Sperling
ok kettenis@, and help from David Vasek (thanks!)
2016-02-03Rename a local var so that we can call the global message buffer msg.mmcc
ok nicm, tb
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