[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: LD_PRELOAD question
From:       Lubos Lunak <l.lunak () suse ! cz>
Date:       2007-06-14 7:56:28
Message-ID: 200706140956.28996.l.lunak () suse ! cz
[Download RAW message or body]

On Thursday 14 of June 2007, S.Çağlar Onur wrote:
> Hi;
>
> 27 May 2007 Paz tarihinde, S.Çağlar Onur şunları yazmıştı:
> > 26 May 2007 Cts tarihinde, Alex Merry şunları yazmıştı:
> > > On Saturday 26 May 2007, Oswald Buddenhagen wrote:
> > > > i think that's an artifact of kdeinit_initsetproctitle. no bets,
> > > > though.
> > >
> > > Almost certainly.  proctitle_init() copies the environment to some
> > > newly allocated memory, and sets the old pointers (envp[i]) to NULL.
> > > Assuming the kernel uses these pointers (while libc uses its own
> > > environ pointer) to fill /proc, the environment file would end up
> > > empty.
> >
> > Yep, you (both) are completly right, basically i just commented out all
> > kdeinit_initsetproctitle calls from kdeinit and;
>
> Lubos is there any workaround/solution exists for this side effect?
> Currently i can't find any way to achieve this and after some search i
> found Fedora didn't hit that bug cause they are not using kinit
> (KDE_IS_PRELINKED=1), do you have any suggestion other than using
> KDE_IS_PRELINKED?

 Not caring? Also already said, there's no problem with the environment other 
than not showing in /proc.

-- 
Lubos Lunak
KDE developer
--------------------------------------------------------------
SUSE LINUX, s.r.o.   e-mail: l.lunak@suse.cz , l.lunak@kde.org
Lihovarska 1060/12   tel: +420 284 028 972
190 00 Prague 9      fax: +420 284 028 951
Czech Republic       http//www.suse.cz
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic