Build fix: arm64: incomplete landlock_rule_type type
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 13 Dec 2022 17:32:30 +0000 (12:32 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 13 Dec 2022 21:43:11 +0000 (16:43 -0500)
commita2819bd60badc2bcd61b325a9b144429fc956ba7
tree1970b18289d59fb03cb44e40bad9f4736abe2d27
parentd1fea60895526d461646b2918eb53bed2f40b6eb
Build fix: arm64: incomplete landlock_rule_type type

While building the arm32 compatibility syscall instrumentation for
arm64, the build fails because types related to `landlock` are unknown.

Fixes:

/root/lttng-modules/src/../include/instrumentation/syscalls/headers/arm-32-syscalls_pointers.h:1428:138: error: conversion to incomplete type
 1428 |  TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(const int, ruleset_fd, ruleset_fd)) sc_inout(ctf_integer(const enum landlock_rule_type, rule
_type, rule_type)) sc_inout(ctf_integer(const void *const, rule_attr, rule_attr)) sc_inout(ctf_integer(const __u32, flags, flags)))

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: Id898958b33ec241be792a731560f227917e35010
src/lttng-syscalls.h
This page took 0.026037 seconds and 4 git commands to generate.