Frankly, I was trying to see whether an external process reading
on somebody else's /proc/n/note would make any sense. One thing
that I wanted to implement was a "note thief" process that would
constantly read on a target's /proc/n/note and handle the notes
externally using a different kind of IPC to communicate with
the target.
Why?
If you want the target process to receive a different kind of IPC,
then why don't you send your different kind of IPC directly to the
process?
Would this be completely impossible
to implement using /proc/n/note ?
I think so, simply because you can't "constantly read":
you need to read, process, read, ...
and while you're processing, the target process can get hit with a note.