I have an implementation of BSD ipc which can send/receive
messages based on:
1) destination number (unix domain socket of form /tmp/foo/####)
2) data (void *)
3) length of data (int)
4) int fd (if >= 0)
Using sendmsg, its possible to atomically pack the data with the
fd to send to the other side...
What's the best way to recast this into sysV ipc...
I need to atomically pass an fd with data between unrelated
processes....
Is there a package that does this?
--
marty
Member of the League for Programming Freedom (see http://www.lpf.org/)
Committees do not design! They are never held responsible, nor are
they rewarded or punished. Committees can review.
C. Gordon Bell