Lines Matching refs:operation
169 [r->param.path.operation], in tomoyo_audit_path_log()
183 [tomoyo_pp2mac[r->param.path2.operation]], in tomoyo_audit_path2_log()
199 [tomoyo_pnnn2mac[r->param.mkdev.operation]], in tomoyo_audit_mkdev_log()
214 const u8 type = r->param.path_number.operation; in tomoyo_audit_path_number_log()
258 if (acl->perm & (1 << r->param.path.operation)) { in tomoyo_check_path_acl()
281 return (acl->perm & (1 << r->param.path_number.operation)) && in tomoyo_check_path_number_acl()
302 return (acl->perm & (1 << r->param.path2.operation)) && in tomoyo_check_path2_acl()
322 return (acl->perm & (1 << r->param.mkdev.operation)) && in tomoyo_check_mkdev_acl()
573 static int tomoyo_path_permission(struct tomoyo_request_info *r, u8 operation, in tomoyo_path_permission() argument
578 r->type = tomoyo_p2mac[operation]; in tomoyo_path_permission()
584 r->param.path.operation = operation; in tomoyo_path_permission()
614 r->param.path.operation = TOMOYO_TYPE_EXECUTE; in tomoyo_execute_permission()
729 r.param.path_number.operation = type; in tomoyo_path_number_perm()
803 int tomoyo_path_perm(const u8 operation, const struct path *path, const char *target) in tomoyo_path_perm() argument
815 if (tomoyo_init_request_info(&r, NULL, tomoyo_p2mac[operation]) in tomoyo_path_perm()
825 switch (operation) { in tomoyo_path_perm()
838 error = tomoyo_path_permission(&r, operation, &buf); in tomoyo_path_perm()
839 if (operation == TOMOYO_TYPE_SYMLINK) in tomoyo_path_perm()
859 int tomoyo_mkdev_perm(const u8 operation, const struct path *path, in tomoyo_mkdev_perm() argument
870 if (tomoyo_init_request_info(&r, NULL, tomoyo_pnnn2mac[operation]) in tomoyo_mkdev_perm()
880 r.param.mkdev.operation = operation; in tomoyo_mkdev_perm()
903 int tomoyo_path2_perm(const u8 operation, const struct path *path1, in tomoyo_path2_perm() argument
916 if (tomoyo_init_request_info(&r, NULL, tomoyo_pp2mac[operation]) in tomoyo_path2_perm()
925 switch (operation) { in tomoyo_path2_perm()
938 r.param.path2.operation = operation; in tomoyo_path2_perm()
1016 const char *operation = tomoyo_read_token(param); in tomoyo_write_file() local
1019 if (tomoyo_permstr(operation, tomoyo_path_keyword[type])) in tomoyo_write_file()
1024 if (tomoyo_permstr(operation, in tomoyo_write_file()
1030 if (tomoyo_permstr(operation, in tomoyo_write_file()
1036 if (tomoyo_permstr(operation, in tomoyo_write_file()
1041 if (tomoyo_permstr(operation, in tomoyo_write_file()