aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnge Albertini <105304039+corkamig@users.noreply.github.com>2022-08-29 22:10:31 +0200
committerGitHub <noreply@github.com>2022-08-29 13:10:31 -0700
commitd0d9a7a183721aaa29be2baef25ccb812a970580 (patch)
tree554b87b8eb9a0eb07c1567bcd71c732fc9a2f41e
parent88bbb6bc50461da17ccda89a5593db114b3660a6 (diff)
sys/fuchsia: add the restricted syscalls definitions (#3300)
-rw-r--r--sys/fuchsia/restricted7
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/fuchsia/restricted b/sys/fuchsia/restricted
new file mode 100644
index 000000000..958fa1584
--- /dev/null
+++ b/sys/fuchsia/restricted
@@ -0,0 +1,7 @@
+# Copyright 2022 syzkaller project authors. All rights reserved.
+# Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
+
+include <zircon/syscalls.h>
+
+# architecture-dependant
+restricted_read(state ptr[in, array[int8]], state_size len[state])