What do we need from POSIX?

8 views
Skip to first unread message

Damjan Jovanovic

unread,
May 20, 2010, 9:24:21 AM5/20/10
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?

Thank you
Damjan
Reply all
Reply to author
Forward
0 new messages