Powerbox for Gtk 1.15
Sponsored Links
Powerbox for Gtk 1.15 Ranking & Summary
File size:
1.3 MB
Platform:
Any Platform
License:
LGPL (GNU Lesser General Public License)
Price:
Downloads:
1411
Date added:
2005-12-13
Publisher:
Mark Seaborn
Powerbox for Gtk 1.15 description
Powerbox for Gtk is a patch to Gtk which replaces its GtkFileChooserDialog
Powerbox is a normal file chooser dialog box, except that it dynamically grants the application the right to access the file that the user picks.
This helps provide security because the application can be run without needing access to all the users files. Powerbox-for-Gtk patches Gtk to replace GtkFileChooserDialog with a powerbox.
It is based on Plash, which provides a restricted execution environment on Linux.
Enhancements:
- Add gtk-powerbox.c: an LD_PRELOADed patch to Gtk to replace the GtkFileChooserDialog interface so that it calls Plashs powerbox.
- Rename "plash" executable to "pola-shell".
- fs-operations.c: Add log method. Add an "end" log message when the fs_op object is dropped.
- gettextization
- make.sh: Add "-Wl,-z,relro" when linking ld.so. Fixes obscure problem when dlopen()ing libraries that might require an executable stack.
- Intercept getsockname() so that it returns the correct pathname for Unix domain sockets. Extended the g_fds array in libc so that it can contain these pathnames. It is now an array of "struct libc_fd"s, rather than an array of "cap_t"s. libc-fds.h: New file. libc-misc.c: Introduced fds_resize(), fds_slot_clear(). Changed open(), close(), dup2(), etc. libc-connect.c: Add getsockname() and change connect() and bind().
- Reason: I discovered that gconfd2 (or possibly Orbit) was relying on getsockname() returning the pathname that it earlier passed to bind(). This meant that Gnumeric was unable to spawn a gconf process itself, and it produced loads of errors.
- fs-operations.c, libc-misc.c: Fixed fstat() to return the correct information on directory FDs. Added the fsop_dir_fstat method to implement this.
- build-fs-dynamic.c: Implement link() and rename() methods. This is needed for when GNOME and KDE apps hard link files inside $HOME.
- filesysobj-real.c: Changes to allow rename and hard link calls of the form rename("dir/foo1", "dir/foo2") to work.
- The problem: The real_dir_rename and real_dir_link methods only work in the same-directory case; their test was a pointer comparison on real_dir objects. However, resolving a directory pathname like "dir" always returns a new real_dir object. This meant that the rename() call wouldnt work when you use full pathnames.
- This was causing some failures. eg. Konqueror wouldnt start: some code relied on creating "$HOME/.ICEauthority-l" as a hard link to "$HOME/.ICEauthority-c".
- The partial solution: Change the same-directory check to compare inode and device number of directory, after trying a pointer comparison.
Powerbox is a normal file chooser dialog box, except that it dynamically grants the application the right to access the file that the user picks.
This helps provide security because the application can be run without needing access to all the users files. Powerbox-for-Gtk patches Gtk to replace GtkFileChooserDialog with a powerbox.
It is based on Plash, which provides a restricted execution environment on Linux.
Enhancements:
- Add gtk-powerbox.c: an LD_PRELOADed patch to Gtk to replace the GtkFileChooserDialog interface so that it calls Plashs powerbox.
- Rename "plash" executable to "pola-shell".
- fs-operations.c: Add log method. Add an "end" log message when the fs_op object is dropped.
- gettextization
- make.sh: Add "-Wl,-z,relro" when linking ld.so. Fixes obscure problem when dlopen()ing libraries that might require an executable stack.
- Intercept getsockname() so that it returns the correct pathname for Unix domain sockets. Extended the g_fds array in libc so that it can contain these pathnames. It is now an array of "struct libc_fd"s, rather than an array of "cap_t"s. libc-fds.h: New file. libc-misc.c: Introduced fds_resize(), fds_slot_clear(). Changed open(), close(), dup2(), etc. libc-connect.c: Add getsockname() and change connect() and bind().
- Reason: I discovered that gconfd2 (or possibly Orbit) was relying on getsockname() returning the pathname that it earlier passed to bind(). This meant that Gnumeric was unable to spawn a gconf process itself, and it produced loads of errors.
- fs-operations.c, libc-misc.c: Fixed fstat() to return the correct information on directory FDs. Added the fsop_dir_fstat method to implement this.
- build-fs-dynamic.c: Implement link() and rename() methods. This is needed for when GNOME and KDE apps hard link files inside $HOME.
- filesysobj-real.c: Changes to allow rename and hard link calls of the form rename("dir/foo1", "dir/foo2") to work.
- The problem: The real_dir_rename and real_dir_link methods only work in the same-directory case; their test was a pointer comparison on real_dir objects. However, resolving a directory pathname like "dir" always returns a new real_dir object. This meant that the rename() call wouldnt work when you use full pathnames.
- This was causing some failures. eg. Konqueror wouldnt start: some code relied on creating "$HOME/.ICEauthority-l" as a hard link to "$HOME/.ICEauthority-c".
- The partial solution: Change the same-directory check to compare inode and device number of directory, after trying a pointer comparison.
Powerbox for Gtk 1.15 Screenshot
Powerbox for Gtk 1.15 Keywords
GtkFileChooserDialog
Gtk 1.15
HOME
gtk
Powerbox
rename
DIR
patch
link
Powerbox for Gtk
Powerbox for Gtk 1.15
Security
Miscellaneous
Bookmark Powerbox for Gtk 1.15
Powerbox for Gtk 1.15 Copyright
WareSeeker periodically updates pricing and software information of Powerbox for Gtk 1.15 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Powerbox for Gtk 1.15 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
Related Software
Acovea/GTK is a GTK-based graphical front end for the Acovea optimization engine. Free Download
Gtk# is a .Net language bindings for Gtk+ and selected Gnome libraries. Free Download
Obscure-Extractor-GTK can extract data from simple and unusual archives as used by games. Free Download
Libgtkol is GTK C++ Object Layer based on the libgenerics abstract services and the Gtk API. Free Download
Bazaar-GTK is a GTK+ frontend for the Bazaar version control system. Free Download
Samba-Gtk is a GTK+ frontend for Samba 4. Free Download
AxY FTP is a Gtk based FTP client. Free Download
The Exim DSN patch adds delivery status notification support to Exim 4.xx. Free Download
Latest Software
Popular Software
Favourite Software