summaryrefslogtreecommitdiffhomepage
path: root/test/syscalls/linux/BUILD
diff options
context:
space:
mode:
authorJamie Liu <jamieliu@google.com>2021-06-23 11:13:45 -0700
committergVisor bot <gvisor-bot@google.com>2021-06-23 11:17:44 -0700
commit6b23d2a08e71ce7d93b1d52e545f792f549225dc (patch)
tree3781356f24237203a2f7554e7b43b2220fd1c23f /test/syscalls/linux/BUILD
parente5fe488b22734e798df760d9646c6b1c5f25c207 (diff)
Fix PR_SET_PTRACER applicability to non-leader threads.
Compare if (!thread_group_leader(tracee)) tracee = rcu_dereference(tracee->group_leader); in security/yama/yama_lsm.c:ptracer_exception_found(). PiperOrigin-RevId: 381074242
Diffstat (limited to 'test/syscalls/linux/BUILD')
-rw-r--r--test/syscalls/linux/BUILD1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/syscalls/linux/BUILD b/test/syscalls/linux/BUILD
index 112390569..c7991cfaa 100644
--- a/test/syscalls/linux/BUILD
+++ b/test/syscalls/linux/BUILD
@@ -1885,6 +1885,7 @@ cc_binary(
linkstatic = 1,
deps = [
"@com_google_absl//absl/flags:flag",
+ "@com_google_absl//absl/strings",
"@com_google_absl//absl/time",
gtest,
"//test/util:capability_util",