CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2018/07/20 20:19:54 Modified files: sys/arch/amd64/amd64: vector.S sys/arch/amd64/include: frameasm.h Log message: Remove the "got meltdown?" conditional from INTRENTRY by doing it unconditionally and codepatching it out on CPUs that don't need/do the mitigation. Align the from-{kernel,userspace} targets in INTRENTRY with _ALIGN_TRAPS Align x2apic_eoi using KUENTRY() instead of the artisinal segment+label+.globl bits it uses currently s/testq/testb/ for SEL_RPL checks ok kettenis@ mlarkin@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: bl...@cvs.openbsd.org 2018/07/20 16:18:49 Modified files: regress/usr.sbin/vmd/config: Makefile vmd-fail-disk-path-too-long.conf vmd-fail-disk-path-too-long.ok Log message: The newly added realpath(3) in vmd's parse.y checks whether the directories exist. Create the path and file for test vmd-fail-disk-path-too-long.
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2018/07/20 15:59:53 Modified files: regress/usr.sbin/snmpd: snmpd.sh Log message: Listen on 127.0.0.1 and ::1 in the regress config since the test use localhost which can be resolved to either of the two values. OK bluhm@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: dera...@cvs.openbsd.org 2018/07/20 15:57:26 Modified files: sys/sys: proc.h sys/kern : exec_elf.c init_main.c kern_exec.c Log message: Remove a few leftovers from the days of emulation, which could result in a bad/corrupt binary not returning ENOEXEC but some other error. ok guenther kettenis bluhm
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: kette...@cvs.openbsd.org2018/07/20 15:48:27 Modified files: sys/kern : exec_elf.c Log message: Fail if a PT_LOAD segment has a memory size of 0. This prevents a panic later on, and it makes no sense for a binary to have such a segment. ok bluhm@, guenther@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: mes...@cvs.openbsd.org 2018/07/20 15:47:07 Modified files: usr.bin/midiplay: midiplay.c Log message: add pledge(2), it only needs rpath if reading from a file hint from tb@ and OK ratchov@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: mes...@cvs.openbsd.org 2018/07/20 15:44:41 Modified files: usr.bin/midiplay: midiplay.c Log message: zap whitespaces
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: flor...@cvs.openbsd.org 2018/07/20 14:35:00 Modified files: usr.sbin/rad : engine.c frontend.c rad.c rad.h Log message: No need to copy rdns_lifetime around with an IMSG, it gets send to the engine end frontend as part of ra_iface_conf. Spotted after explaining to bket@ that a similar pattern is not needed for the mtu option.
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: flor...@cvs.openbsd.org 2018/07/20 14:34:18 Modified files: usr.sbin/rad : parse.y rad.c rad.h Log message: Fix mem leaks on config reload: - always free struct ra_iface_conf with free_ra_iface_conf() - free_ra_iface_conf() needs to free the recently added nameserver and search list
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: flor...@cvs.openbsd.org 2018/07/20 14:33:29 Modified files: usr.sbin/rad : frontend.c Log message: fix mem leak: missing freeifaddrs
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: b...@cvs.openbsd.org2018/07/20 11:55:09 Modified files: usr.sbin/rad : frontend.c parse.y printconf.c rad.c rad.conf.5 rad.h Log message: Introduce MTU option. The MTU option is used in Router Advertisement messages to ensure that all nodes on a link use the same MTU value in those cases where the link MTU is not well known. Feedback (thank you!) and OK from florian@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: flor...@cvs.openbsd.org 2018/07/20 11:48:58 Modified files: usr.sbin/rad : parse.y Log message: We need to track the auto prefix in ra_prefix_conf otherwise we can't configure its options. Trying so lead to a crash. Found the hard way by & OK sthen
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2018/07/20 09:35:33 Modified files: usr.sbin/smtpd : newaliases.8 Log message: Now that aliases in smtpd.conf default to plain text files and not db files we don't want to tell people to run makemap instead of newaliases. OK deraadt@ jmc@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2018/07/20 08:58:20 Modified files: usr.sbin/bgpd : bgpd.h rde.c rde.h util.c Log message: Move the nlri_get_prefix functions to util.c so that bgpctl can use them too.
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2018/07/20 08:49:15 Modified files: usr.sbin/bgpd : rde.c Log message: Rename rde_update_get_prefix and friends to nlri_get_prefix. Will be moved to util.c shortly so that bgpctl can use those functions too.
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2018/07/20 08:14:43 Modified files: usr.sbin/bgpd : rde.c Log message: Rename rde_update_extract_prefix to extract_prefix and make it static. This is just an internal of the the rde_update_get_prefix functions.
CVS: cvs.openbsd.org: www
CVSROOT:/cvs Module name:www Changes by: flor...@cvs.openbsd.org 2018/07/20 07:28:57 Modified files: faq: current.html Log message: mention resolver to nameserver rename
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: flor...@cvs.openbsd.org 2018/07/20 07:17:02 Modified files: usr.sbin/rad : parse.y printconf.c rad.conf.5 Log message: Rename "resolver" to "nameserver" in the configuration file. resolv.conf(5) and dhclient(8) are using the term nameserver for many years, there is no good reason to be different here. Pointed out by deraadt
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2018/07/20 06:49:49 Modified files: usr.sbin/bgpctl: bgpctl.c mrtparser.c mrtparser.h Log message: Print the timestamp embedded in mrt files for update and status messages. Also implemented the extended precision format so microseconds are printed as well when available. The output is relative to the previous message and follows what kdump does. OK benno@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2018/07/20 06:42:45 Modified files: usr.sbin/bgpctl: bgpctl.c Log message: There is no need to have bgpd running when running bgpctl show mrt. The first thing the code actually does is closing the socket. Instead move the code up to where currently the IRR filter code is. Additionally change the late pledges to just stdio since nothing after that needs rpath or wpath. OK benno@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: h...@cvs.openbsd.org2018/07/20 06:05:08 Modified files: regress/lib/libfuse: fuse-mount.c fuse-null-check.c fuse-opt-add-arg.c fuse-opt-add-opt-escaped.c fuse-opt-add-opt.c fuse-opt-insert-arg.c fuse-opt-match.c fuse-opt-parse.c fuse-parse-cmdline.c Log message: Add missing RCS Id.
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: k...@cvs.openbsd.org2018/07/20 05:16:55 Modified files: sbin/pfctl : pfctl.c Log message: Stop checking table commands for `create' Tiny left over from 2003 when it was removed. Twist the logic by checking for `show' and `test' to make it even simpler. OK sashan henning
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: rob...@cvs.openbsd.org 2018/07/20 04:47:37 Modified files: regress/sys/kern/unveil: syscalls.c Log message: add regress test for "bypassunveil" where a path should be unveil'd by specific pledge(2) calls ok beck@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: es...@cvs.openbsd.org 2018/07/20 04:02:03 Modified files: gnu/gcc/gcc: c-pragma.c Log message: inform that diagnostics in functions won't work, but don't error out flatly. this will help sparc64 compile code without needing to patch away recent pragma diagnostic use. problem found by landry@ okay kettenis@, guenther@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: b...@cvs.openbsd.org2018/07/20 01:28:36 Modified files: sys/kern : kern_fork.c kern_unveil.c Log message: Correctly copy across unveil's from parent to child process on fork().