Lines Matching full:operation
26 u8 operation; member
287 const char *operation = tomoyo_read_token(param); in tomoyo_write_inet_network() local
293 if (tomoyo_permstr(operation, tomoyo_socket_keyword[type])) in tomoyo_write_inet_network()
332 const char *operation = tomoyo_read_token(param); in tomoyo_write_unix_network() local
338 if (tomoyo_permstr(operation, tomoyo_socket_keyword[type])) in tomoyo_write_unix_network()
357 * @operation: Name of socket operation.
364 const u8 operation, const char *address) in tomoyo_audit_net_log() argument
368 tomoyo_socket_keyword[operation], address); in tomoyo_audit_net_log()
393 r->param.inet_network.operation, buf); in tomoyo_audit_inet_log()
406 r->param.unix_network.operation, in tomoyo_audit_unix_log()
411 * tomoyo_check_inet_acl - Check permission for inet domain socket operation.
425 if (!(acl->perm & (1 << r->param.inet_network.operation)) || in tomoyo_check_inet_acl()
441 * tomoyo_check_unix_acl - Check permission for unix domain socket operation.
454 return (acl->perm & (1 << r->param.unix_network.operation)) && in tomoyo_check_unix_acl()
460 * tomoyo_inet_entry - Check permission for INET network operation.
471 const u8 type = tomoyo_inet2mac[address->protocol][address->operation]; in tomoyo_inet_entry()
477 r.param.inet_network.operation = address->operation; in tomoyo_inet_entry()
491 * tomoyo_check_inet_address - Check permission for inet domain socket's operation.
535 * tomoyo_unix_entry - Check permission for UNIX network operation.
546 const u8 type = tomoyo_unix2mac[address->protocol][address->operation]; in tomoyo_unix_entry()
567 r.param.unix_network.operation = address->operation; in tomoyo_unix_entry()
582 * tomoyo_check_unix_address - Check permission for unix domain socket's operation.
663 address.operation = TOMOYO_NETWORK_LISTEN; in tomoyo_socket_listen_permission()
693 address.operation = TOMOYO_NETWORK_SEND; in tomoyo_socket_connect_permission()
697 address.operation = TOMOYO_NETWORK_CONNECT; in tomoyo_socket_connect_permission()
732 address.operation = TOMOYO_NETWORK_BIND; in tomoyo_socket_bind_permission()
763 address.operation = TOMOYO_NETWORK_SEND; in tomoyo_socket_sendmsg_permission()