summary refs log tree commit diff stats
path: root/linux-user/syscall.c
diff options
context:
space:
mode:
authorLaurent Vivier <laurent@vivier.eu>2020-09-30 02:30:33 +0200
committerLaurent Vivier <laurent@vivier.eu>2020-10-26 11:39:23 +0100
commit0deb6556c35a78bb3384fd43c6a1ee2b47374c38 (patch)
tree2758b02c12045615a0abdde087877fc3ea550516 /linux-user/syscall.c
parent0cb113ad1aa94d09dce97c32eb1347016c18aa64 (diff)
downloadfocaccia-qemu-0deb6556c35a78bb3384fd43c6a1ee2b47374c38.tar.gz
focaccia-qemu-0deb6556c35a78bb3384fd43c6a1ee2b47374c38.zip
linux-user: remove _sysctl
It has been removed from linux since

  61a47c1ad3a4 ("sysctl: Remove the sysctl system call")

It's a good news because it was not really supported by qemu.

Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20200930003033.554124-5-laurent@vivier.eu>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'linux-user/syscall.c')
-rw-r--r--linux-user/syscall.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index cd520ae42e..f0df6aecef 100644
--- a/linux-user/syscall.c
+++ b/linux-user/syscall.c
@@ -10530,12 +10530,6 @@ static abi_long do_syscall1(void *cpu_env, int num, abi_long arg1,
     case TARGET_NR_fdatasync:
         return get_errno(fdatasync(arg1));
 #endif
-#ifdef TARGET_NR__sysctl
-    case TARGET_NR__sysctl:
-        /* We don't implement this, but ENOTDIR is always a safe
-           return value. */
-        return -TARGET_ENOTDIR;
-#endif
     case TARGET_NR_sched_getaffinity:
         {
             unsigned int mask_size;