[systemd-devel] .socket in a network namespace

Peeters Simon peeters.simon at gmail.com
Thu Jan 23 14:40:44 PST 2014


2014/1/23 David Timothy Strauss <david at davidstrauss.net>:
> Has anyone looked at using socketat() for this? It's unclear whether
> that syscall actually exists in any supported form; it's certainly not
> documented.
>
> [1] http://lwn.net/Articles/407495/

grep -ir socketat linux-3.12 doesn't return anything, so unfortunatly
this syscall does not exist.

The comments on the lwn article state that this is because it can
easily be done in userspace.
But unfortunatly the userspace aproach includes switchin namespaces
for the whole pid 1, which I think would not be nice.

Simon


More information about the systemd-devel mailing list