I am proposing adding a new SCM for AF_IUCV that contains the receive
buffer for a 2WAY call.

This means a sendmsg() call could be made into a 2WAY by setting a
CMSG with SCM_IUCV_2WAY and whatever data needed to complete the 2WAY
call.
FWIW, there is already one SCM in use; SCM_IUCV_TRGCLS.

I might end up writing a patch for AF_IUCV unless somebody can
convince me it is a bad idea. At least initially for my own use so I
can validate that the approach is sane.

Regards,

On Wed, Aug 19, 2020 at 3:29 PM Dave Jones <[email protected]> wrote:
>
> Alan Altmark said:
>
> "But imagine what you could do if an AF_INET/AF_INET6 provider could be
> configured to simply acts as a shim layer, redirecting all AF_INET and
> AF_INET6 socket calls to the VM TCPIP machine.  Linux's own TCP/IP stack
> would be effectively inop. That would enable almost any Linux network
> app
> to work on behalf of VM.  The possibilities are tantalizing."
>
> +++1 for that idea.
> DJ
>
> ---
> DAVID JONES | MANAGING DIRECTOR FOR ZSYSTEMS SERVICES | z/VM, Linux, and
> Cloud
> 703.237.7370 (Office) | 281.578.7544 (CELL)
>
> INFORMATION TECHNOLOGY COMPANY
>
> On 08.18.2020 10:44 PM, Alan Altmark wrote:
> > On Tuesday, 08/18/2020 at 01:47 GMT, Ursula Braun
> > <[email protected]>
> > wrote:
> >
> >> Probably not: Either there is a good idea why to include
> > message_send2way into
> >> the standard socket interface AF_IUCV, or there is a new kernel module
> > for
> >> communication with the TCPIP service, built on top of net/iucv/iucv.c
> > similar
> >> to other specific IUCV exploiters like drivers/s390/char/vmlogrdr.c,
> >> drivers/s390/net/netiucv.c, drivers/s390/net/smsgiucv.c,
> > drivers/tty/hvc/...
> >
> > But imagine what you could do if an AF_INET/AF_INET6 provider could be
> > configured to simply acts as a shim layer, redirecting all AF_INET and
> > AF_INET6 socket calls to the VM TCPIP machine.  Linux's own TCP/IP
> > stack
> > would be effectively inop. That would enable almost any Linux network
> > app
> > to work on behalf of VM.  The possibilities are tantalizing.
> >
> > Alan Altmark
> >
> > Senior Managing z/VM and Linux Consultant
> > IBM Systems Lab Services
> > IBM Z Delivery Practice
> > ibm.com/systems/services/labservices
> > office: 607.429.3323
> > mobile; 607.321.7556
> > [email protected]
> > IBM Endicott
> >
> >
> > ----------------------------------------------------------------------
> > For LINUX-390 subscribe / signoff / archive access instructions,
> > send email to [email protected] with the message: INFO LINUX-390
> > or visit
> > http://www2.marist.edu/htbin/wlvindex?LINUX-390
>
> ----------------------------------------------------------------------
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO LINUX-390 or visit
> http://www2.marist.edu/htbin/wlvindex?LINUX-390

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www2.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to