summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/sentry/kernel')
-rw-r--r--pkg/sentry/kernel/BUILD4
-rw-r--r--pkg/sentry/kernel/futex/BUILD1
-rw-r--r--pkg/sentry/kernel/semaphore/BUILD1
3 files changed, 6 insertions, 0 deletions
diff --git a/pkg/sentry/kernel/BUILD b/pkg/sentry/kernel/BUILD
index 0bc735550..7eb2bffeb 100644
--- a/pkg/sentry/kernel/BUILD
+++ b/pkg/sentry/kernel/BUILD
@@ -10,6 +10,7 @@ go_template_instance(
prefix = "pendingSignal",
template = "//pkg/ilist:generic_list",
types = {
+ "Element": "*pendingSignal",
"Linker": "*pendingSignal",
},
)
@@ -21,6 +22,7 @@ go_template_instance(
prefix = "processGroup",
template = "//pkg/ilist:generic_list",
types = {
+ "Element": "*ProcessGroup",
"Linker": "*ProcessGroup",
},
)
@@ -43,6 +45,7 @@ go_template_instance(
prefix = "session",
template = "//pkg/ilist:generic_list",
types = {
+ "Element": "*Session",
"Linker": "*Session",
},
)
@@ -54,6 +57,7 @@ go_template_instance(
prefix = "task",
template = "//pkg/ilist:generic_list",
types = {
+ "Element": "*Task",
"Linker": "*Task",
},
)
diff --git a/pkg/sentry/kernel/futex/BUILD b/pkg/sentry/kernel/futex/BUILD
index b44a26974..0ff5b0a95 100644
--- a/pkg/sentry/kernel/futex/BUILD
+++ b/pkg/sentry/kernel/futex/BUILD
@@ -10,6 +10,7 @@ go_template_instance(
prefix = "waiter",
template = "//pkg/ilist:generic_list",
types = {
+ "Element": "*Waiter",
"Linker": "*Waiter",
},
)
diff --git a/pkg/sentry/kernel/semaphore/BUILD b/pkg/sentry/kernel/semaphore/BUILD
index e7fa44e2c..bdcf4ce5c 100644
--- a/pkg/sentry/kernel/semaphore/BUILD
+++ b/pkg/sentry/kernel/semaphore/BUILD
@@ -10,6 +10,7 @@ go_template_instance(
prefix = "waiter",
template = "//pkg/ilist:generic_list",
types = {
+ "Element": "*waiter",
"Linker": "*waiter",
},
)