All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] wireless: Allow wiphy/hwsim management from user namespaces
@ 2016-05-03  6:53 ` Martin Willi
  0 siblings, 0 replies; 16+ messages in thread
From: Martin Willi @ 2016-05-03  6:53 UTC (permalink / raw)
  To: Johannes Berg; +Cc: linux-wireless, netdev

This patch set enables user namespaces having CAP_NET_ADMIN to manage
wiphy devices and create/destroy hwsim radios.

The first patch allows a caller from a non-initial user namespace to run
privileged nl80211 phy/dev operations. The second patch enables hwsim
radio management over Netlink from such namespaces. Together, with these
patches an unprivileged test environment can create user/network
namespaces and set up abitrary simulated wireless networks.

Martin Willi (2):
  nl80211: Allow privileged operations from user namespaces
  mac80211_hwsim: Allow managing radios from non-initial namespaces

 drivers/net/wireless/mac80211_hwsim.c |  88 +++++++++++++++++++-
 net/wireless/nl80211.c                | 150 +++++++++++++++++-----------------
 2 files changed, 160 insertions(+), 78 deletions(-)

--
2.7.4

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2016-05-09 16:33 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-03  6:53 [PATCH 0/2] wireless: Allow wiphy/hwsim management from user namespaces Martin Willi
2016-05-03  6:53 ` Martin Willi
2016-05-03  6:53 ` [PATCH 1/2] nl80211: Allow privileged operations " Martin Willi
2016-05-03  6:53 ` [PATCH 2/2] mac80211_hwsim: Allow managing radios from non-initial namespaces Martin Willi
2016-05-03  6:56   ` Johannes Berg
2016-05-03  7:50     ` Martin Willi
2016-05-03 19:16   ` Johannes Berg
2016-05-03 19:16     ` Johannes Berg
2016-05-04  8:33     ` Martin Willi
2016-05-04  8:33       ` Martin Willi
2016-05-09  7:30       ` Johannes Berg
2016-05-09 16:33         ` Martin Willi
2016-05-09 16:33           ` Martin Willi
2016-05-05 10:16   ` David Laight
2016-05-09  7:31     ` Johannes Berg
2016-05-09  7:31       ` Johannes Berg

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.