Re: [RFC] utterly bogus userland API in infinibad

From: David S. Miller
Date: Fri Sep 16 2005 - 19:04:16 EST


From: Roland Dreier <rolandd@xxxxxxxxx>
Date: Fri, 16 Sep 2005 16:54:31 -0700

> I have to confess I'm not familiar with how the kernel implements
> SCM_RIGHTS. Is it something we could use here?

Yes, you could open up an AF_UNIX socket with userspace
and pass the FDs over via SCM_RIGHTS.

Read the unix(7) man page, section ANCILLARY MESSAGES,
sub-section SCM_RIGHTS, to see how userspace can use
this stuff between processes.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/