From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23602 invoked by alias); 22 Apr 2012 20:17:47 -0000 Received: (qmail 23550 invoked by uid 22791); 22 Apr 2012 20:17:46 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Received: from mtaout21.012.net.il (HELO mtaout21.012.net.il) (80.179.55.169) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 22 Apr 2012 20:17:33 +0000 Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0M2W00H00CVUS200@a-mtaout21.012.net.il> for gdb-patches@sourceware.org; Sun, 22 Apr 2012 23:16:23 +0300 (IDT) Received: from HOME-C4E4A596F7 ([84.229.249.186]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M2W00HK9DNANVB0@a-mtaout21.012.net.il>; Sun, 22 Apr 2012 23:16:23 +0300 (IDT) Date: Sun, 22 Apr 2012 21:26:00 -0000 From: Eli Zaretskii Subject: Re: [patch] auto-load safe-path reset back by set "" In-reply-to: <20120422165128.GA21820@host2.jankratochvil.net> To: Jan Kratochvil Cc: gdb-patches@sourceware.org, dje@google.com Reply-to: Eli Zaretskii Message-id: <831unfh68v.fsf@gnu.org> References: <20120422165128.GA21820@host2.jankratochvil.net> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2012-04/txt/msg00724.txt.bz2 > Date: Sun, 22 Apr 2012 18:51:28 +0200 > From: Jan Kratochvil > Cc: Doug Evans > > +@item set auto-load safe-path [@var{directories}] You need @r{} around [ and ]. > +Setting this variable to @code{"/"} (without the quotes) disables this security ^^^^^^^^^^ Why not @file{/}? The quotes are not needed in any case. > +@item @kbd{gdb -iex "set auto-load safe-path /" [@dots{}]} I'd lose the [ and ] part -- you don't need them. OK with those changes. Thanks.