Implement Registry.FindOrCreate.

FindOrCreate implements the behaviour of msgget(2).

Updates #135
This commit is contained in:
Zyad A. Ali
2021-07-13 22:12:02 +02:00
parent 7c488fcfe8
commit 7eae6402c1
2 changed files with 93 additions and 7 deletions
+6 -1
View File
@@ -23,10 +23,15 @@ go_library(
],
visibility = ["//pkg/sentry:internal"],
deps = [
"//pkg/abi/linux",
"//pkg/context",
"//pkg/errors/linuxerr",
"//pkg/log",
"//pkg/sentry/fs",
"//pkg/sentry/kernel/auth",
"//pkg/sentry/kernel/ipc",
"//pkg/sentry/kernel/time",
"//pkg/waiter",
"//pkg/sync",
"//pkg/waiter",
],
)