summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-12-08Silence scan-build; with prodding from jsg@Mike Belopuhov
2016-12-08Clean up function prototypes: use a single struct to hold all addressRafael Zalamena
information instead of passing multiple different parameters. This also prepares the dhcrelay code to receive new features, like: IPv6, layer 2 relaying. ok jca@
2016-12-08Fix mira's next intra-rate calculations for MCS >= 8.Stefan Sperling
ok tb@ phessler@
2016-12-08iwm(4) was stripping some bits from the MCS index value before passingStefan Sperling
it to bpf for tcpdump(8). Fix it so MCS >= 8 get passed on correctly. ok phessler@
2016-12-08Return ENODEV if playback is requested on devices with no DACs orAlexandre Ratchov
recording is requested on devices with no ADCs. Many thanks to Bryan Vyhmeister <bryan at bsdjournal.net> for testing & debugging this.
2016-12-08Add a routine for setting up interrupt handlers using fdt.Visa Hankala
ok kettenis@
2016-12-08Add fdt_attach_args and simplebus for implementing fdt-capableVisa Hankala
drivers on octeon. Adapted from armv7. ok kettenis@
2016-12-08Use makefs to build bsd.rd; build & boot tested by krwMartin Natano
2016-12-08Make it possible to install patches even if we don't have all sets installedAntoine Jacoutot
(e.g. no x sets); in this case, syspatch will skip the patch *but* it will still be listed as available. This will allow applying the patch in case sets are installed later on.
2016-12-08Simplify get_interfaces function, make it return NULL if we didn't findRafael Zalamena
the interface and abort dhcrelay with a more friendly message when we don't have an address configured in the interface. ok jca@
2016-12-08fix spelling errors and typos, from Michael W. BombardieriTheo de Raadt
2016-12-08Fix regressions introduce in the fix for CVE-2016-6559.Todd C. Miller
From FreeBSD (glebius)
2016-12-08syncTheo de Raadt
2016-12-07test different kinds of the "WARNING: whitespace at end of input line";Ingo Schwarze
bluhm@ noticed that this area can grow regressions
2016-12-07comment out non-working parts of the test with .ig rather than \",Ingo Schwarze
this is not supposed to test whitespace at the end of comments; noticed by bluhm@ who sent a different patch
2016-12-07enable commented parts of the test, they seem to work nowIngo Schwarze
2016-12-07enable commented parts of the test, they seem to work nowIngo Schwarze
2016-12-07Do not clear the prompt when a message is shown, just leave it around andNicholas Marriott
return to it when the message is finished.
2016-12-07When reporting "whitespace at end of input line" on lines ending withIngo Schwarze
roff(7) comments, let the column number in the message point to the end of the line rather than to the beginning of the comment. Improvement suggested by bluhm@.
2016-12-07Add required padding to the response descriptorMike Belopuhov
Xen source code relies on the compiler to pad members of the structure representing the descriptor layout in memory; we're however trying to be more defensive and define packed structures. Figured out the hard way with reyk@.
2016-12-07Response status field is signed; adjust the debug messageMike Belopuhov
2016-12-07Spacing in arp -a output has changed, adapt test.Alexander Bluhm
2016-12-07Write SSL_renegotiate(3) manual from scratch; this function is listedIngo Schwarze
in ssl(3) and <openssl/ssl.h>, so it's clearly a public interface. More could probably be said, the code looks somewhat mysterious to me, but i think this stub is already better than nothing.
2016-12-07DHCP requests can be relayed through multiple relays. Currently wePatrick Wildt
drop requests that have already been relayed. To allow usage in the middle of a chain, remove this check and only set giaddr if it has not been set yet. This giaddr will be used by the DHCP server to identify which subnet the client is connected to. RFC 1542 specifies that we should increase the hop counter every time we relay a request. If we receive a request whose hop counter exceeds the value of 16 we must silently drop it. ok jca@
2016-12-07If the BROADCAST flag is set on a BOOTREPLY, the RFC specifies thatPatrick Wildt
we SHOULD forward the packet not only as L3 broadcast, but also as L2 broadcast. Apparently that helps on older machines that can't handle L2 unicast replies. ok jca@
2016-12-07syncTheo de Raadt
2016-12-07Fall back to the minimum amount of ring pagesMike Belopuhov
Some AWS volumes lack both max-ring-page-order and max-ring-pages properties so we have to default to a minimum amount of 1 ring page. Noticed and fix tested by reyk@ on EC2.
2016-12-07add missing .Nm SSL_peek in the NAME sectionIngo Schwarze
2016-12-07splbio isn't doing us any good here and prevents polling from workingMike Belopuhov
2016-12-07Write SSL_copy_session_id(3) manual from scratch. This function isIngo Schwarze
listed in ssl(3) and <openssl/ssl.h>, so it's clearly a public interface. We might wish to merge the improved code from OpenSSL 1.1.0, but that's major bump, so i'm documenting the BUGS for now.
2016-12-07syncTheo de Raadt
2016-12-07tweak previous;Jason McIntyre
2016-12-07Write new SSL_dup(3) manual from scratch. This function is listedIngo Schwarze
in ssl(3) and <openssl/ssl.h>, so it is clearly public.
2016-12-07pledge(2) dhcrelay with "stdio route". route is needed for interface ioctls.Reyk Floeter
OK rzalamena@
2016-12-07Mention X552, don't mention X557 which is a PHYMike Belopuhov
2016-12-07Add xbf(4)Mike Belopuhov
2016-12-07xbf(4) manual pageMike Belopuhov
2016-12-07Add mira support to iwn(4).Stefan Sperling
Please let me know about any regressions. Tested by myself, tb@, okan@, jca@, naddy@, mlarkin@ ok tb@ jca@
2016-12-07Add a commented out entry for xbf(4)Mike Belopuhov
xbf(4) driver creates a shim on top of Xen I/O rings and exports it as a SCSI adaptor with a single target for a disk or a cdrom. The disks that are attached to it are managed by the sd(4) driver, but thankfully OpenBSD users do not require any migration strategy to move from emulated wd(4) disks to paravirtualized ones since disklabel UIDs are used by default in /etc/fstab making referencing particular partitions independent from the underlying device driver.
2016-12-07Cleanup syspatch directories that do not contain a tarball; it means itAntoine Jacoutot
was not applied properly.
2016-12-07Add xbf(4)Mike Belopuhov
2016-12-07A driver for Xen Blkfront heavily based on vdsk(4) from kettenis@Mike Belopuhov
2016-12-07Add a simple mechanism to poll for a change in the property valueMike Belopuhov
2016-12-07Factor out the polling loop into a separate functionMike Belopuhov
2016-12-07New SSL_dup_CA_list(3) manual written from scratch.Ingo Schwarze
Mentioned in ssl(3) and <openssl/ssl.h>, so it is public.
2016-12-07Return proper error values from xs_{get,set}propMike Belopuhov
2016-12-07Remove some leftovers from before the dynamic grant table codeMike Belopuhov
2016-12-07Add documentation for SSL_add_file_cert_subjects_to_stack(3) andIngo Schwarze
SSL_add_dir_cert_subjects_to_stack(3), written from scratch. Both functions are listed in ssl(3) and <openssl/ssl.h> and recommended for the use by browsers in source code comments, so they are clearly public interfaces. Mention deduplication. Purge some duplicate text and improve some wording while here. Two additional cross references instead of the useless ssl(3). Add HISTORY, AUTHORS, and BUGS. It is depressing that BUGS (purely from code inspection) became longer than the DESCRIPTION.
2016-12-07Convert ssl3_send_client_kex_dhe() to CBB.Joel Sing
ok doug@
2016-12-07Rename function discover_interfaces into get_interface and change itsRafael Zalamena
prototype to be more useful. ok reyk@