RFC: KCmdLineArgs::obfuscateOption()
Jarosław Staniek
js at iidea.pl
Mon Oct 4 21:04:28 BST 2004
Adriaan de Groot wrote:
> On Monday 04 October 2004 21:04, Jarosław Staniek wrote:
>> qstrcpy(argv[i+1], (const char*)pwd);
>
> Is this portable in any fashion? ISTR that Solaris, for one, still keeps
> the args around elsewhere for ps(1), so your patch would just give a false
> sense of security.
Of course, it's not probable, and kinit/setproctitle.cpp will help as Waldo
mentioned. From a quick look at newest MySQL server's code, I can say they're
doing the same simple thing as me.
--
regards / pozdrawiam,
Jaroslaw Staniek / OpenOffice Polska
Kexi Project: http://www.kexi-project.org, http://koffice.kde.org/kexi
QT-KDE Wrapper Project: http://iidea.pl/~js/qkw
More information about the kde-core-devel
mailing list