net: tag net socket objects

Used for permission validation when accessing the associated file
descriptors from user mode.

There often get defined in implementation code, expand the search
to look in drivers/ and subsys/net/.

Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
Andrew Boie 2020-05-29 13:33:12 -07:00 committed by Carles Cufí
commit fed960b94a
6 changed files with 9 additions and 5 deletions

View file

@ -23,7 +23,7 @@
extern "C" {
#endif
struct modem_socket {
__net_socket struct modem_socket {
sa_family_t family;
enum net_sock_type type;
enum net_ip_protocol ip_proto;