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

From: Herbert Xu (herbert@gondor.apana.org.au)
Date: Sat Aug 26 2000 - 00:17:04 EST


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@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt


- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Aug 31 2000 - 21:00:17 EST