summaryrefslogtreecommitdiffstats
path: root/libc/arch-arm64/syscalls/___fchmod.S
diff options
context:
space:
mode:
Diffstat (limited to 'libc/arch-arm64/syscalls/___fchmod.S')
-rw-r--r--libc/arch-arm64/syscalls/___fchmod.S15
1 files changed, 15 insertions, 0 deletions
diff --git a/libc/arch-arm64/syscalls/___fchmod.S b/libc/arch-arm64/syscalls/___fchmod.S
new file mode 100644
index 0000000..a143c65
--- /dev/null
+++ b/libc/arch-arm64/syscalls/___fchmod.S
@@ -0,0 +1,15 @@
+/* Generated by gensyscalls.py. Do not edit. */
+
+#include <private/bionic_asm.h>
+
+ENTRY(___fchmod)
+ mov x8, __NR_fchmod
+ svc #0
+
+ cmn x0, #(MAX_ERRNO + 1)
+ cneg x0, x0, hi
+ b.hi __set_errno_internal
+
+ ret
+END(___fchmod)
+.hidden ___fchmod