This is the mail archive of the gdb-prs@sourceware.org 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]

[Bug corefiles/15810] gdb 7.3.1/7.5 unlinks and creates .pyc-files in non-user directories


http://sourceware.org/bugzilla/show_bug.cgi?id=15810

--- Comment #6 from Stefan <kdevel at vogtner dot de> ---
(In reply to Tom Tromey from comment #5)
> >>   setenv ("PYTHONDONTWRITEBYTECODE", "1", 1);
> 
> Why should gdb in particular do this?

In order to switch off the undesired side effect which may even be a security
issue (i.e. symlink attack, have not checked this yet).

> I think most things linked against libpython do not.

I think most of the things linked against libpython are not debuggers run by
root.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


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