[packagekit] libpackagekit-gnome

Richard Hughes hughsient at gmail.com
Mon Apr 14 05:43:22 PDT 2008


On Sun, 2008-04-13 at 20:25 -0400, David Zeuthen wrote:
> then I can trivially use LD_PRELOAD to inject code
> into /usr/bin/gpk-application

What about the attached patch? It catches the common case and outputs:

[hughsie at hughsie-work client]$ LD_PRELOAD=./session-privs.so ./pkcon --verbose install ./badrpm-0.1.fc9.rpm
Command failed
Error:
  Security check failed. LD_PRELOAD was set to ./session-privs.so

Richard.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: pk-check-ld_.patch
Type: text/x-patch
Size: 2679 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/packagekit/attachments/20080414/23019e81/attachment-0004.bin>


More information about the PackageKit mailing list