aboutsummaryrefslogtreecommitdiffstats
path: root/sys/fuchsia
diff options
context:
space:
mode:
authorAnge Albertini <105304039+corkamig@users.noreply.github.com>2022-10-21 22:53:10 +0200
committerGitHub <noreply@github.com>2022-10-21 13:53:10 -0700
commitc0b80a55c9c8cfe75e77c555ed0d4ae7aa373cc2 (patch)
tree0dd32d1cbbfad7e988a47bbeca2dfe62c41d86d7 /sys/fuchsia
parent4bfd3c279e5de1138c3f3a23760890fa81b7f15e (diff)
sys/fuchsia: added exception syscalls definitions (#3449)
* sys/fuchsia: removed obsolete comment * sys/fuchsia: added exception syscalls definitions * sys/fuchsia: disabled exception types * sys/fuchsia: refined exception handle types
Diffstat (limited to 'sys/fuchsia')
-rw-r--r--sys/fuchsia/exception.txt12
-rw-r--r--sys/fuchsia/profile.txt1
2 files changed, 12 insertions, 1 deletions
diff --git a/sys/fuchsia/exception.txt b/sys/fuchsia/exception.txt
new file mode 100644
index 000000000..77d640097
--- /dev/null
+++ b/sys/fuchsia/exception.txt
@@ -0,0 +1,12 @@
+# 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.
+
+# See https://cs.opensource.google/fuchsia/fuchsia/+/main:zircon/vdso/exception.fidl
+
+include <zircon/syscalls.h>
+
+# Disabled because never created by a syscall
+# resource zx_exception[zx_handle]
+
+zx_exception_get_thread(handle zx_handle, out ptr[out, zx_thread])
+zx_exception_get_process(handle zx_handle, out ptr[out, zx_process])
diff --git a/sys/fuchsia/profile.txt b/sys/fuchsia/profile.txt
index f19a859fd..0e417508a 100644
--- a/sys/fuchsia/profile.txt
+++ b/sys/fuchsia/profile.txt
@@ -5,7 +5,6 @@
include <zircon/syscalls.h>
-# Never used as input
resource zx_profile[zx_handle]
zx_profile_info {