You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to autop...@googlegroups.com
Hi
Some of the features we need for autopackage to work well are missing
from the underlying system.
An example that comes to mind is a way for a process or a library to
query its own filesystem path; Windows has GetModuleFileName() but
there's no standard API for this on *nix. BinReloc uses /proc/self/exe
and /proc/self/maps which are Linux-specific and only work if /proc is
mounted. There's also a non-standard API called dladdr() but it only
exists on Solaris and Linux and only works for libraries.
It seems like a good idea to get some of these features included in
the next POSIX standard, so that all Unix systems eventually support
them.
Is there any other things we need from POSIX? Also, is anyone willing
to help me standardize dladdr() or propose a new API?