summaryrefslogtreecommitdiff
path: root/src/arch/x86/linux/process.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/x86/linux/process.cc')
-rw-r--r--src/arch/x86/linux/process.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/arch/x86/linux/process.cc b/src/arch/x86/linux/process.cc
index 03a88fc6e..2fe99e0be 100644
--- a/src/arch/x86/linux/process.cc
+++ b/src/arch/x86/linux/process.cc
@@ -273,11 +273,11 @@ static SyscallDesc syscallDescs64[] = {
/* 48 */ SyscallDesc("shutdown", shutdownFunc),
/* 49 */ SyscallDesc("bind", bindFunc),
/* 50 */ SyscallDesc("listen", listenFunc),
- /* 51 */ SyscallDesc("getsockname", unimplementedFunc),
- /* 52 */ SyscallDesc("getpeername", unimplementedFunc),
+ /* 51 */ SyscallDesc("getsockname", getsocknameFunc),
+ /* 52 */ SyscallDesc("getpeername", getpeernameFunc),
/* 53 */ SyscallDesc("socketpair", socketpairFunc<X86Linux64>),
- /* 54 */ SyscallDesc("setsockopt", unimplementedFunc),
- /* 55 */ SyscallDesc("getsockopt", unimplementedFunc),
+ /* 54 */ SyscallDesc("setsockopt", setsockoptFunc),
+ /* 55 */ SyscallDesc("getsockopt", getsockoptFunc),
/* 56 */ SyscallDesc("clone", cloneFunc<X86Linux64>),
/* 57 */ SyscallDesc("fork", unimplementedFunc),
/* 58 */ SyscallDesc("vfork", unimplementedFunc),