]> Git Repo - linux.git/commit - net/iucv/af_iucv.c
af_iucv: New error return codes for connect()
authorHendrik Brueckner <[email protected]>
Tue, 6 Jan 2009 02:07:07 +0000 (18:07 -0800)
committerDavid S. Miller <[email protected]>
Tue, 6 Jan 2009 02:07:07 +0000 (18:07 -0800)
commit55cdea9ed9cf2d76993e40ed7a1fc649a14db07c
tree86a4fb463649731d88c6495fbd029f5751e578a2
parent48e4cc777c091b037acaf39036a77ece43fe1ab9
af_iucv: New error return codes for connect()

If the iucv_path_connect() call fails then return an error code that
corresponds to the iucv_path_connect() failure condition; instead of
returning -ECONNREFUSED for any failure.

This helps to improve error handling for user space applications
(e.g.  inform the user that the z/VM guest is not authorized to
connect to other guest virtual machines).

The error return codes are based on those described in connect(2).

Signed-off-by: Hendrik Brueckner <[email protected]>
Signed-off-by: Ursula Braun <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
net/iucv/af_iucv.c
This page took 0.052545 seconds and 4 git commands to generate.