lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 12 Dec 2014 23:20:21 +0100
From:	Florian Westphal <fw@...len.de>
To:	Al Viro <viro@...IV.linux.org.uk>
Cc:	Florian Westphal <fw@...len.de>,
	David Miller <davem@...emloft.net>, kaber@...sh.net,
	netdev@...r.kernel.org
Subject: Re: [WTF?] random test in netlink_sendmsg()

Al Viro <viro@...IV.linux.org.uk> wrote:
> On Fri, Dec 12, 2014 at 10:50:17PM +0100, Florian Westphal wrote:
> 
> > > What do we want sendmsg(fd, &msg, 0) to do when fd is AF_NETLINK socket
> > > that had setsockopt(fd, SOL_NETLINK, NETLINK_TX_RING, ...) successfully done
> > > to it and msg.msg_iovlen is 0?  Userland ABI question
> > 
> > IIRC userland, after filling txring with at least one new netlink
> > message, needs to call this to tell kernel to start processing the
> > messages in the tx ring.
> 
> AFAICS, the suggested way to initiate transmission is sendto(fd, NULL, 0, ...),
> not sendmsg(2).

Indeed, you're right.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ