This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFC: Check permissions of .gdbinit files


On Thu, Jun 02, 2005 at 06:51:40AM +0300, Eli Zaretskii wrote:
>> Date: Tue, 31 May 2005 18:22:33 -0400
>> From: Christopher Faylor <me@cgf.cx>
>> 
>> >>>In any case, the other issue still remains: if they do have getuid and
>> >>>S_IWOTH, non-readonly files will be reported world-writable.  So I'd
>> >>>suggest to either disable this feature entirely on Windows platforms,
>> >>>or write a Windows specific code that uses the Win32 API to get file
>> >>>ownership (GetSecurityInfo or some such).
>> >>
>> >>Did anyone read Ulrich Drepper's recent rant about this kind of thing?
>> >>:-)
>> >
>> >I don't think I've read it.  I'd appreciate a URL.
>> 
>> http://www.livejournal.com/users/udrepper/7326.html
>
>Thanks.
>
>This isn't new to me: I remember sparring with Ulrich about these
>issues as far as 7 years ago (which didn't prevent us from drinking
>beer together when we met ;-).

Oh, yes.  I've had a similar (probably more abbreviated) discussion
with him as well.

In an odd sort of way, I sort of agree with him.

cgf


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]