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] [day] [month] [year] [list]
Message-ID: <b25312890906302332t10bc4cd0kf465c9e9afa04590@mail.gmail.com>
Date:	Wed, 1 Jul 2009 09:32:40 +0300
From:	Rami Rosen <roszenrami@...il.com>
To:	Rémi Denis-Courmont 
	<remi.denis-courmont@...ia.com>
Cc:	Netdev <netdev@...r.kernel.org>
Subject: Re: Unix socket sendpage

Hello,
  This is just a wild guess: maybe it has to do with that
 sendfile()  is for copying  data between one file descriptor and
another; sendfile() invokes sendpage() of the corresponding protocol.

With AF_UNIX sockets, which are IPC mechanism,  you can pass file
descriptors from one process to another
using control messages (ancillary data).
You can do it with SCM_RIGHTS type control message. (the msg_control
of msg should point to a cmsghdr with SCM_RIGHTS as its cmsg_type)

Just want to reiterate that I am not sure about it.

Regards,
Rami Rosen



2009/6/29 Rémi Denis-Courmont <remi.denis-courmont@...ia.com>:
>
>        Hello,
>
> Am I unaware of some fundamental reasons why AF_UNIX sockets do not support
> sendpage(splice)? or is it just that nobody bothered to write the code?
>
> --
> Rémi Denis-Courmont
> Nokia Devices R&D, Maemo Software, Helsinki
>
> --
> 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
>
--
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