From owner-freebsd-arch@freebsd.org Sat Feb 25 01:44:50 2017 Return-Path: Delivered-To: freebsd-arch@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 3C36BCEC074 for ; Sat, 25 Feb 2017 01:44:50 +0000 (UTC) (envelope-from eric@badgerio.us) Received: from sasl.smtp.pobox.com (pb-smtp2.pobox.com [64.147.108.71]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C93DCEF1 for ; Sat, 25 Feb 2017 01:44:49 +0000 (UTC) (envelope-from eric@badgerio.us) Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by pb-smtp2.pobox.com (Postfix) with ESMTP id A66C06C714 for ; Fri, 24 Feb 2017 20:44:27 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:subject :to:message-id:date:mime-version:content-type :content-transfer-encoding; s=sasl; bh=yYXWHoUGikY85M0Dkijnzm7cb yU=; b=rGmwQUYZHDxKTtb3TB6XGc0qabKohiM/Pi6C8sr/leACbJesrmp59a4Pg 0i8SGLGJJ3NnJLp3uGaATnkQNzyySrx1XBxHOX4QWbJaLAMsXKgcxthMP6TKRDy/ MtLAEF28oA3XsSa9pyUC+Jzhgw39pVQ1nw4TxLecOTkh3+KcrY= Received: from pb-smtp2.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp2.pobox.com (Postfix) with ESMTP id 9D0546C713 for ; Fri, 24 Feb 2017 20:44:27 -0500 (EST) Received: from [192.168.1.103] (unknown [24.7.205.93]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pb-smtp2.pobox.com (Postfix) with ESMTPSA id A1DCF6C712 for ; Fri, 24 Feb 2017 20:44:26 -0500 (EST) From: Eric Badger Subject: procfs ctl interface To: freebsd-arch@freebsd.org Message-ID: <451312a7-9ae9-c5a1-4153-2268039c5942@badgerio.us> Date: Fri, 24 Feb 2017 19:43:32 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Pobox-Relay-ID: F0EE3386-FAFB-11E6-923F-A7617B1B28F4-46178211!pb-smtp2.pobox.com DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=badgerio.us; h=from:subject:to:message-id:date:mime-version:content-type:content-transfer-encoding; s=2016-12.pbsmtp; bh=yYXWHoUGikY85M0Dkijnzm7cbyU=; b=itRoOqsWXlLB6SrFmRpTOp9rAO9Uv8f0NKJGFHdjq/gpt5dTRNEBaK+UjNCqh5oYmteU1OePeS5niU2scZrVvbsufOc5CPStCrYqHAxt/DPiKapNAFU04dhIi/2ggvb8WeAT0SWCEySK8bhY9hGteCC3Zcqya6TM8I3dbCzvPJ8= X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Feb 2017 01:44:50 -0000 I started working on a change that will perturb procfs' ctl interface to some degree. In looking closer at procfs, it seems like it has been pretty well broken for use as a debugging interface since at least 9.3 (the oldest system I have handy). Is there any reason to maintain this interface at all? If anything, it should perhaps be made into an alternate front end for ptrace() rather than being entirely separate, but I'm not sure I see the value in that. Thanks for any thoughts/opinions. Eric