From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26840 invoked by alias); 11 Aug 2009 07:43:23 -0000 Received: (qmail 26832 invoked by uid 22791); 11 Aug 2009 07:43:22 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from mel.act-europe.fr (HELO mel.act-europe.fr) (212.99.106.210) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 11 Aug 2009 07:43:16 +0000 Received: from localhost (localhost [127.0.0.1]) by filtered-smtp.eu.adacore.com (Postfix) with ESMTP id F1A0E2900E2; Tue, 11 Aug 2009 09:43:13 +0200 (CEST) Received: from mel.act-europe.fr ([127.0.0.1]) by localhost (smtp.eu.adacore.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2lYMUteot03i; Tue, 11 Aug 2009 09:43:13 +0200 (CEST) Received: from ulanbator.act-europe.fr (ulanbator.act-europe.fr [10.10.1.67]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mel.act-europe.fr (Postfix) with ESMTP id 4C1AA2900A3; Tue, 11 Aug 2009 09:43:13 +0200 (CEST) Cc: gdb@sourceware.org Message-Id: <1B11BAAF-0D69-48EC-B1D0-FE343B822E1A@adacore.com> From: Tristan Gingold To: Paul Pluzhnikov In-Reply-To: <8ac60eac0908110013s220f0185gdf18d4b448709d41@mail.gmail.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Subject: Re: status of Darwin support Date: Tue, 11 Aug 2009 07:43:00 -0000 References: <4A5F8D9E.1060307@Sun.COM> <200908041804.30240.thiago.bauermann@gmail.com> <20090805044504.GJ4370@adacore.com> <4A7ABAF0.7010004@Sun.COM> <4A7FFAB3.7080903@Sun.COM> <8ac60eac0908101320k6cc20e9age92656cba254a5d4@mail.gmail.com> <8ac60eac0908102206l49972a96pfc306be0cf15d34b@mail.gmail.com> <8505B86C-9270-46E3-B5E2-5FAFD43A6C98@adacore.com> <8ac60eac0908110013s220f0185gdf18d4b448709d41@mail.gmail.com> X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2009-08/txt/msg00063.txt.bz2 On Aug 11, 2009, at 9:13 AM, Paul Pluzhnikov wrote: > On Mon, Aug 10, 2009 at 11:59 PM, Tristan > Gingold wrote: > >>> This even if I make GDB suid-root (I also tried setgid procmod): >>> ls -l ../gdb >>> -rwsr-sr-x 1 root wheel 4075816 Aug 10 20:21 ../gdb >> >> IIRC root/wheel doesn't work. You need setgid procmod only. > > As I said, I did try that; no dice: > > ls -l ../gdb > -rwxr-sr-x 1 ppluzhnikov procmod 4075816 Aug 10 20:21 ../gdb > > ../gdb -ex run ../a.out > ... > Unable to find Mach task port for process-id 98439: (os/kern) > failure (0x5). > (please check gdb is setgid procmod) I have currently no idea about how to explain this failure ;-) Thanks! Tristan.