Files
kernel_arpi/include/uapi/linux
Andrey Vagin c62cce2cae net: add an ioctl to get a socket network namespace
Each socket operates in a network namespace where it has been created,
so if we want to dump and restore a socket, we have to know its network
namespace.

We have a socket_diag to get information about sockets, it doesn't
report sockets which are not bound or connected.

This patch introduces a new socket ioctl, which is called SIOCGSKNS
and used to get a file descriptor for a socket network namespace.

A task must have CAP_NET_ADMIN in a target network namespace to
use this ioctl.

Cc: "David S. Miller" <davem@davemloft.net>
Cc: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Andrei Vagin <avagin@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-10-31 10:56:36 -04:00
..
2016-10-03 18:52:14 +02:00
2016-10-14 16:05:42 -04:00
2016-01-20 17:09:18 -08:00
2016-06-08 11:36:02 -07:00
2016-10-01 07:32:32 +02:00
2015-12-14 12:19:37 -06:00
2016-03-22 15:36:02 -07:00
2016-06-27 16:31:25 +01:00
2016-04-12 19:54:58 +01:00
2016-04-25 15:09:10 -04:00
2016-01-12 08:21:18 -07:00
2015-11-23 15:06:38 -05:00
2016-05-17 17:14:21 -06:00
2016-10-14 15:00:10 -04:00
2016-09-27 21:52:00 -04:00
2016-09-27 21:52:00 -04:00
2015-09-04 16:54:41 -07:00
2016-05-08 23:46:14 -04:00
2016-04-26 12:00:48 -04:00
2016-04-04 22:11:20 -04:00
2016-09-21 00:23:00 -04:00
2015-12-18 17:48:51 -08:00
2015-10-27 18:55:31 -07:00
2016-05-20 17:58:30 -07:00
2016-08-02 16:53:54 +03:00
2016-04-30 09:26:55 -07:00