Skip to contentSkip to conversation

bind() allowed to non-local addresses

DISCUSSION Alan Cox 1 participant 1 message Oct 27, 2000 1 message not in the archive

lore
Share & tools
lore

Alan Cox

author
#1 lore raw
In reply to a message not in the archive
Quoted 2 lines

Does some one have a copy of the posix 1003.1g draft so this can be verified. This is the kind of ammunition I was talking about earlier

1003.1g isnt what matters - SuS is.

Quoted 2 lines

that I would need to convince Sun to change the compatibility test suite. However, if the 1003.1g draft even mentions failure with errno

The compatibility test is broken from a pedantic point of view as your IP address can change dynamically between the query for it and the bind.

In general though, bind() is assumed to do the checks and fail if non local and I agree
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/