summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-02-23- add an AMD hub found on APU2Jasper Lievisse Adriaanse
- add Synaptics vendor id and two fingerprint readers feedback and ok jsg@
2020-02-23remove unused parts of types.hJonathan Gray
ok jung@ florian@
2020-02-23We never request to clone the buffer from the message parser.Florian Obser
OK millert
2020-02-23We are not passing options to the message renderer.Florian Obser
OK millert
2020-02-23Partial rendering was never implemented.Florian Obser
OK millert
2020-02-23Remove unused fields from struct dst_key and stop passing name andFlorian Obser
rdclass around. OK millert, jung
2020-02-23hmacs do not support NULL keysFlorian Obser
OK millert, jung
2020-02-23All key funcs are populated, skip NULL check.Florian Obser
While here remove *_isprivate since it is always true. OK millert, jung
2020-02-23createctx2, verify2, and cleanup are always NULL.Florian Obser
OK millert, jung
2020-02-23Remove unused hmac functions from struct dst_func which in turn letsFlorian Obser
us delete parsing of private keys from files. OK millert, jung
2020-02-23remove unused structsJonathan Gray
2020-02-23remove unused dns_rdatacallbacks struct and typedefJonathan Gray
2020-02-23syncStuart Henderson
2020-02-22remove various unused macrosJoerg Jung
ok florian
2020-02-22remove some unused args and unused assignments, as resultJoerg Jung
msgblock_free() becomes just free() also add UNUSED() for some dns_message *msg args for later revisit and cleanup ok millert florian
2020-02-22remove assigned but unused valuesJoerg Jung
ok millert florian
2020-02-22remove unused codeJoerg Jung
ok millert florian
2020-02-22Do not run _rc_parse_conf of /var/run/rc.d/foobar on "start".Antoine Jacoutot
This is needed in case a foobar fails to start but still returns 0. Changing its flags (in rc.conf.local) would then get ignored because of this cache (which is around to handle stop/check/reload on flags changes). claudio@ reported this issue when struggling with prometheus several weeks ago
2020-02-22fix a crash when printing the contents of a malformed packet where the packetJasper Lievisse Adriaanse
length was smaller than the sizeof the usbpcap header. we'd end up passing a negative value as the length to default_print(). found with afl-fuzz ok mpi@
2020-02-22use the UE_GET_XFERTYPE macro where applicableJasper Lievisse Adriaanse
ok mpi@
2020-02-22regenanton
2020-02-22Unlock ioctl(2).anton
ok kettenis@ mpi@ visa@
2020-02-22In preparation for unlocking ioctl(2), grab the kernel lock as needed.anton
ok kettenis@ mpi@ visa@
2020-02-22Avoid duplication in the code that sends headersJeremie Courreges-Anglas
ok yasuoka@
2020-02-22Respect userinfo even when built with NOSSL (floppy ramdisks)Jeremie Courreges-Anglas
Not handling it is incorrect and can lead to credentials leaks in DNS requests. The resulting growth is reasonable (about 300 bytes on amd64). ok yasuoka@
2020-02-21some rewording and text shuffle to improve readability;Jason McIntyre
ok millert
2020-02-21set function parameter list to voidJoerg Jung
ok millert florian
2020-02-21Support devaliases for vnetkn
vnet devalias=netboot Creates a device alias to be used in OBP: {ok} boot netboot This helps navigating inside guests without remembering device paths or rather their order as specified in the config. OK kettenis
2020-02-21Actually pass devalias from parser to configkn
Missed in previous commit; no breakage, the resulting MD would simply end up without user defined device aliases.
2020-02-21Enforce that TMOUT is an integer literal to prevent command execution fromTheo Buehler
the environment at shell initialization time. During startup, ksh calls 'eval typeset -i TMOUT="${TMOUT:-0}"'. which allows command injection via arithmetic expansion, e.g., by setting TMOUT to 'x[`/bin/echo Hi >&2`]'. Problem noted by Andras Farkas and tj, inspired by a similar issue in AT&T's ksh. Tested in snaps for two weeks. "go for it" deraadt
2020-02-21Remove the s2n macro now that it is finally unused.Joel Sing
ok inoguchi@ tb@
2020-02-21Convert the SSL/TLS record creation code to CBB.Joel Sing
ok inoguchi@ tb@
2020-02-21Convert the DTLS header creation code to CBB.Joel Sing
Also consolidate it into the one place, since there is no reason to write the epoch and sequence out later. ok inoguchi@ tb@
2020-02-21Remove some commented code, remove some pointless comments and move someJoel Sing
comments to their correct places. ok inoguchi@ tb@
2020-02-21Convert dtls1_build_sequence_number() to CBB.Joel Sing
ok inoguchi@ tb@
2020-02-21Move l2n/l2n8 into s3_cbc.c, since this is the only code that uses it.Joel Sing
ok inoguchi@ tb@
2020-02-21Remove prefix_len, since it is always zero.Joel Sing
ok inoguchi@ tb@
2020-02-21Remove now unused variable.Joel Sing
ok inoguchi@ tb@
2020-02-21Add rkanxdp(4), rkdrm(4) and rkvop(4) to GENERIC, but keep themPatrick Wildt
disabled while their code is improved. ok kettenis@
2020-02-21Add rkanxdp(4), an attachment driver for anxdp(4) on the RK3399.Patrick Wildt
Taken from NetBSD and adjusted to our layers. ok kettenis@
2020-02-21Add anxdp(4), a driver for the Analogix Display Port controller,Patrick Wildt
which amongst other things sets up the link and allows reading the display's modelines over I2C. Taken from NetBSD and adjusted to our layers. ok kettenis@
2020-02-21Add rkvop(4), a driver for the RK3399's Video Output Processors,Patrick Wildt
which transfer a framebuffer to outputs like DisplayPort or HDMI. Taken from NetBSD and adjusted to our layers. ok kettenis@
2020-02-21Implement a rather simple video interface support for OFW. This isPatrick Wildt
good enough to make the Pinebook Pro work, but probably needs a lot more thinking. ok kettenis@
2020-02-21Add rkdrm(4), a driver which combines all the separate componentsPatrick Wildt
and lets drm(4) attach to it. Taken from NetBSD and adjusted to our layers. ok kettenis@
2020-02-21Add a DRM GEM CMA helper from NetBSD. Plenty of parts are stillPatrick Wildt
under ifdef for us, so for now we don't support SG tables or the GEM CMA ops, but at least it lets us create a simple framebuffer. ok kettenis@
2020-02-21Add test for IPsec transport mode. Check not only flows but also SAs,tobhe
SA modes (tunnel/transport), and flow types (IPcomp/ESP).
2020-02-21Add transport mode for child SAs. This is useful for GRE over IPsec andtobhe
similar settings to prevent double encapsulation. ok kn@
2020-02-21Use proper function to get a timestamp, as time_second isn't safe;Otto Moerbeek
ok cheloha@
2020-02-21Handle the mount(... MNT_RELOAD) case for ffs2 as well. ok kettenis@Otto Moerbeek
2020-02-21Remove sigacts structure sharing. The only process that used sharing wasClaudio Jeker
proc0 which is used for kthreads and idle threads. proc0 and all those other kernel threads don't handle signals so there is no benefit in sharing. Simplifies the code a fair bit since the refcnt is gone. OK kettenis@