Home
last modified time | relevance | path

Searched refs:operation (Results 1 – 3 of 3) sorted by relevance

/security/tomoyo/
Dfile.c168 [r->param.path.operation], in tomoyo_audit_path_log()
182 [tomoyo_pp2mac[r->param.path2.operation]], in tomoyo_audit_path2_log()
198 [tomoyo_pnnn2mac[r->param.mkdev.operation]], in tomoyo_audit_mkdev_log()
213 const u8 type = r->param.path_number.operation; in tomoyo_audit_path_number_log()
255 if (acl->perm & (1 << r->param.path.operation)) { in tomoyo_check_path_acl()
277 return (acl->perm & (1 << r->param.path_number.operation)) && in tomoyo_check_path_number_acl()
297 return (acl->perm & (1 << r->param.path2.operation)) && in tomoyo_check_path2_acl()
316 return (acl->perm & (1 << r->param.mkdev.operation)) && in tomoyo_check_mkdev_acl()
558 static int tomoyo_path_permission(struct tomoyo_request_info *r, u8 operation, in tomoyo_path_permission() argument
563 r->type = tomoyo_p2mac[operation]; in tomoyo_path_permission()
[all …]
Dnetwork.c26 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()
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()
425 if (!(acl->perm & (1 << r->param.inet_network.operation)) || in tomoyo_check_inet_acl()
[all …]
Dcommon.h435 u8 operation; member
441 u8 operation; member
449 u8 operation; member
458 u8 operation; member
469 u8 operation; member
477 u8 operation; member
971 int tomoyo_mkdev_perm(const u8 operation, struct path *path,
977 int tomoyo_path2_perm(const u8 operation, struct path *path1,
979 int tomoyo_path_number_perm(const u8 operation, struct path *path,
981 int tomoyo_path_perm(const u8 operation, struct path *path,