projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: Remove 'type' argument from access_ok() function (v5.0)
[lttng-modules.git]
/
lttng-filter.c
diff --git
a/lttng-filter.c
b/lttng-filter.c
index e96fcd30b2c03d505480824ed510331f04f3373d..36c6db908227326599d158f9c48284edd07ae60c 100644
(file)
--- a/
lttng-filter.c
+++ b/
lttng-filter.c
@@
-183,6
+183,10
@@
int apply_field_reloc(struct lttng_event *event,
case atype_string:
field_offset += sizeof(void *);
break;
case atype_string:
field_offset += sizeof(void *);
break;
+ case atype_struct: /* Unsupported. */
+ case atype_array_compound: /* Unsupported. */
+ case atype_sequence_compound: /* Unsupported. */
+ case atype_variant: /* Unsupported. */
default:
return -EINVAL;
}
default:
return -EINVAL;
}
@@
-215,6
+219,10
@@
int apply_field_reloc(struct lttng_event *event,
else
op->op = FILTER_OP_LOAD_FIELD_REF_STRING;
break;
else
op->op = FILTER_OP_LOAD_FIELD_REF_STRING;
break;
+ case atype_struct: /* Unsupported. */
+ case atype_array_compound: /* Unsupported. */
+ case atype_sequence_compound: /* Unsupported. */
+ case atype_variant: /* Unsupported. */
default:
return -EINVAL;
}
default:
return -EINVAL;
}
@@
-262,6
+270,10
@@
int apply_context_reloc(struct lttng_event *event,
BUG_ON(ctx_field->event_field.user);
op->op = FILTER_OP_GET_CONTEXT_REF_STRING;
break;
BUG_ON(ctx_field->event_field.user);
op->op = FILTER_OP_GET_CONTEXT_REF_STRING;
break;
+ case atype_struct: /* Unsupported. */
+ case atype_array_compound: /* Unsupported. */
+ case atype_sequence_compound: /* Unsupported. */
+ case atype_variant: /* Unsupported. */
default:
return -EINVAL;
}
default:
return -EINVAL;
}
This page took
0.024425 seconds
and
4
git commands to generate.