summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-08-02Some wordsmithing. Comments and tweaks from deraadt, jmc, benno, and tb.rob
ok deraadt@
2018-08-02Split out the rule skipping logic into own function and by doing so ensureClaudio Jeker
that both filter lists are treated the same way. This fixes an inconsistency with ibgp and ebgp filters as used in the example config. OK benno@ sthen@
2018-08-02According to code (and testing), each is optional but at leastSebastian Benoit
one must be present. From Ross L Richardson, thanks ok sthen@
2018-08-02It's an "X.509 certificate" rather than a "TLS certificate".Sebastian Benoit
As pointed out by sthen@, TLS isn't the only possible use. From Ross L Richardson ok shten@
2018-08-02its a X.509 certificate, consistency with acme-client.conf.5Sebastian Benoit
From Ross L Richardson ok sthen@
2018-08-02Enable ssdfb(4) at I2C.Patrick Wildt
2018-08-02Add I2C attachment code to ssdfb(4). The difference between the I2CPatrick Wildt
and SPI bus is simply how to let the chip know it's a command or data transfer. Otherwise we push the very same bits.
2018-08-02ntpd(8) has logic in place to delete its control socket on shutdown, but itRicardo Mestre
currently doesn't call the function control_cleanup to do so. The solution is to simply call that function just before the program quits. "sure" henning@
2018-08-02Make a few more rde specific functions static.Claudio Jeker
2018-08-02Make free_prefixsets() accept a NULL pointer. Makes it behave more likeClaudio Jeker
all other free functions bgpd has.
2018-08-02session_groups can be static also.Nicholas Marriott
2018-08-02Make key trees and some other bits static.Nicholas Marriott
2018-08-02Minor tidying.Nicholas Marriott
2018-08-02This brings the network code more in line with what regular updateClaudio Jeker
processing does. It adds the prefix to Adj-RIB-In and if "log update" is set it will also log the addition and removal of a prefix. OK benno@
2018-08-02Add delay when increasing the voltage of a regulator that has aMark Kettenis
"regulator-ramp-delay" property to guerantee that the target voltage has been reached when regulator_set_voltage(9) returns. ok patrick@
2018-08-02Make display-panes block the client until a pane is chosen or it times out.Nicholas Marriott
2018-08-02Actually order the promises in their canonical form, missed that in myRicardo Mestre
previous commit. heads up and OK tb@
2018-08-02Currently when eigrpd(8) shuts down then its unix control socket is beingRicardo Mestre
unlink(2)ed from eigrpe engine process, the problem is that this proc is chrooted and therefore the socket will never be deleted. In order to solve it we need to bring control_cleanup() function, which calls unlink(2), into the main proc which is not chrooted. This is the way it's already done for several other daemons we have in our base. Additionally we also need to move the "cpath" pledge(2) promise from the child process to the main process in order for the latter to be allowed to delete the socket and while here shuffle the promises into their canonical form. OK florian@ and benno@
2018-08-02Fix panic when we attempt to mess with "." but have a flags mismatchBob Beck
so unveil_check_final returns an error - in this case we can't just VOP_UNLOCK the parent we have to know we are dealing with "." found by anton@ - thanks
2018-08-02Test messing with "." both when having . unveiled for an operation, andBob Beck
with . veiled without the right flags for an operation, since these come out of namei differently and . is the bane of the special LOCKPARENT corner cases - this tests a panic found by anton@
2018-08-01On AMD CPUs, If the LFENCE serialization MSR bit is already set, thenBryan Steele
we don't need to uncondtionally set it. Worksaround a suspected bug in newer Linux KVM, which may trigger a #GP fault on writes to this MSR. ok mlarkin@
2018-08-01Fix segmentation fault on radiusd(8) when exiting.Ricardo Mestre
If one of the configured modules doesn't have a secret setup then module->secret == NULL which would call strlen(NULL), within freezero(3), and that shouldn't happen, but in this case since the call is done it segfaults and the daemon is not properly shutdown. cluebat stick provided by semarie@, OK tb@ and deraadt@
2018-08-01Fix an off-by-one string read access that could happen if an emptyIngo Schwarze
string argument preceded a string argument beginning with "--". Found by Leah Neukirchen <leah at vuxu dot org> with -Wpointer-compare.
2018-08-01Fix various RK3399 clocks and add support for getting the clock frequencyMark Kettenis
of the clocks that we can set. Assign clock rates (and parents) based on the "assigned-clocks" device tree property, but only on RK3399 for now as the code for the other Rockchip SoCs isn't quite ready yet. Last but not least, fixup a mistake on the firmware for the Theobroma Systems RK3399-Q7 module such that the "big" cluster uses BPLL as intended.
2018-08-01After rewriting the parse buffer from scratch, we also have to resetIngo Schwarze
the parse point to the beginning of the new buffer or we risk out of bounds accesses. Bug found by Leah Neukirchen <leah at vuxu dot org> with valgrind on Void Linux.
2018-08-01Initialize new lineflag member.Nicholas Marriott
2018-08-01Avoid a read access one byte beyond the end of an allocated stringIngo Schwarze
which occurred in situations like ".Fl a Cm --"; found by Leah Neukirchen <leah at vuxu dot org> with valgrind on Void Linux.
2018-08-01Use a single space after colon in another errx().Theo Buehler
Pointed out by Kris Katterjohn
2018-08-01Disallow negative reps, they make no sense. While here, sscanf -> strtonum.cheloha
From Kris Katterjohn on tech@. ok tb@
2018-08-01Implement a partial update mechanism. Since the SPI-connected displayPatrick Wildt
cannot read the framebuffer memory, we have to push the framebuffer to the display. ssdfb(4) will now be able to update only a certain region region of the framebuffer as soon as there is infrastructure to trigger it.
2018-08-01Clarify that we chroot to the users home directory if -u is provided.Florian Obser
Pointed out by Andrew Daugherity (andrew.daugherity AT gmail), thanks! Tweaks and OK jmc
2018-08-01Remove midsentence period.rob
2018-08-01document when -exec evaluates to true; from kris katterjohnJason McIntyre
ok tb while here, knock out a useless Tn;
2018-08-01Update a comment to include -delete, -execdir, -ls and -print0 amongTheo Buehler
the primaries that do not imply -print. From Kris Katterjohn, thanks! ok jmc
2018-08-01Document that -delete and -execdir prevent -print from being assumed.Theo Buehler
From Kris Katterjohn, thanks. ok jmc
2018-08-01update currency exchange rates;Jason McIntyre
2018-07-31Zap v4mask and v6mask in host()kn
Simply defer checks whether a mask has been specified to where it's set in host_*(); this is to reduce address family specific code. OK sashan
2018-07-31Relocate some public functions above the internal functions comment.rob
ok claudio@
2018-07-31Display color depth alongside resolution when attaching simplefb(4).Frederic Cambus
OK kettenis@, deraadt@
2018-07-31Reshuffle order in struct rde_peer a bit. No functional change.Claudio Jeker
2018-07-31Do not leak path or use it after free.Nicholas Marriott
2018-07-31Stop reversing bytes read from the framebuffer. That was added sincePatrick Wildt
the 8x16 font showed horizontally flipped characters, but as it turns out the issue is that with 8-bit wide fonts we use optimized rasops code that apparently writes out the character with reversed bitorder.
2018-07-31Move struct screen_sel into screen.c and tidy up members that are onlyNicholas Marriott
used by copy mode.
2018-07-31Fix some debugging output now that ber type and encoding are unsigned int.rob
ok claudio@
2018-07-31Make ber type and encoding a unsigned int instead of unsigned long.Claudio Jeker
This way the size is the same on all archs and 32bit should be good enough. OK rob@
2018-07-31Clear history on RIS like most other terminals do.Nicholas Marriott
2018-07-31Implement setting the voltage of the regulators.Mark Kettenis
2018-07-31Correctly set the dividers for the clock of the "big" cores.Mark Kettenis
2018-07-31Fix setting the voltage; the code was using the wrong variable as a step size.Mark Kettenis
Includes some cosmetic fixes as well.
2018-07-31There is no longer the need to be careful in rde_softreconfig_in() whenClaudio Jeker
traversing the prefix list. Since a while Adj-RIB-In is fully independent and so updating the local RIB does not modify that list. OK benno@