Nicolas Pitre
d19a5f9119
net: socket: mgmt: use uintptr_t for the nm_pid field
...
This may contain a pointer so make sure it is sufficiently wide
on 64-bit targets.
Signed-off-by: Nicolas Pitre <npitre@baylibre.com>
2019-07-05 10:06:23 -04:00
Jukka Rissanen
3b3844a921
tests: net: socket: mgmt: Add tests for get|setsockopt()
...
Test AF_NET_MGMT API getsockopt() and setsockopt() functions that
they work properly when called from kernel or from userspace.
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2019-07-01 13:50:08 -07:00
Jukka Rissanen
40ec4bc15c
tests: net: socket: mgmt: Add unit tests for net_mgmt sockets
...
Almost the same as the net_mgmt socket sample but can be run by
sanitychecker.
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2019-07-01 13:50:08 -07:00