aboutsummaryrefslogtreecommitdiff
path: root/elymas/lib/sys/linux.ey
diff options
context:
space:
mode:
authorDrahflow <drahflow@gmx.de>2015-06-23 11:04:25 +0200
committerDrahflow <drahflow@gmx.de>2015-06-23 11:04:25 +0200
commitfea39670a874e164c559c11859257dbd162cb31a (patch)
tree3dfcfd16cdd79bf7b879f8ba754a90ac0721eb26 /elymas/lib/sys/linux.ey
parent745d1e3cdf2ea0275f4a955a353e3a3a04cafd69 (diff)
symlink + unlink syscalls
Diffstat (limited to 'elymas/lib/sys/linux.ey')
-rw-r--r--elymas/lib/sys/linux.ey8
1 files changed, 6 insertions, 2 deletions
diff --git a/elymas/lib/sys/linux.ey b/elymas/lib/sys/linux.ey
index b683afd..0c269d1 100644
--- a/elymas/lib/sys/linux.ey
+++ b/elymas/lib/sys/linux.ey
@@ -264,7 +264,7 @@
# 137 ==:STATFS
# 168 ==:SWAPOFF
# 167 ==:SWAPON
- # 88 ==:SYMLINK
+ 88 ==:SYMLINK
# 266 ==:SYMLINKAT
# 162 ==:SYNC
# 277 ==:SYNCFILERANGE
@@ -290,7 +290,7 @@
# 95 ==:UMASK
# 166 ==:UMOUNT2
63 ==:UNAME # TODO: not implemented here
- # 87 ==:UNLINK
+ 87 ==:UNLINK
# 263 ==:UNLINKAT
# 272 ==:UNSHARE
# 134 ==:USELIB
@@ -685,6 +685,10 @@
} /reuseAddr deffd
> /setsockopt defvd
+ { 0 0 0 0 SYMLINK } /symlink defStdSyscall
+
+ { 0 0 0 0 0 UNLINK } /unlink defStdSyscall
+
# 0 -> options
# 1 -> pid to wait for
# 0 <- raw return value