summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-02-14Use -1 instead of the less portable INFTIM for the poll timeout.Claudio Jeker
Result is the same.
2019-02-14Use the portable SIZE_MAX instead of SIZE_T_MAXClaudio Jeker
2019-02-14When bsd.lib.mk builds shared libraries it builds with -DPIC whichJonathan Gray
causes problems in the following files which use PIC as a variable name. Undefine PIC in llvm-config.h to minimise the diff to upstream LLVM. include/llvm/MC/MCObjectFileInfo.h lib/MC/MCObjectFileInfo.cpp lib/Transforms/Scalar/LICM.cpp lib/Transforms/Utils/PredicateInfo.cpp These are the files that would be built as part of a shared libLLVM. There are other files with PIC variable names in clang code. #undef PIC approach suggested by kettenis@
2019-02-14spelling/consistency fix; from nam nguyenJason McIntyre
2019-02-14the rdomain for the mpls stuff should still be hardcoded to 0 in mpw.David Gwynne
it was using ifp->if_rdomain for the rtalloc of the mpls encapsulated tunnel in mpw_start.
2019-02-14use the configured route domain for the mpls tunnel when sending packets.David Gwynne
2019-02-14consistently use the same flags for rt_ifa_add and _del.David Gwynne
experience with mpe shows you need RTF_LOCAL everywhere for del to work.
2019-02-14allow configuration of the rdomain the mpls encap operates inDavid Gwynne
this borrows the SIOCSLIFPHYRTABLE and SIOCGLIFPHYRTABLE that tunnel interfaces implement to set the rdomain mpls operates in. ifconfig tunneldomain X lets you set it, and you can see the effect with netstat -nr -f mpls -TX, but ifconfig currently doesnt show the tunneldomain. yet.
2019-02-13don't confuse the interface rdomain with the one the local label is in.David Gwynne
SIOCSIFRDOMAIN is about the routes on top of an mpe interface. the rdomain mpls operates in is independent of that, and currently restricted to rdomain 0.
2019-02-13Remove IMPLEMENTATION NOTES, they only apply to one of the two in-treeMartin Pieuchot
implementations. Pointed out by pirofti@
2019-02-13change rt_ifa_add and rt_ifa_del so they take an rdomain argument.David Gwynne
this allows mpls interfaces (mpe, mpw) to pass the rdomain they wish the local label to be in, rather than have it implicitly forced to 0 by these functions. right now they'll pass 0, but it will soon be possible to have them rx packets in other rdomains. previously the functions used ifp->if_rdomain for the rdomain. everything other than mpls still passes ifp->if_rdomain. ok mpi@
2019-02-13(unsigned) means (unsigned int) which on ptrdiff_t or size_t or otherTheo de Raadt
larger types really is a range reduction... Almost any cast to (unsigned) is a bug. ok millert tb benno
2019-02-13syncAndrew Fresh
looks good enough for a start deraadt@, good for i386 sthen@
2019-02-13Apply pre-built unicore patch, remove excess files - perl-5.28.1Andrew Fresh
looking good sthen@, Great! bluhm@
2019-02-13Nuke unused variable.Kenneth R Westerback
2019-02-13Apply local patches, remove excess files - perl-5.28.1Andrew Fresh
looking good sthen@, Great! bluhm@
2019-02-13Fix merge issues, remove excess files - match perl-5.28.1 distAndrew Fresh
looking good sthen@, Great! bluhm@
2019-02-13Import perl-5.28.1Andrew Fresh
looking good sthen@, Great! bluhm@
2019-02-13strsep the -e argument for execve; ok bennoTheo de Raadt
2019-02-13one more error message that should go to stderrTheo Buehler
2014-11-17Import perl-5.20.1Andrew Fresh
2013-03-25import perl 5.16.3 from CPAN - worked on by Andrew Fresh and myselfStuart Henderson
2010-09-24Perl 5.12.2 from CPANTodd C. Miller
1996-08-19Import of Perl 5.003 into the tree. Makefile.bsd-wrapper andJason Downs
config.sh.OpenBSD are the only local changes.
2019-02-13Clean up some pesky trailing whitespace.Joel Sing
2019-02-13Handle finished messages in TLSv1.3 client.Joel Sing
This adds support for processing of the server finished message and generation of the client finished message. ok tb@
2019-02-13Also remove tbl files from CLEANFILES now they are not generated.Nicholas Marriott
2019-02-13Try harder to start a new line when link is obtained and a newKenneth R Westerback
message is about to be displayed on the console.
2019-02-13New futex(2) based rwlock implementation based on the mutex code.Martin Pieuchot
This implementation reduces contention because threads no longer need to spin calling sched_yield(2) before going to sleep. Tested by many, thanks! ok visa@, pirofti@
2019-02-13Import the existing rwlock implementation for architectures that cannotMartin Pieuchot
use the futex(2)-based one due to missing atomic primitives.
2019-02-13KNF.Martin Pieuchot
Pointed out by pirofti@ while reviewing my rwlock impl. based on this one.
2019-02-13Merge LLVM commits r340844, r353818 and r353819 from the 8.0 branchPatrick Wildt
to fix a regression in floating point operations. Bluhm noticed that the bc regression test has been failing after the upgrade to 7.0.1 because setting the floating point control register was in some cases reordered erroneously. Found and tested by bluhm@ ok bluhm@ kettenis@
2019-02-13Allow SO_PEERCRED to be called on sockets created with socketpair.Martijn van Duren
OK claudio@ and jca@
2016-09-03Use the space freed up by sparc and zaurus to import LLVM.Pascal Stumpf
ok hackroom@
2019-02-13Forgot a return in previous commit to actually skip the test.Alexander Bluhm
noticed by Moritz Buhl
2019-02-13Remove obsolete tbl suffix from ncurses man pages, no objections fromNicholas Marriott
millert.
2019-02-13Remove obsolete tbl suffix from ncurses man pages, no objections fromNicholas Marriott
millert.
2019-02-13Xr the byteorder funcs; from tim kuijstenJason McIntyre
2019-02-13Use md4 from libcrypto instead of using a compatible re-implementation.Theo Buehler
ok benno, deraadt
2019-02-12fix regression in r1.302 reported by naddy@ - only the first publicDamien Miller
key from the agent was being attempted for use.
2019-02-12Skip tests for wscons devices that do not exist on the local machine.Alexander Bluhm
from Moritz Buhl
2019-02-12long option -group is same as -g; ok bennoTheo de Raadt
2019-02-12Skip test if disk type is not in /etc/disktab. There is no floppyAlexander Bluhm
on arm. from Moritz Buhl
2019-02-12sync Kristaps todo listSebastian Benoit
2019-02-12Add Allwinner V3s support. From SASANO Takayoshi.Mark Kettenis
2019-02-12Skip the gcc tests on aarch64, the compiler does not exist there.Alexander Bluhm
2019-02-12whitespace and knfSebastian Benoit
2019-02-12sync a chunk that was lost, fromSebastian Benoit
commit 40bd0babafaa424d20af28128b76878d6cee7b87 Author: kristaps <> Date: Mon Feb 11 23:27:36 2019 +0000 Normal form.
2019-02-12syncSebastian Benoit
commit a2f872b75044aa7bf2297704500b134e3f1b68f7 Author: kristaps <> Date: Tue Feb 12 08:11:09 2019 +0000 Some forgotten pledges for getpw.
2019-02-12syncSebastian Benoit
commit e589e5f657ef334e6fcbfb76962fbd380d13fd2e Author: kristaps <> Date: Tue Feb 12 08:05:32 2019 +0000 Put unveil() functions on their own line. This makes it easier for my secret portability shim I use for valgrind on linux.