Message ID | 156594630847.26323.16834800497865740159.malone@soybean.canonical.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [Bug,1823790] Re: QEMU mishandling of SO_PEERSEC forces systemd into tight loop | expand |
diff --git a/linux-user/syscall.c b/linux-user/syscall.c index 74d56e2ee6..4fa9a09b12 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c @@ -3185,6 +3185,8 @@ static abi_long do_getsockopt(int sockfd, int level, int optname, case TARGET_SO_SNDTIMEO: case TARGET_SO_PEERNAME: goto unimplemented; + case TARGET_SO_PEERSEC: /* added to escape infinite loop */ + goto unimplemented; case TARGET_SO_PEERCRED: { struct ucred cr; socklen_t crlen;