From owner-svn-src-stable@freebsd.org Fri Apr 7 08:03:52 2017 Return-Path: Delivered-To: svn-src-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B279CD32779; Fri, 7 Apr 2017 08:03:52 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: from mail-pg0-x242.google.com (mail-pg0-x242.google.com [IPv6:2607:f8b0:400e:c05::242]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7EAC8F90; Fri, 7 Apr 2017 08:03:52 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: by mail-pg0-x242.google.com with SMTP id g2so13821431pge.2; Fri, 07 Apr 2017 01:03:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:mime-version:from:in-reply-to:date:cc:message-id:references :to; bh=yP28LWp72ur7h9nsvpCQeAf6dA0rG+B7xKiNdGLxQfo=; b=TobbnH/XxMM3DDWb+bCnBrRTIAmwH7xxqAuZD7RjQakpqQLHj76YZKzDHbrjD+4HAV 69gJhK1h+qJXmDIIeQhHZG72LpamthuCJ+5E+ZgreWDcwr7ZIsWmbGKsoWQV7d33+Ttq Rs0iGjPnas0pkCxKw9Ti/fZFi1pD2C2/+T/uqN/4I7LNTD+PNFO1QNlUOYoixKAX+Zma YXQ7ab3fNAMAK/er2eisIFmihwH4ign00ZNDwtnG5Ulny/7RN3FHeeVrUsD4YNIcryjm XJYfuIzVXdK41xpMqsU5K7PYcitGUmI3l8UogeWzXm1MSFDQb6uN0eSGFUszt9NPTh0H B9VQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:mime-version:from:in-reply-to:date:cc :message-id:references:to; bh=yP28LWp72ur7h9nsvpCQeAf6dA0rG+B7xKiNdGLxQfo=; b=NSU9LNwN3XqEGaVCGQn5GrUTcOlk+9TITItmD4ndMuqaVztcQ/tfe+KTcwZJYry8Sh WBW0BZWHS35oTeKX3F8IpVJPLUOA5E6QNQug+aSQpDJ6ynEIdWtaQvkUdqq3sQb4ofMZ GXl1zA9/SHcaTblZZJceggflzwIowktvnCtSDbAyRaBAdeg9N3z+NfnTbgc3P0l0hJN+ pGKclcDUjh6Tk+Sv1O+33dFx8j/b8eKYRIY2dcyojiyKtAsbY76bdaWoBhLecCDcVaGl Mxb9o52Uq39NLI+4/6J1AuHOoxS+jmyH5FM8r5JU4j+ob1oFivhv64TYQcsLqa/CyzH7 683A== X-Gm-Message-State: AFeK/H1V0chElB8wVgQHZNbdWeLnFZN2OSw/BtNN5lceved585AcuN+fE5Z06NOE6gsirg== X-Received: by 10.98.80.208 with SMTP id g77mr38497440pfj.249.1491552231903; Fri, 07 Apr 2017 01:03:51 -0700 (PDT) Received: from pinklady.local (c-73-19-52-228.hsd1.wa.comcast.net. [73.19.52.228]) by smtp.gmail.com with ESMTPSA id u29sm7803875pfa.123.2017.04.07.01.03.50 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 07 Apr 2017 01:03:51 -0700 (PDT) Subject: Re: svn commit: r315949 - in stable: 10/sys/kern 10/sys/sys 10/tests/sys/kern 11/sys/kern 11/sys/sys 11/tests/sys/kern Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Content-Type: multipart/signed; boundary="Apple-Mail=_5DB7A95E-5C58-480A-85D4-EDFA19EC69AD"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Pgp-Agent: GPGMail From: "Ngie Cooper (yaneurabeya)" In-Reply-To: <201703251333.v2PDXOmS004369@repo.freebsd.org> Date: Fri, 7 Apr 2017 01:03:49 -0700 Cc: src-committers , svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Message-Id: <41CB382E-997A-4A2D-9E85-2BDE7450BB29@gmail.com> References: <201703251333.v2PDXOmS004369@repo.freebsd.org> To: Eric Badger X-Mailer: Apple Mail (2.3124) X-BeenThere: svn-src-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for all the -stable branches of the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Apr 2017 08:03:52 -0000 --Apple-Mail=_5DB7A95E-5C58-480A-85D4-EDFA19EC69AD Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > On Mar 25, 2017, at 06:33, Eric Badger wrote: >=20 > Author: badger > Date: Sat Mar 25 13:33:23 2017 > New Revision: 315949 > URL: https://svnweb.freebsd.org/changeset/base/315949 >=20 > Log: > MFC r313992, r314075, r314118, r315484: >=20 > r315484: > ptrace_test: eliminate assumption about thread scheduling >=20 > A couple of the ptrace tests make assumptions about which thread = in a > multithreaded process will run after a halt. This makes the tests = less > portable across branches, and susceptible to future breakage. = Instead, > twiddle thread scheduling and priorities to match the tests' > expectation. >=20 > r314118: > Actually fix buildworlds other than i386/amd64/sparc64 after = r313992 >=20 > Disable offending test for platforms without a userspace visible > breakpoint(). >=20 > r314075: > Fix world build for archs where __builtin_debugtrap() does not = work. >=20 > The offending code was introduced in r313992. >=20 > r313992: > Defer ptracestop() signals that cannot be delivered immediately >=20 > When a thread is stopped in ptracestop(), the ptrace(2) user may = request > a signal be delivered upon resumption of the thread. Heretofore, = those signals > were discarded unless ptracestop()'s caller was issignal(). Fix = this by > modifying ptracestop() to queue up signals requested by the = ptrace user that > will be delivered when possible. Take special care when the = signal is SIGKILL > (usually generated from a PT_KILL request); no new stop events = should be > triggered after a PT_KILL. >=20 > Add a number of tests for the new functionality. Several tests = were authored > by jhb. I think this change broke ptrace_test: = https://ci.freebsd.org/job/FreeBSD-stable-11-amd64-test/968/testReport/jun= it/sys.kern/ptrace_test/ptrace__PT_KILL_competing_stop/ . Cheers, -Ngie --Apple-Mail=_5DB7A95E-5C58-480A-85D4-EDFA19EC69AD Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQIcBAEBCgAGBQJY50fmAAoJEPWDqSZpMIYVEP4P/R+Z5hEpYPL7o0yZFoHmtPBL tYC0psv9s/dkTE74aHrwZRqfv0aZRlve4Aq1eNnmQViP5eEDg+YF5gjiRQUyM48o hn9xH2d+eWZyYOzpmw/jEgn2rFxdKhFXD3eUPUtx0AQEdX86AVm7zsjsPqzRJmti WhPXSgXdolRCNV+F3xbhIEBvO6IBx0q9NHTnri7GAQx4JxWnSP7P1Z1SMgBCTccI HT+gvHLal/cILjgY8PgZK23/AgggDj9VRbAeckehRyFA0WvQlF08eJbVOtbdDNTX +rSxZgYFWTx+0e/kiBHKjUBFf7QevdI3cFCvOcwsqsUYH75+gEf6FsFfWQyLDUaz 98gY7H5/rl8Xjkp8TZNNiedw///23ERSJ/7Le/DOzK799LGdpGRPsY7LNd4mBINI eOKJVgS0AjBphhidCbRMSeh6r0F3NG4M4+yGnfNljn8VRMByMYaaqSaXdMq3ByxI 8MYMHfeaAs5elfisktA5yS/Gvk6DzY2H22+1+oKb7pOHdZTR5KJlQ/rBaz4yyRMU KhxSnx7FnFDL5gWpiE+HNv5rSdsfCUmvIZetVBhvWijuJ5ZiU6ZrUa5sVfR3fMlo hZ7ylwMgef1AHzjPVCvdn1XFwk1KPG4O6h3iscij4dPsVdqSAzrEXrk17LulvbFt UUfyQ4afYqSJeFkMcPPz =YSRK -----END PGP SIGNATURE----- --Apple-Mail=_5DB7A95E-5C58-480A-85D4-EDFA19EC69AD--