• Home
  • Raw
  • Download

Lines Matching refs:e

283 	struct tomoyo_inet_acl e = { .head.type = TOMOYO_TYPE_INET_ACL };  in tomoyo_write_inet_network()  local
289 for (e.protocol = 0; e.protocol < TOMOYO_SOCK_MAX; e.protocol++) in tomoyo_write_inet_network()
290 if (!strcmp(protocol, tomoyo_proto_keyword[e.protocol])) in tomoyo_write_inet_network()
294 e.perm |= 1 << type; in tomoyo_write_inet_network()
295 if (e.protocol == TOMOYO_SOCK_MAX || !e.perm) in tomoyo_write_inet_network()
299 e.address.group = in tomoyo_write_inet_network()
301 if (!e.address.group) in tomoyo_write_inet_network()
304 if (!tomoyo_parse_ipaddr_union(param, &e.address)) in tomoyo_write_inet_network()
307 if (!tomoyo_parse_number_union(param, &e.port) || in tomoyo_write_inet_network()
308 e.port.values[1] > 65535) in tomoyo_write_inet_network()
310 error = tomoyo_update_domain(&e.head, sizeof(e), param, in tomoyo_write_inet_network()
314 tomoyo_put_group(e.address.group); in tomoyo_write_inet_network()
315 tomoyo_put_number_union(&e.port); in tomoyo_write_inet_network()
328 struct tomoyo_unix_acl e = { .head.type = TOMOYO_TYPE_UNIX_ACL }; in tomoyo_write_unix_network() local
334 for (e.protocol = 0; e.protocol < TOMOYO_SOCK_MAX; e.protocol++) in tomoyo_write_unix_network()
335 if (!strcmp(protocol, tomoyo_proto_keyword[e.protocol])) in tomoyo_write_unix_network()
339 e.perm |= 1 << type; in tomoyo_write_unix_network()
340 if (e.protocol == TOMOYO_SOCK_MAX || !e.perm) in tomoyo_write_unix_network()
342 if (!tomoyo_parse_name_union(param, &e.name)) in tomoyo_write_unix_network()
344 error = tomoyo_update_domain(&e.head, sizeof(e), param, in tomoyo_write_unix_network()
347 tomoyo_put_name_union(&e.name); in tomoyo_write_unix_network()