summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-07-30Use effective_proposal data to set mtu and address.Kenneth R Westerback
2017-07-30syncVisa Hankala
2017-07-30man octcit(4)Visa Hankala
2017-07-30Add a driver for CIU3. Not quite finished yet, but good enough for now.Visa Hankala
2017-07-30Fix a double free of the TLS config in the error path.Alexander Bluhm
OK claudio@
2017-07-30If syspatch is updating itself, exit after installing the new syspatch toAntoine Jacoutot
stop installing further patches and warn the user he needs to run it again (so that it'll run with the new code).
2017-07-30`-R' requires root privileges.Antoine Jacoutot
2017-07-30leftovers from newdFlorian Obser
2017-07-29syncTheo de Raadt
2017-07-29Remove erroneous h length modifier, the argument has type 'int'.Frederic Cambus
OK deraadt@
2017-07-29Document that builtins for certain malloc(3)-like and free(3)-likeMark Kettenis
functions are disabled.
2017-07-29Document that -Waddress-of-packed-member is disabled by default.Mark Kettenis
2017-07-29Disable -Waddress-of-packed-member by default.Mark Kettenis
While these warnings have the potential to be useful, there are too manu false positives right now. ok deraadt@
2017-07-29Fix off-by-one in return value of efi_device_path_depth().Mark Kettenis
ok patrick@
2017-07-29Fix off-by-one in return value of efi_device_path_depth().Mark Kettenis
ok patrick@
2017-07-29Remove useless conditional before free().ians
ok mpi@
2017-07-29Remove unused function and variable to shut up warning. Put backAlexander Bluhm
a status print that was lost in previous.
2017-07-29Add a bcmaux(4) driver that handles clocks and interrupts for theMark Kettenis
auxilliary UART. Makes serial console work with newer device trees. ok jsg@
2017-07-29Device trees for the Rasperry Pi are still in flux. Catch up with theMark Kettenis
latest ways to encode the MAC address for the onboard USB Ethernet. ok visa@
2017-07-29repair regress for more aggressive post fork checking in library.Ted Unangst
we should not be checking that things explicitly forbidden work. prompted by bluhm
2017-07-29not all the world is an i386. Back out breakage.Theo de Raadt
2017-07-29Fix clang warnings in rdsetrootmortimer
ok deraadt@
2017-07-29Fix trapsleds on i386mortimer
ok deraadt@
2017-07-29return -1 in error path of non-void function, pointed out by clangFlorian Obser
OK deraadt
2017-07-29Default routes supplied via DHO_CLASSLESS[_MS]_STATIC_ROUTESKenneth R Westerback
should have the same add_route() logic applied to them as the one supplied via DHO_ROUTERS. i.e. add the /32 route if needed, create direct route if gateway address is the same as interface address. Simplify logic by using the canonical rtstatic[] version of static routes created by lease_as_proposal().
2017-07-29Use linker flags that build and run the test with gcc and clang.Alexander Bluhm
Add missing #include to fix clang warning.
2017-07-29syncVadim Zhukov
2017-07-29Goodbye, sys/dkbad.h, you lost your last friend when sparc was removed.Vadim Zhukov
Spotted and diff provided by Andrey Bolkonskiy <andrey0bolkonsky@gmail.com>, thanks! okay deraadt@
2017-07-29Use memory barriers to prevent pointer use before initialization.Paul Irofti
This work was sparked by the topic posted on hn by wuch. I am still not sure that this fixes the defect he claims to have observed because I was not able to create a proper regress test for it to manifest. To that end, a proof of concept is more than welcomed! Thank you for the report! Discussed with and OK kettenis@, tedu@.
2017-07-29change if ((a == b)) to if (a == b); silences noisy on-by-defaultFlorian Obser
"equality comparison with extraneous parentheses [-Wparentheses-equality]" clang warning. OK deraadt, kettenis
2017-07-29There is no RTC on the E300 boards.Visa Hankala
2017-07-29Replace a complex `if' condition with a list.Visa Hankala
OK pirofti@
2017-07-28plog format string should be literal.Frederic Cambus
OK florian@, deraadt@
2017-07-28Add some sanity length checks in VFS directory scan. This protectsAlexander Bluhm
us from bogus input from file systems like fuse. bug report Ilja Van Sprundel; OK deraadt@
2017-07-28DEFAULTSETS, SANESETS and THESETS are set in the install.md scriptsRobert Peichaer
according to the same logic for all architectures but sgi. Consolidate setting them in one place in install.sub and incorporate the sgi specific MDSETS and MDSANESETS. Introduce MDSANESETS complementing MDSETS which makes the construction of DEFAULTSETS, THESETS and SANESETS clearer in install.sub. While here, adjust the comment about how MDSETS used now. OK deraadt@
2017-07-28Fix some warnings: p1() and p2() are only declared without arguments soNicholas Marriott
that nop() can be nop(void), so just change nop() to have the same arguments as all the other functions and make p1() and p2() proper prototypes; and do not use '\0' as a pointer constant. ok florian deraadt
2017-07-28On OpenBSD disable the malloc/calloc/realloc/free/str*dup builtins, sinceTheo de Raadt
they can perform strange transforms and optimizations. Some of those could gain a slight advantage, but would avoid the variety of important runtime checks our malloc(3) code does. In essence, the transforms performed are considered "anti-mitigation". ok kettenis robert, discussions with others
2017-07-28syncVisa Hankala
2017-07-28man octsctl(4)Visa Hankala
2017-07-28Add a driver for the OCTEON SATA controller bridge.Visa Hankala
OK deraadt@, jasper@, kettenis@
2017-07-28Add a workaround that allows the use of sys/dev/fdt code on octeon.Visa Hankala
OK kettenis@
2017-07-28When the mparse_alloc() prototype changed in read.c 1.151, updatingIngo Schwarze
the enum constant was forgotten in this call. No functional change since the mmsg argument is NULL anyway. Found by florian@ with clang.
2017-07-28use & to check if a bit is set in a flag; pointed out by clangFlorian Obser
OK schwarze
2017-07-28Always calculate the hash value of the x509 cert in ssl_load_pkey().Alexander Bluhm
Check whether TLS server object is available before using it. With these fixes the ssl inspect regress test just fails and does not crash relayd. OK claudio@
2017-07-28Make the engine id is just binary data so make it uint8_t.Florian Obser
clang pointed out that we tried to store 128 in a signed char. OK gerhard
2017-07-28Use a format string for yyerror when printing a variable string.Florian Obser
Pointed out by clang. (Not really a problem here since we control the string, but these things tend to get coppied around) ok gerhard@
2017-07-28pass the size of the dst buffer to strlcat, not the source; pointedFlorian Obser
out by clang OK kettenis
2017-07-28remove unused variable; pointed out by clangFlorian Obser
OK kettenis
2017-07-28remove unused variables; pointed out by clangFlorian Obser
OK kettenis
2017-07-28One negation is enough; pointed out by clang.Florian Obser
OK gsoares who says that he forgot about the same diff for months and that millert@ had OK'ed it.