svn commit: r315412 - in head: sys/kern tests/sys/kern

2017-03-16 Thread Eric Badger
Author: badger Date: Thu Mar 16 13:03:31 2017 New Revision: 315412 URL: https://svnweb.freebsd.org/changeset/base/315412 Log: Don't clear p_ptevents on normal SIGKILL delivery The ptrace() user has the option of discarding the signal. In such a case, p_ptevents should not be modified. If

svn commit: r315484 - head/tests/sys/kern

2017-03-18 Thread Eric Badger
Author: badger Date: Sat Mar 18 15:25:51 2017 New Revision: 315484 URL: https://svnweb.freebsd.org/changeset/base/315484 Log: ptrace_test: eliminate assumption about thread scheduling A couple of the ptrace tests make assumptions about which thread in a multithreaded process will run afte

svn commit: r305956 - head/lib/libc/sys

2016-09-18 Thread Eric Badger
added) +++ head/lib/libc/sys/rctl_add_rule.2 Mon Sep 19 02:25:30 2016 (r305956) @@ -0,0 +1,220 @@ +.\" Copyright (c) 2016 Eric Badger +.\" All rights reserved. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are pe

svn commit: r313733 - head/sys/kern

2017-02-14 Thread Eric Badger
Author: badger Date: Tue Feb 14 17:13:23 2017 New Revision: 313733 URL: https://svnweb.freebsd.org/changeset/base/313733 Log: sleepq_catch_signals: do thread suspension before signal check Since locks are dropped when a thread suspends, it's possible for another thread to deliver a signal

svn commit: r313992 - in head: sys/kern sys/sys tests/sys/kern

2017-02-20 Thread Eric Badger
Author: badger Date: Mon Feb 20 15:53:16 2017 New Revision: 313992 URL: https://svnweb.freebsd.org/changeset/base/313992 Log: Defer ptracestop() signals that cannot be delivered immediately When a thread is stopped in ptracestop(), the ptrace(2) user may request a signal be delivered upon

Re: svn commit: r314036 - head/usr.sbin/bsdinstall/scripts

2017-02-21 Thread Eric Badger
On 02/21/2017 03:37 AM, Bartek Rutkowski wrote: Author: robak (ports committer) Date: Tue Feb 21 09:37:33 2017 New Revision: 314036 URL: https://svnweb.freebsd.org/changeset/base/314036 Log: Enable bsdinstall hardening options by default. As discussed previously, in order to introduce new O

svn commit: r314075 - head/tests/sys/kern

2017-02-21 Thread Eric Badger
Author: badger Date: Wed Feb 22 04:35:07 2017 New Revision: 314075 URL: https://svnweb.freebsd.org/changeset/base/314075 Log: Fix world build for archs where __builtin_debugtrap() does not work. The offending code was introduced in r313992. Reported by: rpokala Approved by: kib (me

Re: svn commit: r313992 - in head: sys/kern sys/sys tests/sys/kern

2017-02-21 Thread Eric Badger
On 02/21/2017 05:45 PM, Ravi Pokala wrote: Hi Eric, This appears to break buildworld for a bunch of platforms -- possibly all the ones that use gcc rather than clang? A representative example from sparc64: /usr/home/rpokala/freebsd/clean/base/head/tests/sys/kern/ptrace_test.c: In functio

svn commit: r314118 - head/tests/sys/kern

2017-02-22 Thread Eric Badger
Author: badger Date: Thu Feb 23 04:26:17 2017 New Revision: 314118 URL: https://svnweb.freebsd.org/changeset/base/314118 Log: Actually fix buildworlds other than i386/amd64/sparc64 after r313992 Disable offending test for platforms without a userspace visible breakpoint(). Reported b

Re: svn commit: r314075 - head/tests/sys/kern

2017-02-22 Thread Eric Badger
On 02/22/2017 10:05 PM, Ian Lepore wrote: On Wed, 2017-02-22 at 04:35 +, Eric Badger wrote: Author: badger Date: Wed Feb 22 04:35:07 2017 New Revision: 314075 URL: https://svnweb.freebsd.org/changeset/base/314075 Log: Fix world build for archs where __builtin_debugtrap() does not work

svn commit: r314690 - in head: share/man/man5 sys/conf sys/fs/procfs sys/modules/procfs

2017-03-04 Thread Eric Badger
Author: badger Date: Sun Mar 5 03:05:24 2017 New Revision: 314690 URL: https://svnweb.freebsd.org/changeset/base/314690 Log: remove procfs ctl interface This interface has no in-tree consumers and has been more or less non-functional for several releases. Remove manpage note that th

svn commit: r314852 - in head: sys/kern tests/sys/kern

2017-03-07 Thread Eric Badger
Author: badger Date: Tue Mar 7 13:41:01 2017 New Revision: 314852 URL: https://svnweb.freebsd.org/changeset/base/314852 Log: don't stop in issignal() if P_SINGLE_EXIT is set Suppose a traced process is stopped in ptracestop() due to receipt of a SIGSTOP signal, and is awaiting orders fro

svn commit: r302361 - head/share/misc

2016-07-05 Thread Eric Badger
ndrew Rybchenko\narybc asomers [label="Alan Somers\nasom...@freebsd.org\n2013/04/24"] avg [label="Andriy Gapon\n...@freebsd.org\n2009/02/18"] avos [label="Andriy Voskoboinyk\na...@freebsd.org\n2015/09/24"] +badger [label="Eric Badger\nbad...@freebsd.org\n2016/07/

svn commit: r302783 - in head/sys: amd64/amd64 i386/i386 kern sys x86/x86

2016-07-13 Thread Eric Badger
Author: badger Date: Wed Jul 13 19:19:18 2016 New Revision: 302783 URL: https://svnweb.freebsd.org/changeset/base/302783 Log: Add explicit detection of KVM hypervisor Set vm_guest to a new enum value (VM_GUEST_KVM) when kvm is detected and use vm_guest in conditionals testing for KVM.

svn commit: r304184 - head/sys/kern

2016-08-15 Thread Eric Badger
Author: badger Date: Mon Aug 15 20:09:09 2016 New Revision: 304184 URL: https://svnweb.freebsd.org/changeset/base/304184 Log: sem_post(): wake up the sleeper only after adjusting has_waiters If the caller of sem_post() wakes up a thread sleeping via sem_wait() before it clears the has_wai

svn commit: r304652 - head/sbin/resolvconf

2016-08-22 Thread Eric Badger
Author: badger Date: Tue Aug 23 02:06:20 2016 New Revision: 304652 URL: https://svnweb.freebsd.org/changeset/base/304652 Log: Fix missing substitution of @SBINDIR@ in resolvconf scripts Certain features, such as resolv_conf_passthrough=NULL, do not work correctly due to this missing subst