[RFC] Proof-of-concept for netlink listener for mdev -i

Laurent Bercot ska-dietlibc at skarnet.org
Sun Mar 15 16:16:37 UTC 2015


On 15/03/2015 15:52, Natanael Copa wrote:
> I have simplified the long-time living netlink listener more by
> forwarding the netlink socket and letting the handler read
> directly from netlink. This factorize out the pipe and remove the need
> of any micro protocol.

  As I wrote in another message, there is basically no benefit in doing
that, because it forces the handler to be netlink-aware.


> It should also make it easier to use posix_spawn() instead of fork/exec.

  The only difference is a potentially empty posix_spawn_file_actions_t,
which is a minor detail.

-- 
  Laurent



More information about the busybox mailing list