Searched refs:net_port_attr (Results 1 – 2 of 2) sorted by relevance
90 struct landlock_net_port_attr net_port_attr; in build_check_abi() local109 net_port_size = sizeof(net_port_attr.allowed_access); in build_check_abi()110 net_port_size += sizeof(net_port_attr.port); in build_check_abi()111 BUILD_BUG_ON(sizeof(net_port_attr) != net_port_size); in build_check_abi()112 BUILD_BUG_ON(sizeof(net_port_attr) != 16); in build_check_abi()351 struct landlock_net_port_attr net_port_attr; in add_rule_net_port() local356 res = copy_from_user(&net_port_attr, rule_attr, sizeof(net_port_attr)); in add_rule_net_port()364 if (!net_port_attr.allowed_access) in add_rule_net_port()369 if ((net_port_attr.allowed_access | mask) != mask) in add_rule_net_port()373 if (net_port_attr.port > U16_MAX) in add_rule_net_port()[all …]
52 struct landlock_net_port_attr net_port_attr = { in landlock() local61 &net_port_attr, flags); in landlock()