From owner-freebsd-questions@freebsd.org Wed Aug 12 06:37:15 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id F1B963BFACF for ; Wed, 12 Aug 2020 06:37:15 +0000 (UTC) (envelope-from rfg@tristatelogic.com) Received: from outgoing.tristatelogic.com (segfault.tristatelogic.com [69.62.255.118]) by mx1.freebsd.org (Postfix) with ESMTP id 4BRKkL0y4Fz4X2C for ; Wed, 12 Aug 2020 06:37:13 +0000 (UTC) (envelope-from rfg@tristatelogic.com) Received: by segfault.tristatelogic.com (Postfix, from userid 1237) id 54ADD4E746; Tue, 11 Aug 2020 23:37:07 -0700 (PDT) From: "Ronald F. Guilmette" To: Yasuhiro KIMURA cc: freebsd-questions@freebsd.org Subject: Re: GDB no workie? Permission problem? In-Reply-To: <20200811.022654.1924978480022516137.yasu@utahime.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <69680.1597214226.1@segfault.tristatelogic.com> Date: Tue, 11 Aug 2020 23:37:07 -0700 Message-ID: <69681.1597214227@segfault.tristatelogic.com> X-Rspamd-Queue-Id: 4BRKkL0y4Fz4X2C X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of rfg@tristatelogic.com designates 69.62.255.118 as permitted sender) smtp.mailfrom=rfg@tristatelogic.com X-Spamd-Result: default: False [-1.41 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.03)[-1.032]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-0.99)[-0.986]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[tristatelogic.com]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-0.09)[-0.094]; RCPT_COUNT_TWO(0.00)[2]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:14051, ipnet:69.62.128.0/17, country:US]; SUBJECT_ENDS_QUESTION(1.00)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Aug 2020 06:37:16 -0000 In message <20200811.022654.1924978480022516137.yasu@utahime.org>, you wrote: >From: "Ronald F. Guilmette" >Subject: GDB no workie? Permission problem? >Date: Mon, 10 Aug 2020 10:01:03 -0700 > >> I seem to vaguely recall some "security" options being presented >> at system install time, and I do believe one of these had to do >> with ptrace. So I guess that I must have made the Wrong Choice >> with respect to that one. OK. Fine. Now how do I fix that misake >> on my part, short of re-installing the whole bloody system? > >"System Hardening" stage of installation is handled by >/usr/libexec/bsdinstall/hardening and it is shell script. So if you >understand syntax of bourne shell you can undo your system hardening >settings by reading it. Thank you. The code seems to suggets that I just need to edit a file called $BSDINSTALL_TMPBOOT/loader.conf.hardening but I will be damned if I can find any such on my system, anywhere in my root partition. So I'm stumped. To make matters even worse, the output I get from "sysctl -a" doesn't even seem to list -any- sysctl variable called "security.bsd.allow_destructive_dtrace", so I am double stumped. Regards, rfg