Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 26 Jun 2012 14:00:17 +0200
From: Szabolcs Nagy <nsz@...t70.net>
To: musl@...ts.openwall.com
Subject: Re: openssh and sendmsg() problem

* orc <orc@...server.ru> [2012-06-26 19:01:46 +0800]:
> strace shows that sendmsg system call returns EINVAL:
> 
> sendmsg(5, {msg_name(0)=NULL, msg_iov(1)=[{"\0", 1}], msg_controllen=24, {cmsg_len=20, cmsg_level=SOL_SOCKET, cmsg_
> type=SCM_RIGHTS, {4, 385875968}}, msg_flags=0}, 0) = -1 EINVAL (Invalid argument)
> 

src/network/sendmsg.c has an ifdef for long>int case

i don't know what it's supposed to do
you may want to change the struct msghdr definition
in arch/*/bits/socket.h
(eg to the one in your /usr/include/bits/socket.h)
and remove the ifdef from sendmsg.c

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.