From: Christopher Faylor <cgf@redhat.com>
To: gdb-patches@sources.redhat.com
Subject: Re: [RFA] fix gdb/901 - attach to process running as service on Windows
Date: Thu, 26 Dec 2002 11:14:00 -0000 [thread overview]
Message-ID: <20021226181232.GC9340@redhat.com> (raw)
In-Reply-To: <20021226123817.GR1137@gnat.com>
On Thu, Dec 26, 2002 at 04:38:17PM +0400, Joel Brobecker wrote:
>The following patch fixes gdb/901. I am submitting it on behalf of
>Pascal Obry, who found the fix. No new regression on Windows XP.
>
>2002-12-26 J. Brobecker <brobecker@gnat.com>
>
> From Pascal Obry <obry@act-europe.fr>
> * win32-nat.c (SetPrivilege): New routine.
> (Child_Attach): call SetPrivilege to correctly set child
> privileges to be able to debug applications running as services.
>
>Ok to commit?
The theory is ok. I'd already looked at the patch submitted with the
bug report but I question the legality of including source code directly
from Microsoft into gdb.
I asked our NT security expert (Corinna Vinschen) to take a look at
this. We're looking at donating some code from cygwin to accomplish the
same thing. Expect a patch when the holiday season is over.
So, to answer the question, "No, it's not ok to commit" but we should have
a fix for the problem relatively soon.
cgf
next prev parent reply other threads:[~2002-12-26 18:12 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-12-26 4:53 Joel Brobecker
2002-12-26 11:14 ` Christopher Faylor [this message]
2003-01-10 20:23 ` Corinna Vinschen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20021226181232.GC9340@redhat.com \
--to=cgf@redhat.com \
--cc=gdb-patches@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox