netdev
[Top] [All Lists]

[PATCH] socket(2) should return EAFNOSUPPORT if no family found

To: netdev@xxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx
Subject: [PATCH] socket(2) should return EAFNOSUPPORT if no family found
From: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Date: Sat, 26 Aug 2000 15:17:04 +1000
Sender: owner-netdev@xxxxxxxxxxx
User-agent: Mutt/1.2i
Here is a trivial patch to make socket(2) return -EAFNOSUPPORT instead of
-EINVAL if the family can't found.  SuS specifies EAFNOSUPPORT for socket(2)
in this situation.
-- 
Debian GNU/Linux 2.2 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

Attachment: p
Description: Text document

<Prev in Thread] Current Thread [Next in Thread>