Re: [patch 7/8] fdmap v2 - implement sys_socket2

From: Ulrich Drepper
Date: Wed Jun 06 2007 - 19:23:27 EST


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Alan Cox wrote:
> Linking to the correct version of a libary and getting the library
> versioning right is not rocket science and isn't a sane excuse. Its no
> different to the stdio to large fd migration issues with many Unixen and
> they all coped just fine.

This has nothing to do with linking and ABI. The assumptions about
continuous allocation are part of the API. It's required by POSIX and
provided by Unix since the early days. There are entire code bases out
there which depend on this assumption. Linking with code like this,
before or after the new version controlled symbol is introduced, will
break it. Policies or stateful behavior, however yo want to call it, is
just plain wrong for this (and most other things).

- --
â Ulrich Drepper â Red Hat, Inc. â 444 Castro St â Mountain View, CA â
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQFGZ0G92ijCOnn/RHQRAkB9AJ93ol7XV2GiCw+8wgbJ9uMBnHU6dQCgmmAp
9m+WEup3iPkEHH6HIHDa88I=
=Dhto
-----END PGP SIGNATURE-----
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/