summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-01-29Enable CRYPTO for arm64 RAMDISK so that we can use softraid crypto.Patrick Wildt
ok deraadt@
2019-01-29replace err() with yyerror/YYERROR, only leave err() where we run outSebastian Benoit
of memory and can't do anything else. This way we don't terminate on config reload with a bad config. ok florian@
2019-01-29Skip vmd(8) tests on non amd64 machines.Alexander Bluhm
2019-01-29Tests to verify that the special case for Friday is not applied whenTodd C. Miller
the -A and -B options are used. From Andy Bradford.
2019-01-29Fix a bug with -flag where later events may be shown when they should not be.Todd C. Miller
The problem is caused by the special handling of Friday, where calendar will show the upcoming events for the weeked as well. This change disables the special handling of Friday for the -B option, as was already done for -A. From Andy Bradford.
2019-01-29Get rid of ugly access(2) and still be able to run without a configFlorian Obser
file. Prodded by deraadt
2019-01-29notyetFlorian Obser
2019-01-29Bring macro section in line with other config file man pages.Florian Obser
otto@ pointed out that we lost a description on HOW to use macros.
2019-01-29Make imsg processing much more paranoid.Florian Obser
If it comes from one of our processes and the size does not match what we expect call fatalx to crash and burn. We either hit a logic bug or something is fishy on the other end and we can't trust that process any longer. Not that we trust those processes to begin with. This also applies to receiving resources that we don't expect. For example if we have an open UDP listen socket and get a new one passed from the main process something is wrong and we should crash and burn. The only place where we are more lenient is on the control socket. We just ignore wrong sized messages so that users can't bring down unwind.
2019-01-29nl in forwarder line is optional, makes the grammar conform more to manualOtto Moerbeek
ok florian@
2019-01-29Discard unwanted mouse events from the keyboard input channel when we'reMarcus Glocker
on the console. Issue reported by deraadt@. ok deraadt@, mpi@
2019-01-29Plumbing to simplify upcoming locking.Martin Pieuchot
- Do checks that do not access shared data structures first, they don't need locking and save us some dances. - Use the common !ETHER_IS_MULTICAST() idiom and move some code that won't be executed if the bridge(4) is down. ok bluhm@, visa@
2017-10-11Add regression tests for vmd(8) config parsing.Alexander Bluhm
from Carlos Cardenas; OK mlarkin@
2016-09-05Import libcompiler_rt 3.9.0, LLVM's replacement for libgcc.Pascal Stumpf
This is the lib/builtin directory of the compiler-rt source tarball. comments/ok patrick@, ok kettenis@
2019-01-29Rename 1-letter variables to be coherent with others futex(2) basedMartin Pieuchot
implementations. ok pirofti@
2019-01-29Remove unused <assert.h> header.Martin Pieuchot
2019-01-29There's no point in asserting that a pointer is not NULL beforeMartin Pieuchot
dereferencing it. ok kettenis@, visa@
2019-01-29Tweak description, pthread_cond_signal(3) unblocks *at least* one thread.Martin Pieuchot
ok kettenis@, visa@
2019-01-29Correct LLVM backend version.Patrick Wildt
From Brad
2019-01-29add an extra check for existing "api ..." line in the config.Sebastian Benoit
move the check of existing "account ..." line from main.c to the parser. ok deraadt@
2019-01-29We don't need IMSG_SHUTDOWN, we can just close the sockets.Florian Obser
pointed out by deraadt
2019-01-29strip \r from lmtp responsesGilles Chehade
ok sunil@
2019-01-29We don't need IMSG_SHUTDOWN, we can just close the sockets.Florian Obser
pointed out by deraadt
2019-01-29instead of calling abort() for 3 "must not use anymore" interfaces,Theo de Raadt
call OPENSSL_assert() with the specific message, which due to recent changes will end up syslog :) ok jsing
2019-01-29Add a dedicated sysctl(2) node for witness(4).Visa Hankala
The new node contains the subsystem's main control variable, kern.witness.watch. It is aliased by the old name, kern.witnesswatch. The alias will be removed in the future. OK anton@ mpi@
2019-01-29Reuse copy_satopfaddr() when killing entrieskn
Recently introduced in pfctl_parser.c r1.333, this helper nicely simplifies code when copying IPs based on their address family, so use it in five other places when killing state or source node entries. All addresses copied in these code paths result from either pfctl_parse_host() or pfctl_addrprefix() which guarantee the address family set to AF_INET or AF_INET6. Therefore, effectively relaxing the case of unhandled families from errx(3) in callers to warnx(3) in copy_satopfaddr() is safe since it's never reached. OK sashan
2019-01-29add /etc/unwind.conf in changelist(5)Sebastien Marie
ok florian@
2019-01-29Remove SSLv23 padding mode from rsautl's usage (left behind in a removalTheo Buehler
from code and manual in 2017). Reported by KEINOS in github issue #101.
2019-01-29Terminate NULL in argv. This fix is come from 1.31 from NetBSDYASUOKA Masahiko
lib/libedit/chartype.c via FreeBSD. From tj@ ok tb
2019-01-29Accept control frames in monitor mode.Kevin Lo
Based on a diff from Jesper Wallin. ok jmatthew@, stsp@
2019-01-29Make -N and -r mutually exclusivekn
Either disable DNS or enable additional reverse lookups, but not both. OK benno
2019-01-29add AMDGPUCodeGenJonathan Gray
2019-01-29call the "parent" interface ifp0 to be consistent with other drivers.David Gwynne
2019-01-29use a sockaddr_mpls when preparing an AF_MPLS sockaddr for mpls_outputDavid Gwynne
2019-01-29ixl works fine on sparc64David Gwynne
ok deraadt@ jmatthew@
2019-01-29get rid of some more debug printfsDavid Gwynne
suggested by jmatthew@
2019-01-29don't need to print the base queue number.David Gwynne
ok jmatthew@
2019-01-29add Makefiles for AMDGPU targetJonathan Gray
ok patrick@
2019-01-28spelling;Jason McIntyre
2019-01-28ttyname() is used after unveil/pledge, so _PATH_DEVDB must also beTheo de Raadt
permitted.
2019-01-28Implement cp -a ("archive" mode)Jeremie Courreges-Anglas
Not standard, but supported at least by GNU cp, IllumOS, NetBSD, FreeBSD, DragonflyBSD. No need to be gratuitously different. This should also allow us to drop patches in ~10 ports. Based on an initial diff by benno@ with input from sthen@ and jmc@ ok benno@ danj@ sthen@ martijn@ deraadt@
2019-01-28Allow fstat to filter multiple pids and multiple users at the same time.Martijn van Duren
OK deraadt@
2019-01-28Switch i386 to use lld as the default linker.Christian Weisgerber
ok deraadt@
2019-01-28Deduplicate a bunch of replicated code in the extension handlingBob Beck
ok tb@
2019-01-28Add tls_extension_seen(), a utility to know if a particular extensionBob Beck
has been seen in the handshake so far. Use it for keyshare. ok tb@
2019-01-28saying the apm driver provides a user interface to the apm driver is notJason McIntyre
that helpful. lacking the correct facts, i nicked the following text from the macppc page: The .Nm driver provides an interface which simulates the Advanced Power Management .Pq APM BIOS functions.
2019-01-28Simplify by using `spc' since we already have it, no behavior change.Martin Pieuchot
2019-01-28Stop accounting/updating priorities for Idle threads.Martin Pieuchot
Idle threads are never placed on the runqueue so their priority doesn't matter. This fixes an accounting bug where top(1) would report a high CPU usage for Idle threads of secondary CPUs right after booting. That's because schedcpu() would give 100% CPU time to the Idle thread until "real" threads get scheduled on the corresponding CPU. Issue reported by bluhm@, ok visa@, kettenis@
2019-01-28Implement breaking into ddb on imxuart(4). When a break is detected,Patrick Wildt
a flag in the upper byte of the 2-byte-wide receive register is set. ok kettenis@
2019-01-28Simplify lookups when killing entrieskn
Killing source tracking or state entries by hostname or CIDR would pass given keys twice to getaddrinfo(3): once to resolve/parse and again to parse the numerical address in case a prefix was specified. Avoid this overhead by making pfctl_addrprefix() resolve, pass and mask in one go and return the list of IPs to the callers. This notably simplifies both logic and sanity checks around prefix length and address family. While here, also pass -N along such that -k and -K can be restricted to not use DNS. Discussed with procter sashan, OK sashan