Search Linux Wireless

Re: [PATCH v4 2/3] nl80211: Limit certain commands to interface owner

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Johannes,

On 7/22/19 6:33 AM, Denis Kenzior wrote:
If the wdev object has been created (via NEW_INTERFACE) with
SOCKET_OWNER attribute set, then limit certain commands only to the
process that created that wdev.

This can be used to make sure no other process on the system interferes
by sending unwanted scans, action frames or any other funny business.

This patch introduces a new internal flag, and checks that flag in the
pre_doit hook.

Signed-off-by: Denis Kenzior <denkenz@xxxxxxxxx>
---
  net/wireless/nl80211.c | 78 ++++++++++++++++++++++++++++++++----------
  1 file changed, 60 insertions(+), 18 deletions(-)

Changes in v4:
   -  Minor restructuring suggested by Arend

Changes in v3:
   -  Fix minor locking mistake reported by kernel test robot

Changes in v2:
   -  None

I noticed that the other patches in this series got applied. Was this one left out on purpose?

Regards,
-Denis




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux