From owner-freebsd-questions@freebsd.org Mon Aug 10 17:28:10 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 336E23A969E for ; Mon, 10 Aug 2020 17:28:10 +0000 (UTC) (envelope-from yasu@utahime.org) Received: from gate.utahime.jp (gate.utahime.jp [183.180.29.210]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4BQNGJ5nfXz4Ynt for ; Mon, 10 Aug 2020 17:28:08 +0000 (UTC) (envelope-from yasu@utahime.org) Received: from eastasia.home.utahime.org (eastasia.home.utahime.org [192.168.174.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by gate.utahime.jp (Postfix) with ESMTPS id 45E3ECCE1 for ; Tue, 11 Aug 2020 02:27:58 +0900 (JST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=utahime.org; s=maybe2019112701; t=1597080478; bh=bcNLk6GeiFUKmG22Zd1ssuVmMeYpMatKaHdt2BUC+Ag=; h=Date:To:Subject:From:In-Reply-To:References; b=LW58SZOP0R5OqVDl9oTi9HTigtrL8UHvlB5xxV9EEx/z+mV1j1BNLuy73m72XpSm9 WzIMt6otuWR3cGY9tcfi/QpMnN0eT5QKK25AB6ZyHsmi2HI7VsYHPQLBlQXh0+8uS+ jNO+lEK9SpJRwb4gicJHwk44cSqOSZ3p/GNAR2ed8V/MfQHlIpsX2UU7Sf6l194WKr Ktt4cPuVC9NZ8r5/9ZDzmc2ZgJUNDhxNyRj1iU7rmNirqgGjmUaPd6w8hDmg5Pc3HX Ci4DKu/Ph40CE9/NdVIscmnlXpY/0pV9AWcX9uKZCWZss/qLvT2dNG/SIVdvIf/VQp rL8HVNWKznBdQ== Received: from localhost (rolling.home.utahime.org [192.168.174.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by eastasia.home.utahime.org (Postfix) with ESMTPSA id B19F94F6CB; Tue, 11 Aug 2020 02:27:56 +0900 (JST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.102.4 at eastasia.home.utahime.org Date: Tue, 11 Aug 2020 02:26:54 +0900 (JST) Message-Id: <20200811.022654.1924978480022516137.yasu@utahime.org> To: freebsd-questions@freebsd.org Subject: Re: GDB no workie? Permission problem? From: Yasuhiro KIMURA In-Reply-To: <62605.1597078863@segfault.tristatelogic.com> References: <62605.1597078863@segfault.tristatelogic.com> X-Mailer: Mew version 6.8 on Emacs 26.3 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4BQNGJ5nfXz4Ynt X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=utahime.org header.s=maybe2019112701 header.b=LW58SZOP; dmarc=none; spf=pass (mx1.freebsd.org: domain of yasu@utahime.org designates 183.180.29.210 as permitted sender) smtp.mailfrom=yasu@utahime.org X-Spamd-Result: default: False [-0.13 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[utahime.org:s=maybe2019112701]; NEURAL_HAM_MEDIUM(-1.01)[-1.013]; FROM_HAS_DN(0.00)[]; MV_CASE(0.50)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.96)[-0.957]; RCVD_COUNT_THREE(0.00)[3]; DMARC_NA(0.00)[utahime.org]; R_SPF_ALLOW(-0.20)[+a:spf-authorized.utahime.org]; DKIM_TRACE(0.00)[utahime.org:+]; NEURAL_HAM_SHORT(-0.16)[-0.163]; MID_CONTAINS_FROM(1.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:2519, ipnet:183.180.0.0/16, country:JP]; RCVD_TLS_ALL(0.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: Mon, 10 Aug 2020 17:28:10 -0000 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. --- Yasuhiro KIMURA