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]
Message-ID: <1329846679.18384.27.camel@edumazet-laptop>
Date:	Tue, 21 Feb 2012 18:51:19 +0100
From:	Eric Dumazet <eric.dumazet@...il.com>
To:	Pavel Emelyanov <xemul@...allels.com>
Cc:	David Miller <davem@...emloft.net>,
	Linux Netdev List <netdev@...r.kernel.org>
Subject: Re: [PATCH 6/6] unix: Support peeking offset for stream sockets

Le mardi 21 février 2012 à 21:32 +0400, Pavel Emelyanov a écrit :
> The same here -- we can protect the sk_peek_off manipulations with
> the unix_sk->readlock mutex.
> 
> The peeking of data from a stream socket is done in the datagram style,
> i.e. even if there's enough room for more data in the user buffer, only
> the head skb's data is copied in there. This feature is preserved when
> peeking data from a given offset -- the data is read till the nearest
> skb's boundary.
> 
> Signed-off-by: Pavel Emelyanov <xemul@...allels.com>
> 
> ---

Acked-by: Eric Dumazet <eric.dumazet@...il.com>



--
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