@velartrill what kind of message queue? i don't think that is functionality things like activeMQ etc. have
@velartrill i did not know about them! you never stop learning :)
@velartrill i can't think of a reason why _i_ would need the message queues, but that doesn't mean anything :D
buuuut https://github.com/torvalds/linux/blob/master/include/uapi/linux/msg.h
the pid seems to be included! at least from what i see with my limited kernel knowledge :)
@velartrill aah, just read that it's the last pid who used the syscall
@velartrill
> tho come to think of it it might be possible to do something like, the client process creates its own receiver queue, then sends a message to the server with that queue's ID, then the server could use msgctl(IPC_STAT) to get the receiver queue creator pid and uid
from my limited knowledge it sounds like a good solution
> that would be pretty minimally nasty for a system that involves two-way communication, tho doesn't solve the problem for fire-and-forget messages alas
maybe just open seperate queues for them too? shouldn't cost that much and you may just wrap that into a helper function
@velartrill
> yeah, you could do it that way, it's just kind of a hack
so many of the supposedly "good" libraries for these things are just hacks stacked above each other :)