I'm not sure if you can. It would be a pain to implement it, I guess.
Have you considered running a setuid daemon, provide services via IPC.
You could probably also build a lightweight RPC (say, using shared
memory) to make the interface cleaner.
Maybe add this to the `libc' wish-list:
- Provide an unified RPC interface, and an implementation which detects
if the server is on the same machine, and uses a LW local RPC.
This may need a little bit of kernel support (or would it?)
- Hari
-- Raja R Harinath ------------------------------ harinath@cs.umn.edu "When all else fails, read the instructions." -- Cahn's Axiom "Our policy is, when in doubt, do the right thing." -- Roy L Ash