Ok, I was looking at sockets and not tty's and that has the following in
* This is a little restrictive, but it's the only
* way to make sure that you can't send a sigurg to
* another process.
if (current->pgrp != -arg &&
current->pid != arg &&
sk->proc = arg;
So it wouldn't work with socketpairs, but with tty's it should.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to firstname.lastname@example.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/