Removal of a pre-existing library interface

Xin Li delphij at delphij.net
Thu Dec 12 22:37:22 UTC 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hi,

Recently, OpenBSD have moved from RC4 to ChaCha20 for their
arc4random(3) family of functions and they have later removed a few
interfaces for good reasons.

On FreeBSD, we aim to maintain ABI stability so we can not simply
remove the interface; we can not remove it from -HEAD because they are
established by previous -STABLE branches, or we would have to bump
major number of shared libraries.  After thinking about some other
alternatives, I have created two dummy (well, they also log the event)
compatibility shims for these two interfaces that gets removed from
OpenBSD.

Is this a reasonable approach of handling changes like this?

Cheers,
- -- 
Xin LI <delphij at delphij.net>    https://www.delphij.net/
FreeBSD - The Power to Serve!           Live free or die
-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJSqjqVAAoJEJW2GBstM+nsCT0P/12NSDuM4ID2tZI/LztkzGiS
RKInS+EX1fyofBx1xxrSVdBgulwcA+SQUrKO20iYcuZt+BeNWjc7zQ4GjSDLfvqF
NmFXBTd6nIz+bJWXkxOcE7gTrujWm7bJO6RJnYIDkCIrwUdxMe/x4DaC0GW2+5h7
dg3lByP8JAFwUxC4gABUZbka8lpW+qNNPq8BE0tAkPubN0lpLWtI8+00kTYqlcP4
PmbYLq7fepO4XJS11ibFgFcV+hHLbP88BIzb6eyc4ukf86P+RmZGfZywAJasL+oo
0gs4+l33HpUz9hjYWZFcYityY4Gvqc87iqJmnLDqaSq+ToRyIY9SXMYro6VtGJDg
H7TQfu3jKriOEFq870W+jhHeU/+p5n264aEXEBEVvfNHTdcYHtBfZy1/p1e1+Jzh
266xXxh4Rd0EFxnuU5W3tRK0MLZkvGTwzPHPfhlqR1uwnZgsCHzmeB0OuTtTaAgb
qoiZbEcioukpy1g3kfBOD+QPJqCB3eQiS5g688kiWUi8rXJj6ZW+JW4QxSTnLLVQ
TsrugizeNvctGJi5l3KbZG9c7/v9vQSp8hp6woXf2P38Ru5fOihhWSU0Up6t0MqD
+NWS3njmL3hVaC2vGxjg61WOuqw3VbkiH3dy5X04mU1aTu8UUF3pkSAO9wLHhfhH
fJm3qtcn06PnAgZKVSaD
=dXxi
-----END PGP SIGNATURE-----


More information about the freebsd-arch mailing list