summaryrefslogtreecommitdiffstats
path: root/gnu/llvm/examples/ModuleMaker/ModuleMaker.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-01-27zap a commented out line. 0RTT will need more thought thantb1-2/+1
just uncommenting this.
2019-01-27move the mpe_softc definition and mpe macros into the mpe driver.dlg2-14/+17
2019-01-27let ether_ioctl handle the mtu. set hardmtu to ETHER_MAX_HARDMTU_LEN.dlg1-9/+2
as well as allowing for larger frames to be transported, it also gets rid of the dependancy on mpe defines.
2019-01-27use sc as the name of the softc variable.dlg1-17/+17
makes this more like other drivers to read.
2019-01-27put underscores in function names like other driversdlg1-10/+10
mpestart, mpeioctl and mpeoutput are now mpe_start, mpe_ioctl, and mpe_output respectively. no functional change
2019-01-27split off "local" input handlingdlg2-3/+42
this means the current mpls header will be passed along with the mbuf for mpw to look at. right now this doesn't do anything, but it will allow for implementation of RFC 6391 (flow aware transport) and using the exp header for cos. when mpe gets moved to adding an RTF_LOCAL route, this will be used for cos and ttl handling.
2019-01-27like ip headers, mpls tags need to be aligned to a 4 byte boundarydlg1-10/+43
copy the semantics for guaranteeing this from egre. when sending an encapsulated frame, prepend a whole new mbuf for the tags and transport headers. when rxing a packet, check the alignment of the ethernet payload and duplicate it on the right boundary if it isn't already aligned.
2019-01-27forgot to commit the tweaks to mpls_input when mpw became an ethernet ifacedlg1-5/+3
the input mechanism for mpw is now that it inserts a tag into the mpls table with RTF_LOCAL set. mpls_input falls through to calling the interface output routine (mpw_output in this case) which looks for that RTF_LOCAL and then calls mpw_input against that mbuf. ok claudio@ who is keep to apply this semantic to mpe
2019-01-27refactor and clean up the code generating dot output.tb1-53/+76
2019-01-26Rename ACTION_NONE to ACTION_USELEASE. TOK_NOACTION to TOK_USELEASE.krw4-11/+11
More consistent, clearer.
2019-01-26Zap trailing space that stuck its head up.krw1-2/+2
2019-01-26Mention that -r does reverse DNS lookups for tables as wellkn1-3/+3
OK benno
2019-01-26Add 'uselease' statement to allow the disabling of built-in orkrw4-6/+52
previously specified 'append', 'default', 'ignore', 'prepend', or 'supersede' actions on the values provided in leases.
2019-01-26Document the fact that altitude & ground speed values are provided as sensors.landry1-8/+15
2019-01-26Parse altitude and ground speed values from the GGA & RMC NMEA messages,landry1-8/+105
and provide them as nmea(4) distance & velocity sensors. With my 'u-blox GNSS receiver' that gives: hw.sensors.nmea0.distance0=335.600 m (Altitude), OK hw.sensors.nmea0.velocity0=18.337 m/s (Ground speed), OK ok deraadt@
2019-01-26check in scp client that filenames sent during remote->local directorydjm2-12/+43
copies satisfy the wildcard specified by the user. This checking provides some protection against a malicious server sending unexpected filenames, but it comes at a risk of rejecting wanted files due to differences between client and server wildcard expansion rules. For this reason, this also adds a new -T flag to disable the check. reported by Harry Sintonen fix approach suggested by markus@; has been in snaps for ~1wk courtesy deraadt@
2019-01-26make ssh-keyscan return a non-zero exit status if it finds no keys.djm1-2/+6
bz#2903
2019-01-26Use memset() instead of bzero().visa1-3/+3
2019-01-26fix trustanchor path; from Caspar Schutijser. Thanks!florian1-5/+5
2019-01-26revert for now, sysmerge needs to create the group first.florian1-8/+1
found the hard way by deraadt
2019-01-26Wait a bit for the set mode command to complete for Synaptics devices tomglocker1-1/+7
make sure that the device doesn't get enabled before, which would make it fail. Fixes regular occurring 'not in sync yet, discard input' issue seen on ThinkPad X1 Gen6. ok deraadt@
2019-01-26Tag the start of witness(4) output with prefix "witness:".visa1-15/+18
This eases data extraction in syzkaller. Prompted by and OK anton@
2019-01-26Recent discussions about abort() potentially leaving key material inderaadt1-5/+8
core files (which can depend upon various file layouts) have resonated with my hate for this function outside a purely debugging context. I also dislike how the report goes to stderr which may get lost or ignored. Increase the noise (with syslog_r) and use _exit(1) to gaurantee termination. ok jsing
2019-01-26syncflorian3-0/+8
2019-01-26hook up unwind(8) to the build; OK deraadtflorian2-5/+5
2019-01-26rc(8) bits for unwind(8); OK deraadtflorian4-5/+19
2019-01-26avoid double free, instead flowing through a free(NULL)deraadt1-2/+1
from Ville Valkonen
2019-01-26create /etc/unwind; OK deraadtflorian1-1/+8
2019-01-26add _unwind user; OK deraadtflorian3-1/+4
2019-01-26check if the incoming ttl is <= 1 before decrementing it.dlg1-3/+4
previously it would decrement the uint8_t ttl and then check if it was less than one, which let ttl 0 off the wire wrap to 255 (which is higher than 1).
2019-01-26fix microsecond output of timestamp deltas (-tttt)procter1-17/+15
2019-01-25build ccp(4) on ramdisksjsg2-2/+4
ok dlg@
2019-01-25On i386, ensure that the first PT_LOAD segment is below the W^Xkurt1-31/+20
line unless it is writable. lld places read-only sections below the gap so this is needed to be able to retain W^X with lld. Note however the read-only sections below the W^X line are now executable on pre-NX machines and a possible source of gadgets. This is a change from Gnu ld where RO sections were ordered above the W^X line and not executable. okay drahn@ kettenis@ deraadt@
2019-01-25We are not holding on to a ref to the resolver if ub_resolve_event fails.florian1-2/+4
2019-01-25configparser.c gets generated by the build infrastructure even thoughflorian2-4651/+2
the .y file is not hooked up to the build. But since it works out just fine remove configparser.c and hook up configparser.y. (The same does not hold true for configlexer.lex though.) With this obj/configparser.c is not left behind on make clean.
2019-01-25make sure resolver exists before sending detailed infoflorian1-1/+4
2019-01-25typoflorian1-2/+2
2019-01-25We also need to check the rcode in the wire paket.florian1-2/+3
This lets us get past the broken Dutch railway wifi that responds NXDOMAIN if an edns0 option is present.
2019-01-25fix dhclient.conf syntaxflorian1-3/+3
2019-01-25pasto; from Caspar Schutijser, thanks!florian1-2/+2
2019-01-25The correct spelling is AF_ROUTE; from Caspar Schutijser, thanks!florian1-3/+3
2019-01-25print errors to stderrtb1-19/+21
2019-01-25sort output suffixestb1-2/+2
2019-01-25I am retiring my old email address; replace it with my OpenBSD one.millert129-292/+292
2019-01-24kernels in compile dirs are readonly, and the bsd.rd we created hasnaddy2-2/+4
tracked that permission. Make the copy in $RELEASEDIR a+r ok deraadt@
2019-01-24Open and close listening sockets on localhost:53 depending on if we canflorian4-55/+92
resolve at all. We come up without listening and open IPv4 and IPv6 sockets once the resolver process has determinded that we can speak DNS to the outside world. Furthermore close the listening sockets when the resolver process notices that we can no longer speak DNS to the outside. This is a last-ditch effort to get out of libc resolver's way and let it speak directly to e.g. dhcp provided resolvers. With the recomended configuration of having 127.0.0.1 first in /etc/resolv.conf and then add dhcp provided resolvers after that our libc resolver will receive a port unreachable error and immediately switch to the next one if unwind is not listening on port 53. (Networks have been observed in the wild that intercept DNS packets and answer NXDOMAIN if an edns0 option is send with the query.)
2019-01-24Accept the host key fingerprint as a synonym for "yes" when acceptingdtucker1-8/+11
an unknown host key. This allows you to paste a fingerprint obtained out of band into the yes/no prompt and have the client do the comparison for you. ok markus@ djm@
2019-01-24Have progressmeter force an update at the beginning and end of eachdtucker4-14/+11
transfer. Fixes the problem recently introduces where very quick transfers do not display the progressmeter at all. Spotted by naddy@
2019-01-24Add code to visualize the state machine. Both the state machine and thetb2-5/+79
output will have to be tweaked, but this may as well happen in-tree. To try it, pkg_add graphviz and run 'make handshake.svg' in this directory. Committing early so Bob's followers can play.
2019-01-24fix shift/reduce conflictflorian1-3/+3